NicolaD'Agostino.net

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

illustrazione nicoladagostino.net

Hack Flickr feeds with Yahoo! Pipes

The problem: obtaining a feed from Flickr devoid of the “username has posted a photo:” and with bigger images.

The solution: using Yahoo! Pipes to manipulate and tweak the image parameters and remove the unnecessary words.

Yahoo! Pipes - Flickr clean feed

Items used are:

  1. The Fetch Feed element (available under “Sources”.
    Here’s where you paste the feed of your Flickr photostream feed which looks like
    http://api.flickr.com/services/feeds/photos_public.gne?yourflickrid
    If it’s of one of your tags it will follow with
    &tags=tagname
    Other options in the url are:
    &format=rss_200

  2. The Regex element available under “Operators”.
    You can add as many rules as you need. In this case you need to intercept mostly stuff in the “item.description” of the feed.
    In the first five rules you substitute the parts which form the HTML code of the “username has posted a photo:” line (where username is the name you use on Flickr).
    The following rules use some other subsitution to show the bigger image, putting here and there the “_m.jpg” in the url which is Flickr’s convention for medium images’ url.

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

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



Pubblicato il 15/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