【发布时间】:2012-11-18 15:44:21
【问题描述】:
我正在尝试使用此 Yahoo Pipe 在 Pinterest RSS 提要中显示全尺寸图像,而不是缩略图:
http://pipes.yahoo.com/pipes/pipe.info?_id=4cc22a300ac57e4a88f908f0548ff79e
为了显示大图像,我需要为每个项目重写图像 URL,并将扩展前的最后一个符号从“b”更改为“c”,例如:
在原始 Pinterest RSS 中:http://pinterest.com/chalkboardnails/feed.rss
从
http://media-cache-ec6.pinterest.com/upload/90916486199089541_BOwL6p5P_b.jpg
到
http://media-cache-ec6.pinterest.com/upload/90916486199089541_BOwL6p5P_c.jpg
我怎么能这样做。 谢谢
【问题讨论】:
-
你看@pipes.yahoo.com/pipes/docs?doc=string 并尝试查找和替换
标签: regex url-rewriting pipe yahoo-pipes