Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "atom_feed"

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

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.0.10b61d71c70c530ce8c2603b19615409fa393cc6c1http://packs.ndrix.com/atom_feed/atom_feed-0.0.1.tgz
0.0.26e89bb3daf4042e4b1daf1b18bf96bdeafd5ad645http://packs.ndrix.com/atom_feed/atom_feed-0.0.2.tgz
0.1.05a583d26591b36b2cab277036961982933a945dd5http://packs.ndrix.com/atom_feed/atom_feed-0.1.0.tgz
0.1.1d27e3e5992fd58f3b002f1e06cc612daf21661713http://packs.ndrix.com/atom_feed/atom_feed-0.1.1.tgz
0.2.0b5e0714077f08d213487fa87814a1138cecc89a888http://packs.ndrix.com/atom_feed/atom_feed-0.2.0.tgz

Synopsis

:- 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/' ;
...

Description

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.

Changes in this Version

  • Predicate for entry publication time
  • Predicate for entry update time

Installation

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

author
- Michael Hendricks <michael@ndrix.org>
license
- BSD

Contents of pack "atom_feed"

Pack contains 6 files holding a total of 14.6K bytes.