I use Yahoo Pipes to filter content from feeds for my personal use, as I often am only interested in certain topics provided in a feed and don't want to sift through fifty posts to find the topic I am interested in.
You can also use Yahoo Pipes to remove images from feeds.
You only need two pipes modules "Fetch Feed" and "Regex" and a little Regex code to do it:
The first thing you need to do is input your RSS feed into the "Fetch Feed" module.
Then in the "Regex" module, below rules, select item.content.content in the "In" drop down menu field. The "replace" field is where you input Regex search code. You will want to compy and paste (or type) the follow code in the fied:
<a.*?><img.*?></a>Click the plus sign before "Rules" to add another line. Select item.description in the "In" field drop down menu and retype the above Regex code. Make sure you check of the "g" check box at the end of each line so the search is done throughout the entire content and not just once.
The last step is telling the module what to replace the Regex search results with by typing something in the "with" field. In my example I replace the image HTML code with "[Image]". You can leave it blank to delete the HTML image code entirely.
When the pipe is executed all the image code is searched for, stripped and replaced with "[Image]":
Click here to view this example feed.
1 comments:
sweet, thanks man.
you wouldn't know how to display the source of the news article, i.e...Philadelphia Inquirer, in the pipes output???
thanks in advance.
Post a Comment