rust-syndication / rss

Library for serializing the RSS web content syndication format
https://crates.io/crates/rss
Apache License 2.0
427 stars 52 forks source link

Add support for Atom Extension #30

Closed chrisppy closed 4 years ago

chrisppy commented 8 years ago

The specification is located here

frewsxcv commented 8 years ago

Might be good to make this a separate repository and separate crate. If someone is interested in this, I can create a new repository and add you to the org.

frewsxcv commented 8 years ago

It also might be the case that a similar crate already exists.

chrisppy commented 8 years ago

I was thinking more along the lines of extending the rss schema, similar to how it is done for itunes, dublin, etc. An example file of this is located here

frewsxcv commented 8 years ago

Is the format used in that file spec'd anywhere? I think the spec linked in the original description is just for the Atom format?

chrisppy commented 8 years ago

I have not been able to find the spec when it is used with rss, but the common use is to add the atom feed elements to the rss channel, nothing is added to the rss item. I will continue to look for the spec.

kitlith commented 4 years ago

so, when I was working on ao3rss_rs, I was using this site as a reference (https://www.rssboard.org/rss-profile#namespace-elements-atom ) which implies that you include the atom schema as an xml namespace and then you can use whatever elements you want from atom -- and atom:link (with rel=self) is one of the more common use cases for this.