With .net 3.5, there is a SyndicationFeed that will load in a RSS feed and allow you to run LINQ on it.
Here is an example of the RSS that I am loading:
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Title of RSS feed</title>
<link>http://www.google.com</link>
<description>Det...
Yep, I asked it. There is no more thing to tell :)
Thanks in advance.
...
I have a WCF service that uses a System.ServiceModel.Syndication.SyndicationFeed to create an RSS feed.
But I'm having trouble figuring out how to add a Processing Instruction to output that points to my CSS stylesheet.
What I need is a processing instruction that looks a bit like this:
<?xml-stylesheet type="text/css" href="http://y...
I'm using the SyndicationFeed class to generate an Atom feed and an Atom10FeedFormatter to serialize it. I'd like to be able to add line breaks between the elements when the file gets written to disk. I realize the feed readers don't care, but when I run my docs through http://feedvalidator.org/ it treats the whole doc as a single line...
I'm trying to develop a feed for an intranet document management system, so that staff can be notified of new documents. I have actually completed coding it, but there is no way to authenticate the user.
Also I'm not successful in adding the feed to news readers, but works with firefox Live Bookmark.
Any Ideas
Update:
Since I couldn'...
The SyndicationFeed Class in .NET only seems to support RSS version 2.0. How do I go about supporting RSS version 0.91?
...
I am trying to read a handful of Rss / Atom feeds with
var synFeed = SyndicationFeed.Load(reader);
But it throws on the slightest problem. For instance, when one Item contains a few HTML tags in the description field, it's not possible to read the Feed at all. It also doesn't like the RDF tags from for instance SlashDot.
Note that ...
Using the .NET System.ServiceModel.Syndication classes...
I would like to add a new SyndicationElementExtension to a SyndicationItem that will export the following XML:
<media:thumbnail url="http://www.foo.com/keyframe.jpg" width="75" height="50" time="12:05:01.123" />
Something along the lines of:
syndicationItem.ElementExtensions....
I'm using .NET's SyndicationFeed to create RSS and ATOM feeds. Unfortunately, I need HTML content in the description element (the Content property of the SyndicationItem) and the formatter automatically encodes the HTML, but I'd rather have the entire description element wrapped in CDATA without encoding the HTML.
My (simple) code:
var...
I've looked all over for some documentation on this, but haven't found it. Some posts reference a user-agent string:
http://groups.google.com/group/feedburner-services/browse_thread/thread/7aee14cf6a2432e7/49464335d2228e25?lnk=gst&q=aweber#49464335d2228e25
I had assumed there would be an API or something. More generally, how does...
I'm investigating the Argotic Syndication Framework, and I'm pretty impressed so far. However, a lot of the current implementation--at least for RSS and Atom--seem pretty comparable to System.ServiceModel.Syndication. Does anyone have any opinions as to one over the other?
...
I have the feed burner code to put into wordpress but do not know where to put it into wordpress.
...
I have an RSS based blog that I now want to convert to Atom. Feedburner can change the output format in one click. Will my existing subscribers notice any change on the reader side? (other than taking advantage of the extra atom functionality)
...
Does RSS/Atom have a semi-official method of including active (read:javascript) content in it's items?
I know about RSS enclosures, but I'm presuming that's for true multimedia - ie mp3 and the likes.
Say I have a bit of remote javascript I want to include in my post to display a dynamic graph etc, can this be done? Or flash, etc for ...
Hi,
I have a Syndication Feed.
When serializing using Rss20FeedFormatter I get xmlns:cf and xmlns:cfi namespaces declared in the xml.
The media element remains inline.
<media:thumbnail media:url="http://arwen.palantir.za:8080/signate/thumbnail/dXVpZDoxNjlkMzIyOS0zYjk5LTQ2NDctOTc5MS00OTJiYmJmNGM0MTkvUEdTMDkwMC5QREY=" media:width="200" m...
I'm trying to pull the contents of an RSS feed into an object that can be manipulated in code. It looks like the SyndicationFeed and SyndicationItem classes in .NET 3.5 will do what I need, except for one thing. Every time I've tried to read in the contents of an RSS feed using the SyndicationFeed class, the .Content element for each Syn...
Is there anyway to create a special feed in Wordpress that is on a delay that I can distribute to some of our content partners? I have found some tutorials on how to delay your feed (http://wpengineer.com/publish-the-feed-later/) but it uses the conditional statement is_feed and I don't want to apply this to all feeds, just one particul...
For whatever reason, IBM uses https (without requiring credentials) for their RSS feeds. I'm trying to consume https://www.ibm.com/developerworks/mydeveloperworks/blogs/roller-ui/rendering/feed/gradybooch/entries/rss?lang=en with a .NET 4 SyndicationFeed. I can open this feed in a browser and it loads just fine. Here's the code:
...
The code:
using (XmlReader xmlr = XmlReader.Create(new StringReader(allXml)))
{
var items = from item in SyndicationFeed.Load(xmlr).Items
select item;
}
The exception:
Exception: System.Xml.XmlException: Unexpected node type Element.
ReadElementString method can only be called on elements with simple or empty content...
How to describe comments tree with Atom/RSS?
...