示例#1
0
 public static void Main(string[] args)
 {
     ReadFeed readRssFeed = new ReadFeed("http://www.iltasanomat.fi/rss/uutiset.xml");
        Console.WriteLine(readRssFeed);
        Writefeed writeRssFeed = new Writefeed();
        writeRssFeed.rssFeed = readRssFeed.rssFeed;
        writeRssFeed.ParseFeedToText("test.txt");
        writeRssFeed.ParseFeedToXML("test");
        Console.WriteLine("Done");
 }
示例#2
0
        public static void Main(string[] args)
        {
            ReadFeed readRssFeed = new ReadFeed("http://www.iltasanomat.fi/rss/uutiset.xml");

            Console.WriteLine(readRssFeed);
            Writefeed writeRssFeed = new Writefeed();

            writeRssFeed.rssFeed = readRssFeed.rssFeed;
            writeRssFeed.ParseFeedToText("test.txt");
            writeRssFeed.ParseFeedToXML("test");
            Console.WriteLine("Done");
        }