IIIT-Delhi / byld-website

Static Website for IIIT-Delhi's Software Dev Club Byld
https://iiit-delhi.github.io/byld-website/
8 stars 29 forks source link

Feed aggregator functionality for the blog #34

Closed peey closed 6 years ago

peey commented 6 years ago

Would possibly need custom flask or frontend-js logic that when provided with a list of feed URLs, reads all of them, arranges them in chronological order (for this to work, either the feed must specify the datetime properly, most feeds do this), and displays the blog post summaries on /blog (paginated for flask, infinite scroll for js)

If we need to keep history, then we'd have to use a backend, since feeds contain only the latest 10-30 posts.

Since this isn't a core functionality, we could just do it in user's browser after they load the blog page. It could take upto 2-10 additional seconds to load though.

peey commented 6 years ago

Some tools:

virresh commented 6 years ago

Also just another idea, maybe we ask people to submit their feeds on a PR, which would be responsible for converting the latest post from that feed into a blog post summary using a feed parser ( a one time action ), and then place the converted post somewhere usable, maybe we could keep stuff still static in this way

(And possibly incorporate this in our build process so travis takes care of the conversion and pushes the changes right onto the PR itself, and jekyll renders the post, and we still retain deploy previews from netlify since PR would be re-built upon push from travis)

virresh commented 6 years ago

https://github.com/feedreader/jekyll-planet

^^ This looks very very very promising to me