Updated: 9/20/04; 7:52:22 PM.
Fluid Flow: Frontier and Radio
Most of my work is in Frontier and Radio. This is a log of what I am working on, problems I am having, and solutions I've found.
        

Wednesday, April 2, 2003

One of my biggest frustrations with working with UserLand products is the degree that appearence is hard coded into the html and xml output. This morning I spent an hour tracking down why the username appears in the title of a catagory rss feed, but not in the main rss feed for the site.

Finally I found the culprit, radio.weblog.publishCatagoryRSS, and the line:

local (title = user.prefs.name + ": " + adrcat^.displayName, description = "", language = "none")

I can't figure out why the users name is needed in the title. My first thought was to replace the code with a version that doesn't add the user name to the title. But this can get squashed with an update.

I suppose that I could make the change through a callback. But I have never found the callback procedure to be very intuitive. And in this case, it doesn't look like I can use a callback to just change one variable, the callback needs to be a complete replacement for radio.weblog.writeRSSfile.

Update: The callback method doesn't seem to work. The script radio.weblog.writeRSSfile runs even if you try to use a callback to replace it. The callback is made within a try statement, so the return statement just returns you from the try statement, not the entire writeRSSfile script. So the rest of the code executes with the existing values, and you can't actually change the script's behavior.

I repeat, this is more frustrating than it needs to be.
10:31:32 AM    
Comment []


© Copyright 2002-2004 Tom Clifton.
 
April 2003
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


Click here to visit the Radio UserLand website.

Subscribe to "Fluid Flow: Frontier and Radio" in Radio UserLand.
Click to see the XML version of this web page.