rubyworks / smeagol

Read-Only Gollum Server
http://rubyworks.github.com/smeagol
Other
92 stars 5 forks source link

RSS Enabled #7

Open benbjohnson opened 14 years ago

benbjohnson commented 14 years ago

Add an RSS feed based on updates to the Git repository. Group updates by day.

dehubbed commented 13 years ago

gitweb already does this, is it really worth duplicating the effort? maybe merge them instead. (yes I know gitweb is pearl but it's a start.)

in the interim, I wouldn't mind serving the same git repo using gitweb and smeagol at the same time using different servers/ports/urls. the smeagol view for the raw content, markdown nicely rendered to html, the gitweb view for all the meta such as commits.

benbjohnson commented 13 years ago

Gitweb may have the functionality already but I don't know how we could merge it into Smeagol. I don't think most people want to host Gitweb and Smeagol together.

The aim of Smeagol is to have a simple, clean interface. Batching commits into a single RSS item would be more usable than the per-commit RSS items that are shown in Gitweb or the GitHub feed. Also, I would like to allow people to sign up for e-mail notification using a similar process.

trans commented 12 years ago

I'm using Smeagol for blogging. I edit my posts on the Gollum wiki then use Smeagol to create a customized site. Blog posts differ from other pages by using the date at the front of the page name, e.g. 2012 12 25 Merry Christmas. So the RSS feed then becomes a list of these kinds of pages.

I have implemented this for the static generator, but not yet the server.

I don't see much need for a git commit based RSS feed, but corrent me if I am wrong. And patches are of course welcome.

trans commented 12 years ago

Version 0.6.0 will have a post-based RSS feed. If someone needs an complete change feed that includes all pages, pull requests are welcome.

It might be possible to write a custom template to do this, btw. No pull request required.