Google news RSS feed "+when:7d" doesn't work

1.3k views Asked by At

I referred to the other post in stackoverflow in an attempt to set up a RSS feed for Google news for my website. URL format for Google News RSS feed

Here's an example link: https://news.google.com/rss/search?q=NERU+GmbH+&+Co.+KG+when:7d&hl=de&gl=DE&ceid=DE:de

If you put the link into browser, you will see result with pub date back in 2022, despite the "+when:7d" parameter in the URL

I cannot find any documentation on this as well. Any thoughts?

enter image description here

1

There are 1 answers

2
Marco Aurelio Fernandez Reyes On BEST ANSWER

Probably this is because there is no results for the given search terms at the given time range.

If you enter to this link - which is the non-rss version of your link:

https://news.google.com/search?q=NERU%20GmbH%20when%3A7d&hl=de&gl=DE&ceid=DE%3Ade

You wont see any results.

Consider also that Google News RSS "if I recall correctly" is deprecated, so, its URL parameters might not work as expected.