ciderpunx / twitrssme

TwitRSS.me: Tool to make Twittter timelines and searches into RSS feeds
https://twitrss.me
GNU General Public License v2.0
359 stars 59 forks source link

Pinned Post Always on Top? #51

Open donatj opened 6 years ago

donatj commented 6 years ago

It would appear the authors pinned post is always on top of the feed.

Could we have an option to not include this post outside the normal feed of posts? I'd rather have a feed of posts as they happened

see: https://twitrss.me/twitter_user_to_rss/?user=donatj - my post from Sat, 10 Feb 2018 23:32:46 +0000 is on top despite being quite old.

bmomjian commented 5 years ago

Agreed, I would like this too. I don't see anything in the RSS that would indicate the post is pinned --- that would be another option. Adding to the 'p class' with a pin indication would make sense.

donatj commented 5 years ago

I'd think you could check the pubDate of the first and second post, and if they're out of order the first one is pinned?

bmomjian commented 5 years ago

Great idea, and it worked. Thanks.

micressor commented 4 years ago

@bmomjian Would it be possible for you to provide a diff until it is in the master branch?

bmomjian commented 4 years ago

I don't have a patch --- I ended up fixing it in my application. I started at the first tweet and advanced as long as the next tweet's pubdate was later than the current one. I assumed all of those were pinned. This would not work if multiple entries were pinned, and a newer entry was pinned before a later entry, but I don't have that case with the feed I am monitoring.