NicolaD'Agostino.net

ARTICOLI / GRAFICA & WEB / TRADUZIONI
/ INFO - ENGLISH CONTENT

illustrazione nicoladagostino.net

Hack Friendfeed feeds with Yahoo! Pipes

The problem: obtaining a feed of a search in Friendfeed user posts, devoid of the “Name (nick):” prefix before each and every item.

The solution: using Yahoo! Pipes to remove the unnecessary words.

Yahoo! Pipes - Friendfeed search clean feed

Items used are:

  1. The Fetch Feed element, available under “Sources”.
    Here’s where you paste the feed of your Friendfeed search result feed which looks like
    http://friendfeed.com/search?q=term&from=username
    If the search term is a hashtag (actually very handy) it will look like:
    http://friendfeed.com/search?q=%23term&from=username
    You can also specify the format which will then have an additional trailing part, such as &format=atom

  2. The Regex element, available under “Operators”.
    In this case you need to intercept name, nickname and colon which prefix the title of each search entry.
    If (like me) you will be only using the title and discard the body of the feed you can use just one rule. Apply it to the item.title part specifying the specific user name to filter out. Otherwise add another rule and also filter the same Reg(ular) ex(pression) from other parts of the feed.

  3. The Pipe output element, which is how all of Yahoo! Pipes end and generate a new feed.

A personalized version of this pipe is at http://pipes.yahoo.com/nicoladagostino/ffmcitclean (where you can view the source and even clone it for your own needs). It is currently used and fed daily through FeedWordPress to my upcoming website www.mondochrome.it.



Pubblicato il 25/02/2010 e archiviato in: articoli  
Tag: , , , ,


Il sito non ha carattere di periodicità e non rappresenta "prodotto editoriale". Il materiale è riprodotto a scopo puramente informativo e illustrativo e resta di proprietà dei legittimi titolari.

© 2001-2019 Nicola D'Agostino - - ditta individuale - P.I. 01810000685 ingegnere culturale disciplinato ai sensi della legge 4/2013 - Avvertenza sui link