BSD Ports

textproc/p5-XML-RSS-Parser 4.0_2 DragonFly

Liberal object-oriented parser for RSS feeds

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
perl5, textproc
Package size
23.3 KiB, 42.4 KiB installed

Description

XML::RSS::Parser is a lightweight liberal parser of RSS feeds. This parser is "liberal" in that it does not demand compliance of a specific RSS version and will attempt to gracefully handle tags it does not expect or understand. The parser's only requirements is that the file is well-formed XML and remotely resembles RSS. Roughly speaking, well formed XML with a channel element as a direct sibling or the root tag and item elements etc.

There are a number of advantages to using this module then just using a standard parser-tree combination. There are a number of different RSS formats in use today. In very subtle ways these formats are not entirely compatible from one to another. XML::RSS::Parser makes a couple assumptions to "normalize" the parse tree into a more consistent form. For instance, it forces channel and item into a parent-child relationship.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-XML-RSS-Parser4.0_2
FreeBSDtextproc/p5-XML-RSS-Parser4.0_2
OpenBSDtextproc/p5-XML-RSS-Parser4.0p3
NetBSDtextproc/p5-XML-RSS-Parser4.0nb19
HardenedBSDtextproc/p5-XML-RSS-Parser4.0_2
GhostBSDtextproc/p5-XML-RSS-Parser4.0_2

Install

Binary package:

pkg install p5-XML-RSS-Parser

From DPorts:

cd /usr/dports/textproc/p5-XML-RSS-Parser && make install clean

Dependencies

Run dependencies 4