FreshRSS / Extensions

A repository containing all the official FreshRSS extensions
GNU Affero General Public License v3.0
322 stars 52 forks source link

[xExtension-ReadingTime] doesn't work unless "Date of publication" is checked #58

Closed scripcat closed 4 years ago

scripcat commented 4 years ago

The time doesn't display at all (to the left of the article title) when "Date of publication" is not checked in the Display settings for the Article icons for the top line.

Alkarex commented 4 years ago

@lapineige

lapineige commented 4 years ago

@Alkarex is there a way for me to check if that option is disabled ?

Alkarex commented 4 years ago

@lapineige You can test if your current article has the date information, e.g.

article.querySelector('.flux_header > .date');
lapineige commented 4 years ago

@scripcat I can't reproduce your error…

What's your configuration for the article header ? Default one, minus the date ?

What version of the extension are your using ? (the one from this official repository ?)

lapineige commented 4 years ago

Did you also disable the arrow icon to link to the original article ?

If I disable both article date and this arrow icon (hence there is nothing in the right of the article title), then it fails.

lapineige commented 4 years ago

I just pushed a fix. Please test it, in my case it solves the issue.