ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Rss.cpp
(Generate patch)

Comparing trunk/Rss.cpp (file contents):
Revision 12 by douglas, 2004-07-10T01:46:06-07:00 vs.
Revision 13 by douglas, 2004-07-11T23:49:09-07:00

# Line 5 | Line 5
5   // $Id$
6  
7   #include "Rss.hpp"
8 +
9 + /*      api::FileOutputStream fout(this->rss != "-" ? this->rss : "/dev/null");
10 +        xml::TextWriter rss(this->rss != "-" ? fout : api::Cout.GetStream());
11 +        xml::ScopeElement root(rss, "rss");
12 +
13 +        rss.SetAttribute("version", "2.0");
14 +
15 +        xml::ScopeElement channel(rss, "channel");
16 +
17 +        rss.OpenElement("title");
18 +        rss.OutputText("Zoe's Away Messages");
19 +        rss.CloseElement();
20 +        rss.OpenElement("link");
21 +        rss.OutputText("http://computers.douglasthrift.net/zoe.xml");
22 +        rss.CloseElement();*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines