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

Comparing trunk/Atom.cpp (file contents):
Revision 36 by douglas, 2004-07-22T01:19:40-07:00 vs.
Revision 39 by douglas, 2004-07-23T17:52:53-07:00

# Line 20 | Line 20 | Atom::Atom(const Buddy& buddy, const std
20          atom.CloseElement();
21          atom.OpenElement("link");
22          atom.SetAttribute("rel", "alternate");
23 <        atom.SetAttribute("type", "text/html"); // XXX
24 <        atom.SetAttribute("href", "http://computers.douglasthrift.net/zoe.xml");
23 >        atom.SetAttribute("type", "text/html");
24 >        atom.SetAttribute("href", buddy.getLink());
25          atom.CloseElement();
26          atom.OpenElement("author");
27          atom.OpenElement("name");
# Line 30 | Line 30 | Atom::Atom(const Buddy& buddy, const std
30          atom.CloseElement();
31          atom.OpenElement("tagline");
32          atom.SetAttribute("mode", "escaped");
33 <        atom.OutputText(ext::String(buddy) + "'s AIM Away Messages from the past 30 days.");
33 >        atom.OutputText(ext::String(buddy) + "'s AIM Away Messages from the past 30"
34 >                " days.");
35          atom.CloseElement();
36          atom.OpenElement("generator");
37          atom.SetAttribute("url", Zoe::generator(Zoe::url));
# Line 50 | Line 51 | Atom::Atom(const Buddy& buddy, const std
51                  atom.CloseElement();
52                  atom.OpenElement("link");
53                  atom.SetAttribute("rel", "alternate");
54 <                atom.SetAttribute("type", "text/html"); // XXX
55 <                atom.SetAttribute("href", "http://computers.douglasthrift.net/zoe.xml");
54 >                atom.SetAttribute("type", "text/html");
55 >                atom.SetAttribute("href", buddy.getLink());
56                  atom.CloseElement();
57                  atom.OpenElement("id");
58 <                atom.OutputText("zoe:" + ext::String(buddy) + ":" + message->getStamp().getW3());
58 >                atom.OutputText("zoe:" + ext::String(buddy) + ":"
59 >                        + message->getStamp().getW3());
60                  atom.CloseElement();
61                  atom.OpenElement("modified");
62                  atom.OutputText(message->getStamp().getW3());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines