Import enclosure tag into MagpieRSS
Status: Beta
Brought to you by:
kellan
RSS feeds can apparently provide an <enclosure> tag to
add attachments to their feed. This seems to be common
on Podcast feeds, specifically. The tag looks like so:
<enclosure type="audio/mpeg"
url="http://www.tmbg.com/_media/_pod/TMBGPodcast6A.mp3"/>
(that's taken from
http://www.tmbg.com/_media/_pod/podcast.xml )
It'd be great if MagpieRSS would provide this info as
well. Thanks!
-CJ
Logged In: YES
user_id=269157
I sent this to the ML already, but a brief summary: the
basic reason why it's not grabbing this information already
is that MagpieRSS only processes tag attributes that it's
been specifically coded to understand. IMO it makes sense
to provide the attributes somewhere in the item array.
Here's a patch which creates an "_attrs" entry - I don't
know if that's where it should go, but it's just an example
of what I'm thinking about.
attributes.patch