Radio Userland

10,000 reasons to read Adam Curry

Adam Curry has revealed an interesting investment he made in UserLand 18 months ago: He paid $10,000 for his weblog to be included in Radio's default RSS subscriptions. Now he thinks the Echo Project's work is undoing his canny marketing: I will again invest $10k in aggregator default placements this year, but I will spread it around, to all developers who adhere to RSS2.0. Include (N)echo and you're out of luck. I don't understand his concern. If an aggregator can read a format, so can its ... (read more)

Working with text in Radio and Frontier

Brent Simmons offers a handy tip for Radio and Frontier programmers: How to extract text from a word-processing text object. ... (read more)

Radio UserLand loop has my head spinning

I've run into some unexpected behavior in UserTalk while documenting loop loops for Radio UserLand Kick Start. The following code ends up with a final displayed value of 3.4 in the About Radio UserLand dialog box: loop (local (i = 0.1); i ... (read more)

Good docs for UserTalk programmers

One of the things I recommend in Radio UserLand Kick Start is for aspiring UserTalk programmers to frequent DocServer, the online documentation for UserTalk verbs. Although there are some omissions -- for instance, none of the radio verbs have been documented -- most of it appears to be correct as of Radio 8. ... (read more)

Creating an index of weblog posts in Radio

Inspired by Rob Henerey's suggestion, I've written a Radio script that displays an index of weblog posts for the main weblog or a category. Looking at the output of the scripts, I wish I had started writing post titles earlier than February. ... (read more)

Patching Radio to support RSS filtering

Matt Mower offers one line of code that UserLand can add to Radio so that the storyArrived callback can be used for my incoming RSS cleaner and other RSS scripts. I've tried his suggested patch and it works. ... (read more)

UserLand: The next weblogging buyout?

Roland Tanglao writes in a comment to Workbench, "Too bad UserLand doesn't seem to have the money to hire one developer for each platform (Frontier, Manila and Radio) and the right number of support people, because if they did there's no way MovableType or anybody else could keep up with them." After Google bought Pyra and Moveable Type's developers secured venture financing, UserLand Software is the last chance for an outside company to buy their way into overnight credibility in weblog ... (read more)

Radio UserLand: This way lies madness

For Chapter 21 of Radio UserLand Kick Start, I'm working on a gateway tool that posts weblog entries via HTTP POST to any Web CGI script, even if it requires cookie-based authentication. As a demonstration, the tool is mirroring the last five Workbench posts to my Metafilter user page (login required to view). Radio gets knocked for being maddeningly complicated when you venture beyond the "five minutes to first post" features, and in some ways working with the software promotes Apocalypse ... (read more)

Restoring a Radio weblog from HTML files

The worst-case scenario for new Radio webloggers is to delete the Radio UserLand installation folder or lose it in a crash without a backup. Many new users believe that because their weblog is still on the Web, it can be easily restored from backup. Unfortunately, this is only true if the user has turned on nightly backups. Otherwise, there's no automated way to grab the entries from HTML Web pages and save the data in weblogData.root, the database in the Data Files folder where the entries and ... (read more)

Preventing RSS exploits with Radio

I'm working on a Radio script that addresses RSS exploits. Mark Pilgrim's suggestion of weeding out the unsafe HTML seems futile. Instead, the script removes all HTML tags and attributes other than a small subset that can't be abused: P, B, I, BR, and BLOCKQUOTE (all without attributes), A (with HREF only), and IMG (with SRC, ALT, HEIGHT, and WIDTH only). I'm hoping the script also has the side benefit of making RSS entries easier to read. The script works on the text of entries, but I can't ... (read more)