Salon Blogs
A Workbench visitor asks: How can I use Radio to render .php files instead of .html files when upstreaming? The file extension is determined by the #renderedFileExtension directive. By default, files are rendered with the .html extension. To set the extension to .php for an entire folder and its subfolders, edit the #prefs.txt file in that folder and add this line: #renderedFileExtension "php" Here's an example: the xmas.txt file and the xmas.php page it produces. To set the extension only for ... (
read more)
I'm using Radio UserLand's categories feature to publish a new weblog at a separate domain. Orlando Vacationer is a weblog devoted to "Disney discounts, park perks, and tourist tips" for the Mouse-infested city that I visit with my family around 8-10 times a year. The domain is new and may not have propagated to all parts of the Internet yet, so if it can't be reached, try its category address. I'm going to write an article on Workbench about using Radio to publish a category that looks like an ... (
read more)
Radio UserLand tip: To add a date to the title of each daily archive page, add the following UserTalk code inside the title tag of the home page template (#homeTemplate.txt): <%local (d); if radio.weblog.file.getArchiveFileDate (radioResponder.fileBeingRendered, @d) {": " + string.dateString (d)} else {""}%> This code will be replaced with the date in the form "Monday, June 30, 2003" (example). ... (
read more)
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)
According to Salon's 2003 annual report, two companies are going to start bundling its content this month with other providers for a combined subscription. There's lots of stuff in the report to excite the vultures who have been prematurely celebrating its demise for years, along with a few bright spots. Subscription revenue is up 60 percent, to $1.9 million, and yearly subscribers are renewing at a rate of 71 percent. It owns $5.5 million in television advertising credits that are being sold ... (
read more)
Brent Simmons offers a handy tip for Radio and Frontier programmers: How to extract text from a word-processing text object. ... (
read more)
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)
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)
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)
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)
Read More Entries