Nicholas Riley’s Weblog
Thoughts from a computer science graduate student,
medical student and Cocoa programmer (this week).

Skip over navigation
April 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Mar   May

made with
Click here to visit the Radio UserLand website.

Click to add Nicholas Riley's Instant Outline to your Radio UserLand buddy list.

 

>
Monday, April 29, 2002
 
Megan Seling and Min Liao (I think Nicholas is the only person who can see these subjects). I learned yesterday that Brian Goedde, The Stranger's calendar editor and token hiphop writer, has moved on. His replacement first... [bumppo.net]

Yes, I see it. 4:11:59 AM | reply []

If you're not familiar with Frontier or Radio, just ignore the rest of this post... it probably won't make much sense!

Almost there, but I'm stuck. I figured out a way to embed #directives in an OPML file so they aren't visible, but ran into problems calling Radio's rendering scripts from the saveWindow callback.

radio.webServer.setTemplate refers to pta^.path, but radio.html.publishStaticPage doesn't set the 'path' attribute of the pagetable, and it circumvents any attempt I make to set a pagetable. I should have checked this before carefully constructing a fake pagetable to pass it... as is, the only way to insert directives is by modifying radio.data.website.["#prefs"], which is horribly ugly. radio.data.website is the fake website framework root in which Radio pages get rendered (always in the same place, radio.data.website.default) before being upstreamed.

It turns out publishStaticPage is only called from a try within a webserver request. This may indeed be a dead codepath, and any exceptions caused thereby are simply ignored.

More digging to commence next weekend. I should probably start with radio.upstream.getUpstreamText, which is definitely called, and write the file into the www directory myself, letting the standard upstream mechanism deal with it. However, writing rendered files into the www directory is against the philosophy of Radio as I see it, so it's an ugly hack at best.

Or, perhaps, I could do the opposite: upstream the OPML file by somehow turning off #flRender, and letting regular upstreaming handle everything else.

Thanks to my sustained hacking effort, I didn't get a chance to convert the icons. That I can do tomorrow, though... 4:00:55 AM | reply []

I love the humanity of code, especially when I find a particularly colorful statement in it. For example, in Frontier.tools.windowTypes.callbacks.openWindow, there's a bundle of commented-out code with an interesting comment. 12:57:42 AM | reply []

Jim has a new design! Very nice looking! (Keep it!) 12:35:05 AM | reply []


Looking for older (or newer) material? Click another date on the calendar at the top of this page.