![]() |
|
||||||
![]() |
![]() |
![]() |
![]() |
|
![]() |
Covers everything from RSS for direct marketing to using RSS for SEO. |
You are here: Home » RSS Cases - From Technology to Praxis » RSS Development » Yahoo Pipes Regex Module March 26, 2007 Yahoo Pipes Regex Module Yahoo Pipes recently added a powerful module called Regex. Regex, if you're not familiar with the general term, is short for Regular Expression. Regular expressions are a pseudo-mathematical notation that allows you to specify very powerful pattern matching for processing text data. Yahoo Pipes' Regex module lets you do the same for web feeds - an idea long overdue. Previous options were to write your own parsers or use XSLT processors on the XML data. This is an idea that didn't catch on. Now, Yahoo Pipes makes it easy to manipulate web feed data. Unfortunately, it's limited in that you can replace/remove text patterns but not extract them. Still, it's pretty powerful and will come in handy for numerous Pipes applications. An example: You want to take the current top seeded stories at the social bookmarking site Digg (feed: http://digg.com/rss/index.xml), find the username of the person who submitted each story, and insert that name in square brackets, "[]", in each respective item's title, then sort the output feed by item title. Here is some sample output directly from my Yahoo Pipes Digg home page sorted by submitter pipe:
Now for those of you that are code geeks, you'll understand when I say that Pipes' Regex supports the regex syntax of the Perl scripting language. But you don't need to know Perl to understand regexes. I'm going to be doing a mini-series here on how to use the Regex module in Yahoo Pipes. Be forewarned that my Pipes Regex series will be tech-heavy, but still requires no programming. So if you're not well-versed with regex syntax and you have a specific text manipulation you need done on a web feed, drop a comment here, specify the feed URL, and what you want to do. I will try to showcase the solution for any requests.
Comments
Hi all Post a comment
Related Articles [June 14, 2007] [April 4, 2007] [March 26, 2007] [March 22, 2007] [August 14, 2006] [March 31, 2006] [March 30, 2006] [March 29, 2006] [February 24, 2006] [February 10, 2006] |
The RSS Cases Blog
The RSS Cases Blog brings you RSS technology advice, helps you understand RSS technology issues and explains different RSS business cases.
Written by Raj Kumar Dash RSS Feed for this Blog: Unleash the Marketing & Publishing Power of RSS
The e-book that is defining RSS marketing. Click here
[April 3, 2006] [March 8, 2006] [November 28, 2005] [November 21, 2005] [November 14, 2005] |
![]() |
|
|