#101 ✓resolved
low-R

Fetch the <enclosure> xml tag

Reported by low-R | August 27th, 2008 @ 11:02 AM

This will be great to fetch the xml tag, specially for podcasts like this one : http://www.radio538.nl/clublife/... to display some podcasts on wordpress (with the anarchy media player plugin, visitors will play podcasts direct on the website)

Comments and changes to this ticket

  • clhmedia

    clhmedia September 23rd, 2008 @ 03:45 PM

    • Assigned user cleared.
    • Tag changed from functionality issue, wp-o-matic to functionality issue, wp-o-matic

    im trying to figure out the same thing

    a lot of websites put audio, video, and flash files in their enclosure tags. right now i have some feeds running through wp-o-matic and the really good ones with enclosed media i run through a xml editor program and then import as rss feed.

    it is becoming more of a pain as more cool sites come about that are using these <enclosure=... > tags

    i tried running the tag as a rewrite but it doesnt get picked up in wp-o-matic

  • Guillermo Rauch

    Guillermo Rauch September 23rd, 2008 @ 03:50 PM

    Excellent suggestion. This feature will be added.

  • Katie

    Katie September 26th, 2008 @ 03:24 PM

    Has anyone figured out how to get the plugin to post podcasts from a feed?

  • Dennis Wurster

    Dennis Wurster October 16th, 2008 @ 11:38 PM

    • Assigned user set to “Guillermo Rauch”
    • Tag changed from functionality issue, wp-o-matic to functionality issue, wp-o-matic

    I don't even need to /download/ the enclosure, I'm just interested in putting the URL from the enclosure as a link in the body of the WordPress post.

    That is, I'd love to have an {enclosure} tag that can strip out this:

    http://movies.apple.com/movies/u...

    from this:

    I think that the technology exists already in the plugin, and needs only to be applied to support this proposed {enclosure} tag.

  • low-R

    low-R October 17th, 2008 @ 02:40 AM

    One question : How to applied it ;)

    Guillermo, have you some good news about this ?

  • Ricardo Rauch

    Ricardo Rauch April 15th, 2010 @ 08:50 AM

    • Assigned user changed from “Guillermo Rauch” to “Ricardo Rauch”
  • benstewart

    benstewart May 7th, 2010 @ 02:49 PM

    Can't you just add the following lines to approx. line 584 of wpomatic.php?

    Under the line that says:

    $content = $this->parseItemContent($campaign, $feed, $item);
    

    Insert:

    $enclosure = $item->get_enclosure();
    if (!empty($enclosure)) {
      $content .= '<p><a href="'.$enclosure->link.'" title="Podcast Audio">Podcast MP3</a></p>';
    }
    

    This will see if there is an enclosure. If so it will add a link to the enclosure file (which I am assuming at this point is an MP3 file). Can this (or something like this) be implemented into the core plugin so that future updates will not break it?

  • Ricardo Rauch

    Ricardo Rauch May 30th, 2010 @ 02:31 PM

    • State changed from “new” to “resolved”

    It will be implemented in the next version.

  • mcmcghee

    mcmcghee February 7th, 2011 @ 12:59 AM

    • Milestone order changed from “0” to “0”

    Was this ever implemented? I'm confused on what is the latest version

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

WP-o-Matic project.

Pages