Some feeds aren't working. ... What could be the likely reason?
1. https://www.hindustantimes.com/rss/opinion/rssfeed.xml
- I have opened the url with the chrome browser, I got a xml feed.
- I have opened the url with the FeedMoe, I got a HTTP 403 Forbidden error from the web server.
You can see the error, right click the Rainmeter icon at the bottm-right of the desktop > About > Log tab FeedReader.dll: Bang before failure (https://www.hindustantimes.com/rss/opinion/rssfeed.xml) - ... (403) ...
HTTP 403 Forbidden | https://developer.mozilla.org/docs/Web/HTTP/Status/403
Edited: I don't investigate yet, what cause this error. (user-Agent? or something else?)
We can't get HindustanTimes' feeds with FeedMoe skin directly. Tech reasons:
- hindustantimes.com is using a Akamai Technologies services.
- In this case, Akamai's server requires client(web brower etc.)'s HTTP request header Accept or User-Agent.
- FeedMoe skin is reading a RSS2.0 feed by plugin FeedReader.dll.
- There aren't any way to modify HTTP request headers in the plugin FeedReader.dll.
HTTP request header: by FeedReader.dll (2.3.0.0) **There is not Accept and User-Agent header.**
> GET /rss/opinion/rssfeed.xml HTTP/1.1
> Host: www.hindustantimes.com
(1) HTTP request with Accept: */* header and SUCCESSED.
command prompt: curl.exe -A "" -H "Accept: */*" -v https://www.hindustantimes.com/rss/opinion/rssfeed.xml
HTTP/1.1 403 Forbidden means...
Akamai server says: I don't like your behavior, Access Denied.
2. http://static.cricinfo.com/rss/livescores.xml
- It works in my environment.
// Windows 10 pro 1909, Rainmeter 4.4.0.3398 beta (64-bit), FeedMoe_20200802, FeedReader.dll (2.3.0.0)
Please try again.
Thanks a lot, nek. Cricinfo feed works for me as well now. I was able to make Hindustan Times feed work with FeedMoe too, with https://rss.app/. It's a decent workaround.
Also, I had set MAX_ITEMS to 20, yet it was only fetching 15 items. Apparently it is a limitation with Youtube. xml for youtube playlists shows only 14-15 items at once.
It seems that nitter.net service restrict some connections, and there are alternative servers that we can use.
> Public Nitter Instances | https://github.com/zedeus/nitter/wiki/Instances
I picked up some from that list (ssllabs.com Rating:A+, those feed returns https link addresses.)