[wp-hackers] Filter Hooks for Enclosures

Jamie Talbot wphackers at jamietalbot.com
Mon Feb 13 13:01:28 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Dave Grijalva wrote:
> Are there any filter hooks that I can use for the extra fields data?
> Specifically, I want to be able to do some string replacements for an RSS
> Enclosure (podcast).  Any ideas?
> 

I added a ticket to Trac requesting the same thing for different elements of feeds this morning - at
the moment these hooks are actions which mean you can't alter anything that's already been added.
Turning them into filters would allow you to do replacements.  Plugins that use these hooks would
have to be modified to return the text they are presented with, however.

The ticket's just for the head sections of the feeds, but you could add a note on the need for other
areas of the feeds too.  Feeds were heavily discussed here recently, though I'm not sure that any
consensus was formed at the end of it.  Are we going to be updating the feeds structure and API
significantly in 2.1?  Is it worth the effort to work up a patch that buffers feed text and then
passes it to a filter, or this likely to all change?

http://trac.wordpress.org/ticket/2438

Jamie.

- --
http://jamietalbot.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD8IMorovxfShShFARAsz4AJ9ja6nlJJa5BAw+LV4oARCCUZS8AwCfVFAV
CESmGfRsNkCHEohXXEInDvg=
=od18
-----END PGP SIGNATURE-----


More information about the wp-hackers mailing list