Topic: Remove HTML from RSS using yahoo pipes - How to

Hi all..

I was goofing around with Yahoo Pipes trying to clean up a feed and finally figured out how to remove all HTML tags from an RSS Feed, so I figured I better post this.

Start with a "Fetch Feed", fill in your RSS feed to get data from.
Add an Operator - REGEX,
Link the two to populate the fields.
In my case I just needed the HTML stripped from the description, so I selected item.description in the first regex field.
Then added: Lessthan-period-astrisk-questionmark-greaterthan  (Just it case it doesn't publish right on the forum)
<.*?>
to the "replace" field and left the "with" field blank.
Then check the "G", so it loops through the data.

Finally connect the REGEX to the output and test.
Example Pipe: http://pipes.yahoo.com/pipes/pipe.info? … bnON2R2EvQ

You could used the same method by adding more expressions to the REGEX to filter all HTML from the other fields as well.

Hope this helps...

MyridoM

When someone annoys me, it takes 42 muscles in my face to frown...but it takes only 4 muscles to extend my arm and b**ch-slap you!
http://haunterofthenight.com/ * new blog location

Re: Remove HTML from RSS using yahoo pipes - How to

Nice tip. Thanks