ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Rss.cpp
Revision: 13
Committed: 2004-07-11T23:49:09-07:00 (20 years, 11 months ago) by douglas
File size: 577 byte(s)
Log Message:
Made classes.

File Contents

# Content
1 // Zoe AIM Away Message RSS Feed Generator
2 //
3 // Seth King and Douglas Thrift
4 //
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();*/

Properties

Name Value
svn:eol-style native
svn:keywords Id