A pure Julia library to handle RSS feeds. The library is currently under development, and the scope is not yet fully decided. For now only RSS 2.0 are handled, but Atom feeds may also be considered. Writing is not yet supported.
The public API of RSSFeeds.jl only consist in overloading Base.parse for now.
using RSSFeeds
# Download a quality RSS feed:
rss_raw = download("https://bouletcorp.com/feed/rss.xml") |> read
# Parse it!
rss = parse(RSSFeeds.RSS, rss_raw)You can iterate over the feed's items with a simple loop:
for item in rss
println(item.title)
endExtensions are left to you for parsing, but their access is facilitated. For example if your channel has a <atom:link> tag, you can access it as rss.channel.atom.link, which is an XML.Node element. See XML.jl documentation for reference.