Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
Title: | Parse Atom and RSS feeds |
---|---|
Rating: | Not rated. Create the first rating! |
Latest version: | 0.2.0 |
SHA1 sum: | b5e0714077f08d213487fa87814a1138cecc89a8 |
Author: | Michael Hendricks <michael@ndrix.org> |
Maintainer: | Michael Hendricks <michael@ndrix.org> |
Packager: | Michael Hendricks <michael@ndrix.org> |
Home page: | http://packs.ndrix.com/atom_feed/index.html |
Download URL: | http://packs.ndrix.com/atom_feed/atom_feed-0.2.0.tgz |
Requires: | delay |
No reviews. Create the first review!.
Version | SHA1 | #Downloads | URL |
---|---|---|---|
0.2.0 | b5e0714077f08d213487fa87814a1138cecc89a8 | 89 | http://packs.ndrix.com/atom_feed/atom_feed-0.2.0.tgz |
0.1.1 | d27e3e5992fd58f3b002f1e06cc612daf2166171 | 3 | http://packs.ndrix.com/atom_feed/atom_feed-0.1.1.tgz |
0.1.0 | 5a583d26591b36b2cab277036961982933a945dd | 5 | http://packs.ndrix.com/atom_feed/atom_feed-0.1.0.tgz |
0.0.2 | 6e89bb3daf4042e4b1daf1b18bf96bdeafd5ad64 | 5 | http://packs.ndrix.com/atom_feed/atom_feed-0.0.2.tgz |
0.0.1 | 0b61d71c70c530ce8c2603b19615409fa393cc6c | 1 | http://packs.ndrix.com/atom_feed/atom_feed-0.0.1.tgz |
:- 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
Pack contains 6 files holding a total of 14.6K bytes.