How to get the image url? supposing that the tag is
<media:thumbnail url="http://img.youtube.com/vi/y6_-cLWwEU0/default.jpg" width="120" height="90" />
using syndicationItem in syndicationFeed?
i have something like this
Stream stream = e.Result;
XmlReader response = XmlReader.Create(stream);
SyndicationFeed feeds = SyndicationFeed.Load(response);
foreach (SyndicationItem ff in feeds.Items)
{
RssItem rssItem = new RssItem(ff.Title.Text, ff.Summary.Text, ff.PublishDate.ToString(), ff.Links[0].Uri.AbsoluteUri, **ff.image?????** );
rssItems.Add(rssItem);
}
any help??
For example Google RSS keeps all images within a summury.
So u can extract it by this code:
i also needed a solution and i used like this:
I extract the img from the summary;
Stream stream = e.Result;