Questions tagged [syndication-item]

19 questions
0
votes
1 answer

Select items by category in SyndicationFeed

I am using the .NET SyndicationFeed to create my own RSS website feed. No problem creating it and displaying all of them but I have not quite figure out how to select all the news items in the feed that have a specific category. For example all…
Lord of Scripts
  • 3,579
  • 5
  • 41
  • 62
0
votes
4 answers

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 cannot get out is the media:thumbnail element: …
LDJ
  • 6,896
  • 9
  • 52
  • 87
0
votes
1 answer

Reading non standard tags in a RSS feed

I'm trying to write an RSS feed for the Ferrari site, but I can't read it all, using SyndicationItem. The problem is that the method getContent() reads only , and <description> elements (all of them are children of <item>). I need to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/c#" class="post-tag grid--cell" title="show questions tagged 'c#'" rel="tag">c#</a> <a href="../../questions/tagged/rss" class="post-tag grid--cell" title="show questions tagged 'rss'" rel="tag">rss</a> <a href="../../questions/tagged/syndication-item" class="post-tag grid--cell" title="show questions tagged 'syndication-item'" rel="tag">syndication-item</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 20 '12 at 12:36">asked Dec 20 '12 at 12:36</time> <a href="../../users/1334525/pierpaolo-paris" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1334525.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Pierpaolo Paris" /> </a> <div class="s-user-card--info"> <a href="../../users/1334525/pierpaolo-paris" class="s-user-card--link">Pierpaolo Paris</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">87</li> <li class="s-award-bling s-award-bling__bronze" title="12 bronze badges">12</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10599672"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10599672/syndicationitem-content-encoding" class="question-hyperlink">SyndicationItem Content encoding</a></h3> <div class="excerpt">I am adding some simple tags to my SyndicationItem Content object like var newSyndicationItem = new SyndicationItem(item.Title, item.Brief, new Uri("http://www.x.com/news/" + item.ID)); newSyndicationItem.PublishDate = new…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/asp.net-mvc-3" class="post-tag grid--cell" title="show questions tagged 'asp.net-mvc-3'" rel="tag">asp.net-mvc-3</a> <a href="../../questions/tagged/rss" class="post-tag grid--cell" title="show questions tagged 'rss'" rel="tag">rss</a> <a href="../../questions/tagged/syndication-item" class="post-tag grid--cell" title="show questions tagged 'syndication-item'" rel="tag">syndication-item</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 15 '12 at 11:22">asked May 15 '12 at 11:22</time> <a href="../../users/1019724/yasser-farag" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1019724.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Yasser-Farag" /> </a> <div class="s-user-card--info"> <a href="../../users/1019724/yasser-farag" class="s-user-card--link">Yasser-Farag</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">592</li> <li class="s-award-bling s-award-bling__gold" title="4 gold badges">4</li> <li class="s-award-bling s-award-bling__silver" title="9 silver badges">9</li> <li class="s-award-bling s-award-bling__bronze" title="28 bronze badges">28</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/syndication-item_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/syndication-item_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>