ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Extracting a URL from <description> tag in RSS feed?

June 24, 2007 10:20pm

Subscribe [1]
  • #1 / Jun 24, 2007 10:20pm

    Trejure

    13 posts

    I think this is more of a PHP question than an EE one, but I’m no PHP guru so I wouldn’t really know, but here goes:

    I’m already using Paul Burdick’s excellent Magpie RSS/Atom Parser plug in to just return the <description> tag of an RSS feed, but my desire is to narrow it down even further:

    I have an RSS feed from flickr and want to extract the THIRD url in it (it’s the only one that ends in “.jpg”) and essentially ignore all of the other junk in it. I don’t think it’s possible to do it using the Find and Replace plug-in, since it’s more of just a “find and return” than a “find and replace”...

    Does anyone have any ideas on how this could be done?

    Thanks to everyone in advance!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases