mohammadrezakhalifeh8 / sparserss

Automatically exported from code.google.com/p/sparserss
Other
0 stars 0 forks source link

Age of items #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. Go to the site with the top level domain of .org, fe83 is it's name. Under 
the root directory is a file called rss with a .php suffix. I enter the address 
of this file into sparserss.
2. After a reload no items are shown. 0/0 is no expected.
3. File bug report :)

What is the expected output? What do you see instead?

I would expect to see items present in the feed. The feed validates on w3c. 

What version of the product are you using? On what operating system?

Android 2.2.1, sparserss 0.9 via Android Market.
Please provide any additional information below.

Also I would very much hope for unlimited age of items in the feed. Or, at 
least 3 months keeping of old items. A feed usually only offers some 10-30 
items anyway, so an unlimited age of items wouldn't be bad, would it?

Original issue reported on code.google.com by harald.h...@gmail.com on 23 Jun 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Thanks for the report.

Steps to solve this problem: 
1. Delete the feed
2. Go to settings and increase the keep-time to 1 month
3. Re-add the feed

Unlimited age would lead to a large amount of data since the program does not 
delete items that are not any more in the feeds online version.

I understand 'news' as something that is new, and this is not true for 
information that is 3 months old.

Anyway, I will add an option to add a custom keep-time such that you can enter 
what ever you want.

Original comment by handschuh.stefan on 23 Jun 2011 at 3:35

GoogleCodeExporter commented 9 years ago
Thanks, deleting the feed and adding it in again got the latest news-item 
visible. 

How accurate does the program (or the underlying API's) calculate one month? 
The second newest item in that feed is from the 26:th of May, and now is 23:th 
of June. Just curious.

The way the symbian S60v5 newsreader (N97) worked, was that it just showed the 
items present in the feed "right now". It kept and ID, so it was able to know 
if I'd read or not. This is the behaviour I was expecting as a newbie 
android-convert.

Many thanks for your help, and for this program. It's appreciated.

Original comment by harald.h...@gmail.com on 23 Jun 2011 at 3:50

GoogleCodeExporter commented 9 years ago
There might be a bug somewhere though. If I add a feed with an item older than 
the current max-setting in preferences and afterwards change the max-life to 
something larger I would expect next reload to show older stuff.

Original comment by harald.h...@gmail.com on 23 Jun 2011 at 3:58

GoogleCodeExporter commented 9 years ago
This behavior is intentionally. If an item is found that is already in the 
database or older than the last-update-time, the parsing of the feed will be 
stopped in order to save traffic and battery life - I will not change that.

I will look into the thing with the second item - there seems to be a bug in 
the date-calculation since exactly 30 days are taken.

Original comment by handschuh.stefan on 23 Jun 2011 at 4:07

GoogleCodeExporter commented 9 years ago
OK, an option of deleting the database would be fine so one could /really/ 
reload all feeds once again.

Original comment by harald.h...@gmail.com on 23 Jun 2011 at 4:20

GoogleCodeExporter commented 9 years ago
Concerning the date issue - the second item in the feed, that you nicely 
described, is from the 26th of April, so over one month old.

Adding more and more options is easy but would not fit to the definition 
"sparse".

Original comment by handschuh.stefan on 23 Jun 2011 at 4:24

GoogleCodeExporter commented 9 years ago
Sorry for the line-noise.

Original comment by harald.h...@gmail.com on 23 Jun 2011 at 4:29

GoogleCodeExporter commented 9 years ago
Don't worry, I am always happy about feedback and suggestions.

Original comment by handschuh.stefan on 23 Jun 2011 at 4:33

GoogleCodeExporter commented 9 years ago
In revision 174, the option to never delete the feed content has been added.

Original comment by handschuh.stefan on 17 Aug 2011 at 10:23