Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "isomorphic-packages/sitemap-crawler/src/findByKnownFilenames"

Index

Variables

Const KNOWN_FILENAMES

KNOWN_FILENAMES: string[] = ["sitemap.xml","sitemap_index.xml","sitemap-index.xml","sitemap/","post-sitemap.xml","sitemap/sitemap.xml","sitemap/index.xml","sitemapindex.xml","sitemap.php","sitemap.txt","index.php/sitemap_index.xml","index.php?xml_sitemap=params=","glossar/sitemap.xml"]

Functions

findByKnownFilenames

  • findByKnownFilenames(root: string, tryKnownFilenames?: string[]): Promise<string | false>
  • Look known sitemap URLs when it is not yet filled in the robots.txt.

    see

    https://pagedart.com/blog/how-to-find-the-sitemap-of-a-website/#manually

    Parameters

    • root: string
    • Default value tryKnownFilenames: string[] = KNOWN_FILENAMES

    Returns Promise<string | false>

Generated using TypeDoc