Page 1 of 1

What determines when an item is archived?

Posted: 22 Aug 2015, 20:41
by Aldursil
I've read that when you remove a feed any starred items in that feed are archived. I've noticed that Published items are also Archived. Once done reading the Published item I have to go into the Archive section and manually remove it. Is this intended? Could we get Published items to not automatically be Archived?

Re: What determines when an item is archived?

Posted: 22 Aug 2015, 20:56
by fox
only marked articles should be archived on unsubscribe:

Code: Select all

1786          db_query("UPDATE ttrss_user_entries SET feed_id = NULL,
1787             orig_feed_id = '$archive_id' WHERE feed_id = '$id' AND
1788                marked = true AND owner_uid = $owner_uid");

Re: What determines when an item is archived?

Posted: 22 Aug 2015, 21:16
by Aldursil
OK. Well I just tried it again to be sure. When I use the 'Share with Tiny Tiny RSS' bookmarket the item is added to the Published feed and also the Archived feed. Maybe the bookmarklet is calling some different code?

Re: What determines when an item is archived?

Posted: 22 Aug 2015, 21:55
by fox
if you use share widget it has nowhere else to go but the archived feed because it doesn't belong anywhere else

it's all in the wiki

Re: What determines when an item is archived?

Posted: 24 Aug 2015, 02:30
by Aldursil
fox wrote:if you use share widget it has nowhere else to go but the archived feed because it doesn't belong anywhere else

it's all in the wiki


Ok. Seems odd to be put in two places but I am glad to know that it is working at intended.

Thanks