aureliendavid / rsspreview

WebExtension to preview RSS feeds in the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can RSSPreview display <lastBuildDate>?

johnhawkinson opened this issue · comments

Hi!

I really appreciate RSSPreview and it's done a stellar job replicating the functionality that Firefox removed. However, I frequently find myself wanting to check the date of an RSS feed (to understand how up-to-date it is for infrequently-generated feeds) , and I have to Tools > Web Developer > Page Source to get there, wait for it to (re-download?) and render, which is cumbersome, all to inspect the one XML tag at the top:

<lastBuildDate>Wed, 15 Jul 2020 15:00:01 GMT</lastBuildDate>

Is it feasible for RSSPreview to display this information, just as it displays the <title> and <description> tags?

An example such RSS feed: https://ecf.nysd.uscourts.gov/cgi-bin/rss_outside.pl

I'm happy to work on a pull request if it would be accepted.

Thanks!

Hi,

Thanks for the suggestion.

If you can test without me publishing a new version you can try the latest commit and report back if it's ok with you.

@aureliendavid I can confirm that this is working on a bunch of different RSS feeds. What do you think about also adding a Last updated / built / published at bit of text before the date? As is, it's just a date without an explanation, and users won't know what it represents without reading the source.

Wow, you are amazingly fast, thank you!
I agree with @jonafato that it would be a bit better if it said "Last build date:" or similar in front.

I would have initially put the lastBuildDate after the Description field, but I think your choice to put it beforehand is a better one!

yeah I thought about adding a label before the date but I wanted to avoid the whole i18n issue so I took the lazy road

I guess I'll have to do it at some point since the options are still english-only

I'll push a version with the label on AMO soon and think about i18n for later

this is now included in v3.14

you can close the issue if it's all ok

thanks

👍 Looks great.

Screen Shot 2020-07-15 at 16 19 02