[wp-hackers] Filter Hooks for Enclosures
wphackers at jamietalbot.com
Mon Feb 13 14:13:40 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Owen Winkler wrote:
> Here's an off-the-wall suggestion...
> What if we built feeds as PHP objects, fed them through a filter, then
> converted the object to XML?
> There are some extant implementations of Object<->XML in PHP, so it
> might not be too difficult a conversion. Manipulating the feed XML via
> DOM in a plugin would be swell.
> Before I continue blathering about this, how much does this idea suck?
I definitely like the feeds as objects idea. A base feed class WPFeed with vars to hold all
available information that could be subtyped for different feed flavours, WPAtom, WPRSS each with
their own methods of using that data would be nice. It would also be nicely future proof when the
next latest and greatest feed format comes along as it would only require a new class with its own
If converting to XML was a trivial task already implemented, that might be cool too.
Is there mileage in this?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the wp-hackers