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();*/ |