Search the web
Sign In
New User? Sign Up
radio-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Sample feeds.txt for your perusement, and questions   Message List  
Reply Message #3258 of 8443 |
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?




Fri Jan 4, 2002 8:44 am

markfoxie
Offline Offline
Send Email Send Email

Message #3258 of 8443 |
Expand Messages Author Sort by Date

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...
Mark Paschal
markfoxie
Offline Send Email
Jan 4, 2002
8:46 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help