Quickie Radio Tidbits

(Back in 2003 I ran a moderately popular tech blog on the Radio UserLand platform. This is an archived version of a post from that blog. You can view an index of all the archived posts.)

Monday, 11 August 2003

  • Radio now supports TrackBack. See TrackBack for Radio for details, but the gist of it is this: (a) enable TrackBack through your TrackBack preferences page then (b) invoke the <%trackbackLink%> macro somewhere within your item template.
  • As you can see, I've got trackback links turned on in this blog now. I've also added direct (non-JavaScript) links to my comments and trackback pages. I did this by adding <%radio.weblog.getCommentLink(<%itemNum%>, adrblog)%> and <%radio.weblog.getTrackbackLink(<%itemNum%>, adrblog)%> calls to my item template.
  • I've finally figured out where many of the built-in Radio macros are stored. From the Radio application, go to Window:Radio.Root:system:verbs:radio:weblog. The system/verbs tree has a number of nifty macros, including radio.weblog.getUrl, which generates the absolute URL of your Radio homepage. This is the answer to a question I had previously asked.
  • Another pair of interesting macros I discovered there are radio.macros.previousDayLink and radio.macros.nextDayLink, which should generate day-to-day links in your archive pages. I've got this set up in my archives now, but there seem to be minor problems here and there. For example, the previous day link from Wednesday, 16 July 2003 goes to Monday, 14 July 2003, skipping over the post on Tuesday, 15 July 2003.

When I get a chance, I'll type these up for my Radio Tidbits page.

PS: I'd love it if someone could point me to a definitive reference to Radio's scripting language.

This page was generated at 4:16 PM on 26 Feb 2018.
Copyright © 1999 - 2018 Rodney Waldhoff.