Re: RE: Package thoughts: XML_RSS_Publisher
| From: | Ian Eure | Date: | Mon, 17 Jan 2005 22:10:54 +0000 |
| Subject: | Re: RE: Package thoughts: XML_RSS_Publisher | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35565@lists.php.net to get a copy of this message | ||
On Monday 17 January 2005 12:34 pm, David Ashwood wrote:
> Cool - thanks for the prompt info Lucas,
>
> First - I gotta apologise for the excess messages - Outlook decided to
> throw a Benny, things went pear shaped (pardon the pun) for a bit :(
>
>
> The main processing engine would be use the XML_Serializer - that's what
> I'm using at the moment - and why reinvent the wheel?
>
> Currently I'm building a hash of categories - either statically or via a
> database.
> The Database side of things uses a subclass of DB_DataObject and uses
> defined links to pull extra items - if necessary.
>
Sounds a bit too implementation-specific. I was thinking about something more
like:
$feed =& new XML_Feed()
$item =& $feed->createItem();
$item->title = 'Whatever';
..
echo $feed->toRSS();
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]