Friday, November 11, 2005

Developing scripts with Radio UserLand


Radio UserLand has a scripting language (UserTalk) which can be used to write scripts to perform various tasks to publish web pages, customize your weblog, and much more. The DirectoryTool, released earlier this week, has several scripts that perform the work of rendering a directory from an OPML file. Matt Neuburg's Serious First Steps in UserTalk Scripting is an excellent tutorial for learning the basics of UserTalk. The scripts section of the Radio UserLand Resource Directory offers a number of scripts ready for exploration:

UserLand sample code directory

Bring up Radio.root from the Window menu in Radio, then double-click on the workspace table. You will see a table called userlandSamples. This is a collection of UserTalk scripts which exercise some of Radio UserLand's functionality.

UserLand Software's Sample Scripts - 1997 site old but good, simple scripts, easy to read, easy to try (many scripts are Mac only)
Script by Paul Victor Novarese to create a HTML page with a monthly archive of Radio weblog posts (other notes here).
Script by Garth Kidd for forcing an immediate News Aggregator scan
Code snippets from Garth Kidd on getting file paths given a URL. Robert Slotboom also provides a script in this thread.
Thread discussing code to post items from the News Aggregator to your web site without the editing step
Nicholas Riley script to allow access to Radio UserLand menus from Radio's dock icon on Mac OS X
DSFinder by Brent Simmons - adds a pop-up command to allow you to easily access the DocServer web site to look up UserTalk verbs when developing scripts or Tools in Radio UserLand
pySplice by Greg Pierce - a suite of scripts for UserLand Frontier or Radio UserLand that implement string and list slicing, based on index values (ie, [OE]1:3¹)[~]the same way slicing is implemented in the Python language.
Andy Fragen script page - lots of script for various applications in Radio UserLand


comment  trackback []  10:35:36 PM