Proposal on XML_RSS to fit with RSS v2.0

From: Date: Sat, 06 Dec 2008 23:16:30 +0000
Subject: Proposal on XML_RSS to fit with RSS v2.0
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-51218@lists.php.net to get a copy of this message
hi since comments on PEAR Packages obviously are not allowed on the site itself - http://pear.php.net/account-request.php (although the package site has a note "User Notes:" at the bottom O_o ..) - I choose to mail it here. now to the topic: I've been developing an RSS Reader using XML_RSS. As it seems, it only supports feeds <= Version 0.91. I want to read a feed of v 2.0, which has much more "item" nodes as just "title" "link" and "description". XML_RSS will work with feeds 2.0, but you will not get all item nodes. But today was my lucky day :) I modfied RSS.php @ about line 95: var $itemTags = array('TITLE', 'LINK', 'DESCRIPTION'); and simply expanded this array with the nodes that I needed: var $itemTags = array('TITLE', 'LINK', 'DESCRIPTION', 'PUBDATE', 'CATEGORY', 'GUID', 'CONTENT:ENCODED', 'ENCLOSURE' ); So my assumption is, that expansion of this package in order to fit with RSS v.2.0 must be quite easily. I propose to do so !? Greetings site pear.php.net is not http://pear.php.net/manual/en/package.xml.xml-rss.php ____________________________________________________________________ Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123

« previous php.pear.dev (#51218) next »