CDB cat dog-egories:
      

January 30, 2004

This is the "Simple" Way to Build RSS? Yikes!

Building an RSS feed made simple came the link in my blog. Hmmm, we can alway use more simplicity...

Wow, this is simple:

SqlConnection objConnection = new SqlConnection(ConfigurationSettings.AppSettings["MyConnectionString"]);
objConnection.Open();
string sql = "SELECT TOP 10 Title, Summary, ArticleID, PostTime FROM Articles ORDER BY PostTime DESC";
SqlCommand objCommand = new SqlCommand(sql, objConnection);
SqlDataReader objReader = objCommand.ExecuteReader();
while (objReader.Read())
{
objX.WriteStartElement("item");

I would hate to see the hard way ;-) I realize this is an ASP coders page, but perhaps we need some international standards on defining simple!

blogged January 30, 2004 07:49 PM :: category [ rss ] :: TrackBack
Comments About "This is the "Simple" Way to Build RSS? Yikes!"
Spammers Have Force Our Hands...
spamroach.jpg
Note: Those nasty blog-spamming roaches have forced us to take action to prevent their spread- all entries made to this blog will remain open for comments for 30 days after the original posting date. After that, it is old news anyhow, correct?

If you really need to make contact with the chief dog around here, please submit a request via our feedback center