statiqdev / Statiq.Web

Statiq Web is a flexible static site generator written in .NET.
https://statiq.dev/web
Other
1.64k stars 234 forks source link

Create RSS Reader Module #40

Open dodyg opened 8 years ago

dodyg commented 8 years ago

Read RSS files and produces IDocuments with related meta tags for further processing.

This will allow Wyam to publish blogs based on RSS wire format. Support the outline extension as well (http://scripting.com/essayblog.xml)

daveaglick commented 8 years ago

I like this idea. A lot. It would provide an entirely different kind of content sourcing. I could see using a web service to write content and then pulling it in via this RSS module for further layout templating and the generation of archive pages, etc.

dodyg commented 8 years ago

I am starting working on this. I will put a pull request for #39 this weekend.

  1. Read a list of rss feeds from an OPML file which contains a list of rss feeds using DownloadUrl()
  2. Process the outline using OpmlReader()
  3. Read each output online and download each individual rss feed using DownloadUrl()
  4. Parse each RSS feed using RssReader() module
  5. Combine all the output and render them in a single page

Then we can produce online statically generated 'newspaper' off rss feeds.

daveaglick commented 8 years ago

Great. I can see a lot of potential for the "newspaper" idea. Set some RSS feeds, rig up the site to a CI server with a timer (every night for example), and you have an instant digest.

This scenario might even be worth creating a recipe (#1) so folks could just specify their RSS feeds and get one-command sites spun up.

dodyg commented 8 years ago

This gives me an idea to hookup NQuartz to Wyam.console and define it somewhere. Imagine if one can define a scheduler to run a pipeline by name.