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("link"); |
27 |
> |
atom.SetAttribute("rel", "alternate"); |
28 |
> |
atom.SetAttribute("type", "application/rss+xml"); |
29 |
> |
atom.SetAttribute("href", buddy.getRssLink()); |
30 |
|
atom.CloseElement(); |
31 |
|
atom.OpenElement("author"); |
32 |
|
atom.OpenElement("name"); |
35 |
|
atom.CloseElement(); |
36 |
|
atom.OpenElement("tagline"); |
37 |
|
atom.SetAttribute("mode", "escaped"); |
38 |
< |
atom.OutputText(ext::String(buddy) + "'s AIM Away Messages from the past 30 days."); |
38 |
> |
atom.OutputText(ext::String(buddy) + "'s AIM Away Messages from the past 30" |
39 |
> |
" days."); |
40 |
|
atom.CloseElement(); |
41 |
|
atom.OpenElement("generator"); |
42 |
|
atom.SetAttribute("url", Zoe::generator(Zoe::url)); |
56 |
|
atom.CloseElement(); |
57 |
|
atom.OpenElement("link"); |
58 |
|
atom.SetAttribute("rel", "alternate"); |
59 |
< |
atom.SetAttribute("type", "text/html"); // XXX |
60 |
< |
atom.SetAttribute("href", "http://computers.douglasthrift.net/zoe.xml"); |
59 |
> |
atom.SetAttribute("type", "text/html"); |
60 |
> |
atom.SetAttribute("href", message->getLink(buddy)); |
61 |
|
atom.CloseElement(); |
62 |
|
atom.OpenElement("id"); |
63 |
< |
atom.OutputText("zoe:" + ext::String(buddy) + ":" + message->getStamp().getW3()); |
63 |
> |
atom.OutputText(message->getTag(buddy)); |
64 |
|
atom.CloseElement(); |
65 |
|
atom.OpenElement("modified"); |
66 |
|
atom.OutputText(message->getStamp().getW3()); |