Here's a nice script I thought I'd share. (My Python script generating such
a list from mySubscriptions.opml stopped working at some point, but at
least I'm familiar with Python module xml.dom.minidom now.)
I have it as www/feeds.txt, so it generates
http://markpasc.org/blog/feeds.html . Questions follow.
#title "Feeds I read: markpasc.blog"
<h1>Feeds I read</h1>
<ul>
<%
local (agd = xml.aggregator.init (), ret = "");
for service in @agd^.services {
if 0 < sizeof (service^.compilation) {
with service^.compilation {
ret = ret + "<li><a class='orangeXml' href='" + nameof(service^) + "'
title='" + channeltitle + " in XML'>XML</a> <a href='" + channellink + "'
title='" + channeltitle + " in HTML'>" + channeltitle + "</a>: " +
channeldescription + "</li>\n"; }; }; };
return ret
%>
</ul>
Is there a list of callbacks Radio provides? Are there only the ones in
user.radio.callbacks, xml.aggregator.init ()^.callbacks, and
radio.weblog.init ()^.callbacks?
It'd be terribly useful to touch www/feeds.txt whenever a feed is
subscribed or unsubscribed. Are there likely to be callbacks for those events?
In reference to my earlier post about a message-posting tool, is there
likely to be an "itemPosted" weblog callback?
Is "user.radio.prefs.wwwfolder" the optimal way to find the www folder's path?