Did you know ... | Search Documentation: |
Pack atom_feed -- README.md |
:- use_module(library(atom_feed)). ?- new_feed(file('xkcd.xml'), Feed), entry(Feed, Entry), link(Entry, Link), rel(Link, alternate), href(Link, Url). Url = 'http://xkcd.com/1286/' ; Url = 'http://xkcd.com/1285/' ; Url = 'http://xkcd.com/1284/' ; ...
Parse and query Atom Syndication Feeds and RSS feeds. This pack doesn't support every aspect of the Atom or RSS specs, but it does support many widely used aspects. It's intended as a relatively low level library on which more complex feed processing can be implemented.
Using SWI-Prolog 6.3 or later:
?- pack_install(atom_feed).
This module uses semantic versioning.
Source code available and pull requests accepted at http://github.com/mndrix/atom_feed