Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full support for sitemap extensions and namespaces #25

Closed
sebastian-nagel opened this issue Mar 21, 2018 · 0 comments
Closed

Full support for sitemap extensions and namespaces #25

sebastian-nagel opened this issue Mar 21, 2018 · 0 comments

Comments

@sebastian-nagel
Copy link
Collaborator

From sitemaps only news sitemaps are accepted as seed source. However,

  • information from extensions is not used (cf. news:publication_date Extract publishing date #18)
  • any sitemap which declares the news namespace is considered to be a news sitemap. But there are also image sitemaps which declare the news namespace:
    • the image URLs should not be extracted as news seeds
    • ev. also items not marked as news should be skipped
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<urlset xmlns="http://www.sitemadps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
  <url>
    <loc>...</loc>
    <lastmod>2018-03-18T21:44:50-07:00</lastmod>
    <image:image>
      <image:loc>...</image:loc>
      <image:title>...

Cf. crawler-commons/crawler-commons#162, crawler-commons/crawler-commons#174.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant