lionleaf / dwitter

Social network for short js demos
https://www.dwitter.net
Apache License 2.0
771 stars 67 forks source link

Atom/RSS feed #104

Open rektide opened 7 years ago

rektide commented 7 years ago

Heyya. Lovely site. It'd be great to get an Atom or RSS feed of these. I'm not great at remembering to visit individual sites, but if there was a feed I know I could keep fresh with the slick demos on dwitter.

lionleaf commented 7 years ago

An RSS feed is a good idea. Currently I'm personally using followthatpage.com, pointing it to dwitter.net/new . Used to be a few dweets a week so it was a great way to stay up to date

On Wed, Feb 22, 2017, 15:18 rektide notifications@github.com wrote:

Heyya. Lovely site. It'd be great to get an Atom or RSS feed of these. I'm not great at remembering to visit individual sites, but if there was a feed I know I could keep fresh with the slick demos on dwitter.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lionleaf/dwitter/issues/104, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlSbW3C8H1vQd3qxeffvBYxOywn13avks5rfFGogaJpZM4MIxka .

karllhughes commented 5 years ago

I created PR #440 to demonstrate how an RSS feed could be added.

My biggest question is, what should the RSS feed attributes be?

I set title to "'Dweet ID #' + item.id + ' by ' + item.author.username" and the description to the code from the Dweet.

What do y'all think?

lionleaf commented 5 years ago

Thanks for the proof of concept! It looks reasonable and I'd be happy to work with you to get it fully functioning and integrated.

I would imagine the actual code is hard to make sense of in an rss fees, so including the first comment/title might make more sense. Similar to how the page title is set on direct links to dweets. ( maybe append code afterwards )

In the same vein changing the title to put the username first since that is more interesting than the ID. Something like "u/lionleaf posted new dweet d/1337 "

Another question to think about is whether we want a different feed than /new for people who are interested in dwitter but not obsessed, maybe a weekly or daily top dweet or something like that?

What do you think?

PS: I'm not an avid RSS user, so I'd be interested in understanding who would like this feature and what you guys think about how it should work.