user1833760
user1833760

Reputation: 51

Rewrite image url in the RSS feed using Yahoo Pipes

I am trying to display full-sized images in Pinterest RSS feed instead of thumbnails using this Yahoo Pipe: http://pipes.yahoo.com/pipes/pipe.info?_id=4cc22a300ac57e4a88f908f0548ff79e

In order to display large images I need to rewrite image URL for every item and change last symbol before the extension from "b" to "c" in example:

in original Pinterest RSS: http://pinterest.com/chalkboardnails/feed.rss

change from http://media-cache-ec6.pinterest.com/upload/90916486199089541_BOwL6p5P_b.jpg to http://media-cache-ec6.pinterest.com/upload/90916486199089541_BOwL6p5P_c.jpg

How could I do this. Thank you

Upvotes: 0

Views: 1565

Answers (2)

Lee Woodman
Lee Woodman

Reputation: 1329

Use the REGEX function in Yahoo Pipes : as follows

Lee

Upvotes: 1

og Grand
og Grand

Reputation: 114

to find b try (?<=http://.*/[A-Za-z\d]*_[A-Za-z\d]*_)(.*?)(?=\.jpg)

Upvotes: 1

Related Questions