Closed damienissa closed 7 years ago
@nmdias Thanks. And I have a question. How I can get item XML value? Maybe your library have some private method? I want to try parse image from current XML.
What element or attribute exactly are you trying to get? Does it belong to a spec, or is it contained XML data within an Element of a feed?
See if #14 helps
@nmdias I mean that "media" is element of feed item. "media" can has many optional attributes. I try to use "media:thumbnail". But another users maybe need to use other attributes. You can read more info at link: http://www.rssboard.org/media-rss
@damienissa you can't at this time. Currently, FeedKit doesn't support the Media namespace, so there aren't any private methods or properties that would allow you to read them.
I'll make sure to include this feature (the complete Media namespace) in the 6.0.0 release.
The RSS Media Namespace is now available in the master branch. It will also be available in the future 6.0.0 release.
What about rss media parsing? I didn't see how I can get thumbnail from RSSFeedItem. You can research this spec: http://www.rssboard.org/media-rss items for test:
testRss.txt