https://github.com/diegotoral/rss-glib
RSS and Atom parser that plays well with GObject
https://github.com/diegotoral/rss-glib
Last synced: about 2 months ago
JSON representation
RSS and Atom parser that plays well with GObject
- Host: GitHub
- URL: https://github.com/diegotoral/rss-glib
- Owner: diegotoral
- License: lgpl-3.0
- Created: 2013-04-17T01:43:22.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2009-02-19T02:09:01.000Z (about 16 years ago)
- Last Synced: 2025-01-17T15:16:42.730Z (4 months ago)
- Language: C
- Homepage: http://dronelabs.com/projects/rss-glib
- Size: 192 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
RSS-GLib is a wrapper around the fantastic libmrss library for parsing
rss, atom, and other syndications. The reason for this was two-fold.
The libmrss, while quite powerful, is a little more complex than needed
for most projects. For this reason RSS-GLib aims to wrap that into a
simpler API. The primary reason, however, is that gobject is so easy
to wrap into various languages.Dependencies:
glib-2.0 (probably 2.15 or higher)
libmrss0Python example:
>>> import rss
>>> parser = rss.Parser()
>>> parser.load_from_file('/tmp/atom.xml')
True
>>> # SEE ALSO: parser.load_from_data("...")
>>> doc = parser.get_document()
>>> for item in doc.get_items(): print item.props.title