…and in this case, since I’m the developer, what does that say about me? I just discovered that when I wrote the code to produce the comments feed for my blog, I screwed up. Rather than giving the past x days of comments, my comments RSS feed was giving all the comments for the past x days of entries. So if you commented on an entry that was more than x days (I think it’s something like 10 or 14) old, then it wouldn’t ever show up in the feed. I noticed this by accident when cross-linking to my old IsNot post, and now I think I’ve got it fixed.
So if you’ve submitted some comments and I totally ignored you, it might be because I was relying on a broken comments feed. Then again, it could be because I’m a lazy bastard… You’ll just have to guess!
(I will be going back through all my comments to find ones that I might have missed…)
While we are at it, your site doesn’t work in firefox 🙂 There’s no content.
I’m creating blog engine with .NET. I got it up and running but it’s very primitive. One of the things I’m going to have to figure out is to how to create RSS feed. Paul, could you give me some hints?
Karl, hmmmmm, I have no idea why the site wouldn’t work in Firefox. I’ll try and look into when I get the time.
vbNullString: Your best bet is to take a look at one of the publicly available engines like .Text (http://scottwater.com/blog/) or DasBlog (http://www.dasblog.net). They’re probably better guides than my hacked together code!
Hello, Paul.
Thank you very much for the link. hmm… I was wondering why can’t I just generate XSD using XSD.exe out of whatever RSS is available out there (or just get XSD from somewhere) and generate code out of it? It may be really easy to do… I’m going to give it a try.
Thanks!
Your feed also doesn’t work with Bloglines. I just get the headlines + the summaries, not the body.
Crud! I have no idea why it wouldn’t work — my feed supposedly validates just fine now. Another thing to look into, I guess…
Ignore that firefox comment. I noticed it worked at home yesterday..and tried again at work..no go. I resized my browser hit refresh and now it always works…back to ie I guess 🙂
I finally come up with RSS serializable object. I briefly tested it and I was able to read the XML into SharpReader. Please feel free to download it! Sorry Paul, I did it in C#. Well, it’s easy to generate VB .NET code from XSD, isn’t it?
http://www.vbaspcoder.com/Download/Rss20.zip
Paul,
I’m wondering how you got .aspx to return RSS feed… Would you mind sharing the code?
The code’s probably of questionable value since it’s tied to the underlying data model that I coded up. However, the way that I do it from an ASPX page is that I just have a page with no markup in the ASPX file. Then in the Form.PreRender event, I just use Response.Write to return the RSS string that I’ve put together.
Hello, Paul.
That’s quite interesting. After I asked you how to do it, I struggled with creating RSS feed myself. I was able to create RSS feed using Web Serivce.
Here is how I did it.
http://www.vbaspcoder.com/Default.aspx?Page=BlogDetail&BlogKey=10
As I mentioned before, I created XSD for RSS feed and generated C#. It seems to be working fine. However, how I did RSS feed is quite tacky. I should mention that in my blog too… I basically generated XML file on my web server and read it into XmlDocument object and return its root element as XmlElement. So if I can figure out how to convert RSS object into XML on the fly and read that into DOM within memory, I don’t have to generate XML file to the file system… I will try to do that later when I pretty much finish all my blog engine. 🙂