[wp-hackers] [Fwd: [wp-docs] Enclosures]
Matthew Mullenweg
m at mullenweg.com
Mon Sep 20 04:53:20 UTC 2004
Bernard Flach wrote:
> For example : 1 field for the enclosure-URL, 1 field for the size of
> the enclosure and 1 field for the length of the enclosure (in case of
> an MP3).
There's no reason to modify the posts table, or clutter up the UI.
Probably the best way to go about this is expand the code that loops
over the links for pingbacks to be more general purpose and use the
response headers to determine if a MIME type or extension should be
"enclosed" and then add this info to custom fields.
--
Matt Mullenweg
http://photomatt.net | http://wordpress.org
http://pingomatic.com | http://mobiusltd.com
More information about the hackers
mailing list