Quantcast
Channel: Get media elements from RSS using SyndicationFeed - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by dev-siberia for Get media elements from RSS using SyndicationFeed

This is my solution. I return the first thumbnail image.// Read the feedwhile (await feedReader.Read()){ if (feedReader.ElementType == SyndicationElementType.Item) { // Read the item as generic content...

View Article



Answer by Joshua for Get media elements from RSS using SyndicationFeed

I added an extension method for the SyndicationItem class. Just create a class called 'ExtensionMethods.cs' in the root of your project and use the code below. Be sure to change the namespace to match...

View Article

Answer by Kobynet for Get media elements from RSS using SyndicationFeed

You can check our MediaRssSharp for parsing media rss feeds.MediaRssSharp does most of the mrss format parsing for you including optional/non-optional elements.

View Article

Answer by atom.gregg for Get media elements from RSS using SyndicationFeed

Ok.. Found your data.Try this, where the data variable is the string you've provided.The inner XElement.Value contains the entire media block, so you will then need to query it and select which-ever...

View Article

Get media elements from RSS using SyndicationFeed

I'm attempting to parse an RSS feed using C# and the SyndicationFeed class. I'm iterating over the items to get a list of SyndicationItems and that is exposing most of the feed properties, but what I...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images