[wp-hackers] Audio RSS enclosure problem

Barrett Golding bg at hearingvoices.com
Sun Mar 20 15:21:43 UTC 2011


> From: Bryan Harley <bryanharley at gmail.com>
> Opened /wp-includes/feed-rss2.php.  Replaced the enclosure tag


couldn't you conditionally add_post_meta() w/ your same get_children 
() request
(& get_headers values) you used to hack feed-rss2.php?

or (this next is stating-the-obvious, so you've probly already  
considered):
ask your users to Insert Into Post -- and let WP handle the enclosure
(assuming they're using the Media Uploader).

bg
-- 
<http://HearingVoices.com/>
~radio active transmissions~





More information about the wp-hackers mailing list