Given a blog URL, obtain its RSS feed URL. I know this question was asked here, but I'm looking for a framework independent algorithm, however I'd prefer code in C#.
Asked
Active
Viewed 214 times
1 Answers
5
Look for a
<link rel="alternate" type="..." href="..." />
tag in the page from the given URL.
The type will be application/atom+xml
for Atom, application/rss+xml
for RSS. The href will be the URL for the feed.

configurator
- 40,828
- 14
- 81
- 115
-
I think you mean "application/rss+xml" and "application/atom+xml". – Matthew Wilson Oct 04 '09 at 07:44