This page has moved to
http://www.superluminal.com/dave/weblog/archives/2002_04_21.html
You will be redirected to that page in 10 seconds.
New RSS feed at
http://www.superluminal.com/dave/weblog/index.xml
Holons, nothing but holons.
Sunday, April 21, 2002
« Port redirection hint »
I run Radio on my laptop, and when I access Radio via the browser (as opposed its native UI), I almost always do it from a desktop machine. At home, my desktop PC runs Linux, with Mozilla or Galeon as the browser. At the office, my desktop PC is a WinXP machine with IE6.
This works fine until I get to another Radio site and click on a coffee cup icon to subscribe to an RSS feed or an Instant Outline, because these links always use 127.0.0.1:5335 as the host address. Now this is fine for most people, but if you run Radio on a different machine, as I do, then it's a pain: I get a 404, then I have fix the address field in my browser to replace 127.0.0.1 with the name or IP address of the laptop.
Well, I finally got tired of this, and realized I need a way to redirect 127.0.0.1:5335 to laptop_IP:5335. I've got Apache running on my home PC, so I messed with mod_proxy and mod_rewrite, but I couldn't figure out how to redirect based on the incoming port. So I Googled for "port redirection" and found a nice program called rinetd, which makes the whole thing really simple. I've only tried the Linux version so far. It's a simple daemon that reads a configuration file in which each line is of the form:
from_address from_port to_address to_port
This works great. I'll try the Windows version tomorrow at work.
P.S. OK, I found one circumstance where the forwarding doesn't help: if I click on someone's OPML coffe mug, Radio pops up a (native, not browser) window asking for confirmation of the subscription request. Obviously, the popup window appears on the machine running Radio. Drag, but it *is* a beta. I don't think this happens with an RSS coffee mug. Lemme open another Mozilla tab (too bad IE can't do that) and try it...no, that works just fine.
« Annotated IO Buddies List »
The IO Buddies list as currebtly implemented in Radio is a bit limited compared to other Radio outlines, in that it consists solely of outlineBuddyElement nodes, and I can't rename them, or promote/demote them, nor can I add other node types (at least through normal editing in the UI). So, as an experiment, I saved my Buddies list as an OPML file, and now I can do all of these things. Here's the URL: http://radio.weblogs.com/0100130/instantOutliner/annotatedBuddies.opml. Now I can categorize and rename the nodes. The main limitation I see so far is that this outline isn't connected to the mechanism in Radio that keeps the real Buddies list in sync with weblogs.com, i.e., if one of the subscribed outline pings weblogs.com, it doesn't turn bold in this version of the list.