|
today
|
|
on subs()
{
local (t);
new (tableType, @t);
for adr in (@aggregatorData.services)
{
local(title = adr^.compilation.channeltitle);
local(channelUrl = adr^.compilation.channellink);
local(rssUrl = nameOf(adr^));
local (l);
new (listType, @l);
l[0] = channelUrl;
l[0] = rssUrl;
t[title] = l;
};
target.set(@t);
table.sortBy("Name");
target.clear();
local(s = "<p class='navsection'>Currently subscribed to:</p>");
for adr in (@t)
{
local(title = string.replace(nameOf(adr^),"'","'"));
local(l = adr^);
local(channelUrl = l[1]);
local(rssUrl = l[2]);
s = s + "<div class='navsection'><a href='http://127.0.0.1:5335/system/pages/subscriptions?url=" + rssUrl + "' title='Radio users: click to subscribe.'><img border='0' src='http://radio.weblogs.com/0100887/images/my/tinyCoffeCup.jpg'></a> <a href='" + rssUrl + "' title='Click to view XML feed.'><img border='0' src='http://radio.weblogs.com/0104487/images/my/TinyXml.gif' alt='RSS link'></a> <a href='" + channelUrl + "' class='navsection' target='_blank'>" + title + "</a><br></div>";
};
s = s + "<p class='navsection'>Here's <a href='http://radio.weblogs.com/0100887/2002/02/24.html#a88'>how this works</a>.</p>";
return (s);
};
|
|
© copyright 2002 by Marc Barrot.
|