cobalt.rs
cobalt.rs copied to clipboard
Support all fields from the RSS spec
The RSS spec defines a lot of optional fields that we do not support right now. We should accept more arguments through both the config file (for page-wide fields) and in the article front-matter (for article fields).
See http://cyber.law.harvard.edu/rss/rss.html
@johannhof I did some looking into this. I believe that we should restructure the config file to support most of the optional fields but have them be all under an rss
attribute. Example:
rss:
path: rss.xml
name: My blog!
description: Blog description
link: http://example.com
language: en-US
generator: cobalt
Then allow them to define other optional ones. This would allow users to add other items in the config and not have it clutter. So I think we should move this issue to the next release and decide on a better config format. What do you think?
@LucioFranco having it under rss
sounds like a good idea. I'm not particularly attached to releases, we can also go for 0.3...
See https://github.com/cobalt-org/cobalt.rs/issues/309 for more discussion on what the config format for RSS/jsonfeed should be.