[ 源代码: listparser ]
软件包:python3-listparser(0.18-3)
Parse OPML, RDF+FOAF, and iGoogle subscription lists
listparser is a Python module that parses subscription lists (also called reading lists) and returns a dictionary in OPML structured format. It supports OPML, RDF+FOAF, and the iGoogle exported settings format, and runs in Python 2.7, Python 3.3 and up, PyPy, and Jython.
The OPML specification defines an outline as a hierarchical, ordered list of arbitrary elements. The specification is fairly open which makes it suitable for many types of list data, like RSS feeds.