Support of Google's news sitemaps #60
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/feed2fedi#60
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Google uses a special XML-Sitemap to index news articles to its news search engine.
Those structure doesn't work with feed2fedi. I've tested it with the news feed of the soccer club FC Bayern München.
Could you please add this syntax to work with your tool?
Feed2Fedi is using feedparser internally to read rss and atom feeds. I'll have to try if feedparser is able to parse the feed you shared.
That sitemap for FC Bayern Munchen produces an http error 403 when I try and load it with httpx. While that site does that I can't really go any further unless you have some other example sitemaps that load without any problem with httpx.
It's actually a widely used sitemap almost every news magazine uses so that Google News can index its articles. So please try it with this or this or this sitemap.
Thanks for the additional links.
I had a quick try and on first look I don't think feedparser, which I use, supports news sitemaps.
For reference. I have asked the mainter of feedparser if there are any plans on supporting it in this issue #535
Let's give it a couple of days to see if there is a response.
Thanks a lot!