- sitemap(sitemapUrl, namespace) ⇒
Returns URLs in sitemap.xml file
- sitemapIndex(sitemapIndexUrl, namespace) ⇒
Returns URLs in sitemap index file
Returns URLs in sitemap.xml file
Kind: global function Returns: Returns urls from an xml sitemap Customfunction:
Param | Type | Description |
---|---|---|
sitemapUrl | "https://www.google.com/gmail/sitemap.xml" |
REQUIRED The url of the sitemap |
namespace | "http://www.sitemaps.org/schemas/sitemap/0.9" |
REQUIRED Look at the source of the xml sitemap, look for the xmlns value |
Returns URLs in sitemap index file
Kind: global function Returns: Returns urls from an xml sitemap Customfunction:
Param | Type | Description |
---|---|---|
sitemapIndexUrl | "https://www.google.com/sitemap.xml" |
REQUIRED The url of the sitemap |
namespace | "http://www.sitemaps.org/schemas/sitemap/0.9" |
REQUIRED Look at the source of the xml sitemap, look for the xmlns value |