yanus171 / Handy-News-Reader

Handy News Reader is a light and modern Android feed reader, based on Flym News Reader
Other
194 stars 22 forks source link

Very old articles appear on the feed as just published #921

Closed hak814 closed 11 months ago

hak814 commented 12 months ago

v0.19.9:

I import an opml file with the following contents:

<?xml version='1.0' encoding='utf-8'?>
<opml version='1.1'>
<head>
<title>Handy Reading export</title>
<dateCreated>1681484699110</dateCreated>
</head>
<body>
        <outline title='Bruzz - mobiliteit' type='rss' xmlUrl='https://www.bruzz.be/topic/mobiliteit/rss.xml'>
    </outline>
        <outline title='Bruzz - milieu' type='rss' xmlUrl='https://www.bruzz.be/topic/milieu/rss.xml'>
    </outline>
</body>
</opml>

Then I go to the 'Unread' folder and press the 'Refresh' button. The first time it seems to load correctly the recent articles, but with repeated presses, old articles appear (after up to 3 presses) with an incorrect recent date, again and again.

yanus171 commented 11 months ago

try https://github.com/yanus171/Handy-News-Reader/issues/683#issuecomment-1826837912

hak814 commented 11 months ago

Still the same issue in v0.19.10. ☹️

yanus171 commented 11 months ago

Try to reset the feed

hak814 commented 11 months ago

The issue stays the same. The behaviour within the individual feeds is (and always was) as expected, but when pushing the refresh button within the general 'Unread' category, old articles still keep appearing.

Not every time, but just now I pushed the refresh button repeatedly and 27 out of 40 times old articles appeared.

AI-IMED commented 11 months ago

Yes, it happens to me like the case also sometimes

yanus171 commented 11 months ago

For what feeds?

AI-IMED commented 11 months ago

Mostly in web link feeds and atom feeds.The problem occurs sometimes and at unknown times

yanus171 commented 11 months ago

I cant universally determine the article date in web page link feeds.

yanus171 commented 11 months ago

What atom feeds?

AI-IMED commented 11 months ago

What atom feeds?

Feeds similar to this: https://github.com/yanus171/Handy-News-Reader/releases.atom Sometimes I get notifications from them for old articles as being recent

GFNIAE commented 11 months ago

Hello, I guess I met a similar issue, with following stream : https://ploum.net/atom.xml Articles are not with the right dates, and not in the right order When I reset the feed, all the articles are given with 00:00 date, which feel like the dates are not read. This stream works well with read you and feeder.

AI-IMED commented 11 months ago

I cant universally determine the article date in web page link feeds

How about using libraries that generate RSS from websites?:

https://github.com/wezm/rsspls

https://github.com/damoeb/rss-proxy

https://github.com/aphedges/rss-shim

There are many similar libraries on Github.

yanus171 commented 11 months ago

@GFNIAE these 00 times are in the RSS (date parsed OK), so this is correct

yanus171 commented 11 months ago

I need a screenshots when old articles appear

hak814 commented 11 months ago

Screenshot_20231205-083317 Screenshot_20231205-083430 Screenshot_20231205-083442

yanus171 commented 11 months ago

And what does it mean?

hak814 commented 11 months ago

Bruzz is a news website for Dutch speaking people in Brussels. These are all news articles about mobility (mobiliteit) and the environment (milieu).

GFNIAE commented 11 months ago

Hello @yanus171 , Here are 2 screenshots of the same stream (ploum.net/atom.xml) with handy reader and feeder. We can see that the times on handy reader (upper picture) are not the right ones. Screenshot_20231205-223132_Handy Reading Screenshot_20231205-223151_Feeder 0073900868.pdf

yanus171 commented 11 months ago

@GFNIAE what is your handy reader app version?

yanus171 commented 11 months ago

@hak814 how does it refer to current issue?

hak814 commented 11 months ago

See original post: the issue was about that website. You asked for screenshots.

GFNIAE commented 11 months ago

Hello @yanus171 , My app version is 0.19.7, on Android 11 and Samsung A20e

yanus171 commented 11 months ago

@GFNIAE install the latest beta https://github.com/yanus171/Handy-News-Reader/issues/683#issuecomment-1826837912 v0.19.12

yanus171 commented 11 months ago

@hak814 are these articles on screenshot old?

hak814 commented 11 months ago

Yes. These are the dates I found in the feeds. The articles don't seem to appear in a particular order (e.g. the oldest first).

First screenshot:

Thu, 09 Nov 2023 16:53:28 +0100 _(mobility feed)_ Second screenshot, these were the next articles to appear after refreshing a few times: Mon, 27 Nov 2023 12:15:20 +0100 _(mobility feed)_ Tue, 14 Nov 2023 07:30:00 +0100 _(environment feed)_ Third screenshot, these were the next articles to appear after refreshing another few times: Mon, 30 Oct 2023 08:15:43 +0100 _(environment feed)_ Tue, 14 Nov 2023 16:25:05 +0100 _(mobility feed)_ Mon, 06 Nov 2023 19:43:56 +0100 _(mobility feed)_
yanus171 commented 11 months ago

@hak814 remind me feed url please

hak814 commented 11 months ago

https://www.bruzz.be/topic/mobiliteit/rss.xml https://www.bruzz.be/topic/milieu/rss.xml

Both feeds need to be present. If only one of them is present, the behaviour in the 'unread' folder is as expected.

GFNIAE commented 11 months ago

Hello @yanus171 ,

I have installed 0.19.12 on your link and it seem to work well for the same rss stream : the dates are the same as on feeder… and as the genuine website. You rock !

Thanks for your work on handy reader. I use the app everyday. The «read later» share link for every article we meet on the web is useful.

hak814 commented 11 months ago

I'm glad to hear your issue has been solved, GFNIAE. I've also tried version 0.19.12, but my issue is not solved yet.

yanus171 commented 11 months ago

Try https://github.com/yanus171/Handy-News-Reader/issues/683#issuecomment-1848991519

hak814 commented 11 months ago

The new version seems to solve the issue. Thanks, yanus171!

yanus171 commented 11 months ago

@hak814, thank you for this issue too. It was very interesting error.