diff --git a/textproc/Makefile b/textproc/Makefile index 82a88f1e16c8..02dd130904e6 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -712,6 +712,7 @@ SUBDIR += pear-Spreadsheet_Excel_Writer SUBDIR += pear-XML_Beautifier SUBDIR += pear-XML_DTD + SUBDIR += pear-XML_Feed_Parser SUBDIR += pear-XML_HTMLSax SUBDIR += pear-XML_Wddx SUBDIR += pecl-ctemplate diff --git a/textproc/pear-XML_Feed_Parser/Makefile b/textproc/pear-XML_Feed_Parser/Makefile new file mode 100644 index 000000000000..9f0f5e79f5fe --- /dev/null +++ b/textproc/pear-XML_Feed_Parser/Makefile @@ -0,0 +1,50 @@ +# Ports collection makefile for: pear-XML_Feed_Parser +# Date created: 2007/05/01 +# Whom: Martin Wilke +# +# $FreeBSD$ +# + +PORTNAME= XML_Feed_Parser +PORTVERSION= 1.0.2 +CATEGORIES= textproc devel pear + +MAINTAINER= miwi@FreeBSD.org +COMMENT= Providing a unified API for handling Atom/RSS + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PHP= tidy + +CATEGORY= XML +FILES= Parser.php Parser/Atom.php Parser/AtomElement.php \ + Parser/Exception.php \ + Parser/RSS09.php Parser/RSS09Element.php Parser/RSS1.php \ + Parser/RSS11.php Parser/RSS11Element.php Parser/RSS1Element.php \ + Parser/RSS2.php Parser/RSS2Element.php Parser/Type.php \ + samples/atom10-entryonly.xml samples/atom10-example1.xml \ + samples/atom10-example2.xml samples/delicious.feed \ + samples/flickr.feed samples/grwifi-atom.xml samples/hoder.xml \ + samples/illformed_atom10.xml samples/rss091-complete.xml \ + samples/rss091-international.xml samples/rss091-simple.xml \ + samples/rss092-sample.xml samples/rss10-example1.xml \ + samples/rss10-example2.xml samples/rss2sample.xml \ + samples/sixapart-jp.xml samples/technorati.feed schemas/atom.rnc \ + schemas/rss10.rnc schemas/rss11.rnc +TESTS= XML_Feed_Parser_TestCase.php accessTypes.php atomCompliance.php \ + atomEntryOnly.php atomValues.php convert-tests.php errors.php \ + farsi.php iteration.php japanese.php rss091Values.php \ + rss092Values.php rss1Values.php rss2Values.php tidy.php \ + convertedtests/amp.php convertedtests/atom.php \ + convertedtests/atom10.php convertedtests/base.php \ + convertedtests/cdf.php convertedtests/date.php \ + convertedtests/encoding.php convertedtests/feedburner.php \ + convertedtests/http.php convertedtests/itunes.php \ + convertedtests/lang.php convertedtests/namespace.php \ + convertedtests/rdf.php convertedtests/rss.php \ + convertedtests/sanitize.php + +.include +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include diff --git a/textproc/pear-XML_Feed_Parser/distinfo b/textproc/pear-XML_Feed_Parser/distinfo new file mode 100644 index 000000000000..4805cd735d73 --- /dev/null +++ b/textproc/pear-XML_Feed_Parser/distinfo @@ -0,0 +1,3 @@ +MD5 (PEAR/XML_Feed_Parser-1.0.2.tgz) = c11684286f8332a6cbcef39b01b90249 +SHA256 (PEAR/XML_Feed_Parser-1.0.2.tgz) = 5657fd5901634e5c71650b11da4cc034c18003b12b162f1c7a8f069d18f2b461 +SIZE (PEAR/XML_Feed_Parser-1.0.2.tgz) = 76878 diff --git a/textproc/pear-XML_Feed_Parser/pkg-descr b/textproc/pear-XML_Feed_Parser/pkg-descr new file mode 100644 index 000000000000..f5aab0b5423e --- /dev/null +++ b/textproc/pear-XML_Feed_Parser/pkg-descr @@ -0,0 +1,5 @@ +XML_Feed_Parser is a parser for (the various) RSS and Atom format XML feeds. +It attempts to provide a somewhat unified API while still allowing access to +the full details of each feed type. + +WWW: http://pear.php.net/package/XML_Feed_Parser/