Thomas Sampson

Dynamic XML

Leave a comment

Today I was playing round with rss feeds. Never used them before so i first wrote a static rss feed, saved as xml and worked fine 😀

Next i tried writing some c# code to generate RSS on the fly and had problems!

Things to remeber for dynamic rss in .net

  • Make sure every dynamic item has a title, description and a link tag with a VALID link
  • make sure the header of your page has ContentType=”XML” example…

  • If you do not set the content type, then any rss aggregators think the aspx file is xhtml and not a valid xml feed. without the ContentType attribute, your rss is invalid.

Author: tomtech999

I have recently graduated with a 1st class degree in MComp Games Software Development at Sheffield Hallam University, focusing primarily on application development in C++, with experience in graphics programming, scripting languages, DVCS/VCS and web technology. In my spare time I enjoy Drumming, Reading and Snowboarding!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s