SyndicationDomination 0.0
An RSS/Atom parser, because there's nothing else out there.
|
An RSS/Atom parser, because there's nothing else out there.
WARNING: this is work in progress, not suitable for use at this point.
Option | Type | Description | Default |
---|---|---|---|
profile | string, can either be release or debug | release disables assertions, debug enables debug symbols | release |
python_bindings | bool | build the python bindings | true |
to_json_binary | bool | build the binary defined by src/main.cpp , see Usage for more info. | false |
You can use the run.sh
script to build and run the main program. Follow the usage guide provided by the program itself.
You can build the documentation with doxygen Doxyfile
.
An online version tracking the master
branch is available on GitLab pages.
You'll need to build using the option -Dpython_bindings=true
(which should be enabled by default regardless).
Then either add the install directory to your python path, or install the library in your existing python path.
The module name is syndom
.
The python interface exposes the following classes:
Of these, only Feed
, Opml
and Html
can be instanced directly, this is because FeedItem
and OpmlItem
are instanced when creating Feed
and Opml
as their items.
The API is the same as described in the documentation for C++, with the addition of read-only properties as an alternative to the getter methods. For example to get a FeedItem
's title you can either call my_feed_item.get_title()
or simply my_feed_item.title
.