[wp-hackers] Audio RSS enclosure problem
bryanharley at gmail.com
Mon Mar 21 05:27:51 UTC 2011
Barrett - Yeah, I want to avoid the later. The former could work, I
could auto-create and populate the custom field for new posts. But
I'd have go back to the 30+ posts that my client's already created and
manually add it to those.
On Sun, Mar 20, 2011 at 8:21 AM, Barrett Golding <bg at hearingvoices.com> wrote:
>> 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()
> (& 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).
> ~radio active transmissions~
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers