Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to two different tags for images from different feeds as one single tag in yahoo pipes?
    text
    copied!<p>I am reading 3 or 4 news rss feeds from different websites, and merging them in yahoo pipes. I am displaying one image from each news item. Now I am facing two problems.</p> <p>1> The images are provided in different tags in different feeds. The different tags for the images are: </p> <pre><code>&lt;media:content medium="image" url="http://metrouk2.files.wordpress.com/2013/08/1000x67025.jpg?w=150&amp;amp;h=150&amp;amp;crop=1"&gt; &lt;media:title type="html"&gt;Liverpool v Stoke City - Premier League&lt;/media:title&gt; &lt;/media:content&gt; </code></pre> <p>From another feed: </p> <pre><code>&lt;media:thumbnail height="340" link="" url="http://www.chelseafc.com/javaImages/4a/7c/0,,10268~12155978,00.jpg" width="640"/ </code></pre> <p>And another feed: </p> <pre><code>&lt;enclosure length="150" type="image/jpeg" url="http://u.goal.com/187200/187249_thumb.jpg"/&gt; </code></pre> <p>2> Also in some of the feeds I am getting 3 or 4 media:content data and some of them are not images but mp3 files.And even the image that is related to the news item is not in a fixed position. Sometimes it is fourth media:content sometimes it is first.</p> <p>For the first issue, I am evaluating the source and extracting information according to the source in the client side but I dont want to do that because I would like to add more feeds in the future and I seriously dont want to handle all those sources explicitly on the client side.</p> <p>For the second issue I am helpless... I am just displaying the first media:content which sometimes give me the correct image sometimes not. </p> <p>Also to point out, yahoo pipe executes it properly and shows relevant images according to the news item in the yahoo pipes panel. </p> <p>I am really really struggling with this. Please point me to a right direction for this. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload