Sunday, March 14, 2010

Mono, C# Simple RSS reader

Yes, I change the theme of my blog, now it is more attractive :) , thanks for P2 theme by Automattic. Now it is time to post something useful…Yes, as I mentioned a RSS reader that use gtk# again! Please note this code was left from the days that I first met with mono..sorry for silly mistakes if you found

using System;
using Gtk;
using System.Xml;
namespace RSS
{

class testRSS : Window    
{
XmlDocument rssDoc;
XmlNode nodeRss;
XmlNode nodeChannel;
XmlNode nodeItem;
Gtk.TreeStore musicListStore = new Gtk.TreeStore(typeof(string), typeof(string));

public testRSS(): base("test")
{

int no = 1;
Gtk.Window window = new Gtk.Window("RSS okuma");
window.SetSizeRequest(500, 500);
window.SetPosition(WindowPosition.Center);
Gtk.TreeView tree = new Gtk.TreeView();
Gtk.TreeViewColumn rssIcerikColumn = new Gtk.TreeViewColumn();
rssIcerikColumn.Title = "RSS feeds";
tree.AppendColumn(rssIcerikColumn);
(more..)

Read more: configuration: debug [by Hüseyin Çakır]

Posted via email from jasper22's posterous