tontof / kriss_feed

A simple and smart (or stupid) feed reader
282 stars 54 forks source link

bookmark next item #277

Open tolima opened 11 years ago

tolima commented 11 years ago

Just an idea : it could be cool to have a bookmark who just open the next (last ?) item and mark it as read without to go in krissfeed. Like there was in google reader. Is it difficult to do ? Or may be it's a thing for a plugin since we can make some.

Juste une idée : ça pourrait être sympa d'avoir un marque-page qui ouvre le prochain (ou dernier ?) élément et qui le marque comme lu sans passer par krissfeed. Comme il y avait dans google reader. Est-ce que c'est difficile a faire ? Ou peut-être que ça peut faire l'objet d'un plugin puisque maintenant on peut en faire.

tontof commented 11 years ago

I dit not know that there exists something like this for google reader. Do you know how it was working ? I guess it would be possible using an API (which I plan to do using plugins).

tolima commented 11 years ago

No I don't know how it was working. I think it was a javascript bookmark like the one you use to add a new feed. And it's go to a script who find the last item, mark it as read and redirect to the correct url. But may be it's better to use iframe with a very small interface in absolute position ; to keep the shortcuts (or other) functional. I'm not sure to understand what you mean by "using an API". An external one or some class to interact with KF and built plugins ?

I would write it if I could but I still try to understand how KF work. beginner :p

tontof commented 11 years ago

I was thinking of API because it lets other programs to mark as read items for example. The problem that automatically mark as read and redirect is that it's bad for security reason without. Do you have a link to the google reader bookmarklet you've referred to ?

tolima commented 11 years ago

ok I understand for the api. Is it bad if the redirection script work only if you are logged ?

fortunately, I still have some links with the label "à suivre" to google reader in my history : (I hope it can help)

http://www.google.com/reader/about/#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.fr/reader/view/?hl=fr&tab=wy#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://feeds.feedburner.com/colossal?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://rss.slashdot.org/Slashdot/slashdot?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre https://www.google.com/reader/view/?hl=fr&tab=mq#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://www.bassedef.com/blog/feed/?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://www.laquadrature.net/rss.xml?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/?hl=fr&tab=mq#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://radiofrance-podcast.net/podcast09/rss_12443.xml?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://pochep.over-blog.com/rss-articles.xml?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://copiercoller.tumblr.com/rss?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://blog.le-zeste.com/feed/?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/?hl=fr&tab=my#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://www.franceculture.fr/emission/4455851/rss?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre https://accounts.google.com/ServiceLogin?service=reader&passive=1209600&continue=http://www.google.com/reader/view/?hl%3Dfr%26tab%3Dmy&followup=http://www.google.com/reader/view/?hl%3Dfr%26tab%3Dmy&hl=fr&authuser=0#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre https://www.google.com/accounts/ServiceLogin?service=reader&passive=1209600&continue=http://www.google.com/reader/view/?hl%3Dfr%26tab%3Dmy&followup=http://www.google.com/reader/view/?hl%3Dfr%26tab%3Dmy&hl=fr&authuser=0#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://www.instructables.com/rss.xml?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.fr/reader/view/#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://www.ventredudiplodocus.fr/liens/index.php%3Fdo%3Drss?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://feeds.feedburner.com/d0od?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://feeds.wired.com/wired/index?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/?hl=fr&tab=Xy#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://www.candidatscitoyens.org/nadasi2012/feed/?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://www.lesinrocks.com/cinema/actualite-series/feed/?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://feeds.feedburner.com/hardware/fr/articles?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://feeds.feedburner.com/refletsinfo?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/feed/http://dainfagerholm.blogspot.com/feeds/posts/default?source=ignitionfork#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre http://www.google.com/reader/view/?hl=fr#stream/user%2F15504362514084770918%2Flabel%2Fa%20suivre

tontof commented 11 years ago

Arf those lines are not very helpful as it says : Thank you for stopping by. Google Reader has been discontinued

The problem is not about redirecting. It's about marking as read without a validation. When you use the bookmarklet to add a feed it asks you to validate. This step is important because if there is no validation, that means that someone can force you to add some links without you know when clicking on a bad link for example. Using a specific key can protect but that means that this key should be private and using it inside url is not very great. It's what the cron uses so, it's possible but people should be aware that they must keep this key secret.

tolima commented 11 years ago

ok I understand ! May be try that if you want other inofrmation : https://www.google.fr/search?hl=fr&q=google%20reader%20next%20%20bookmarklet

I think it's enough to generate a key in the javascript bookmarklet and may be better with a warning. It's look like the google reader "next" bookmarklet use that kind of trick.

tontof commented 11 years ago

I'll keep in mind for now, I will see later but the idea is interesting

tolima commented 11 years ago

ok, sure it's not urgent !