Updated: 9/24/02; 2:48:51 AM.
Jake's Radio 'Blog


Tuesday, May 28, 2002

Mikkel Bruun asked on the Radio UserLand discussion group how to get a 24-hour time-stamp on his weblog posts. Here's a macro for the item template, that returns a 24-hour time stamp. Use it in place of the <%when%> macro:

local (d = weblogData.posts.["<%paddedItemNum%>"].when);
local (day, month, year, hour, minute, second);
date.get (d, @day, @month, @year, @hour, @minute, @second);
hour = string.padWithZeros (hour, 2);
minute = string.padWithZeros (minute, 2);
second = string.padWithZeros (second, 2);
return (hour + ":" + minute + "'" + second)

23:14'14    comment []

Meta Linker

Experimenting with Meta Linker to generate links in my blogroll, to a Blogdex search for the site in question. Interesting stuff. I bet this could be adapted to generate links to a what's-related Google search. I'm sure there are lots of interesting possibilities...
18:46'05    comment []

Survey: How do you find new stuff to read on the Web? [Scripting News]

My answer? All of the above.
18:16'28    comment []

Alan Macdougall is looking for help converting ShadowPlan's XML output to OPML. (ShadowPlan is an outliner for Palm.)
15:01'59    comment []

Dave gave me some feedback on the new blogroll macro. A couple of corresponding changes were just made:

1) The default value for flProcessMacros was changed to false. If you were already using macros in your blogroll, add flProcessMacros:true to the parameters for radio.macros.blogroll.

2) A new optional parameter was added: flXmlButton. If true, then a little orange XML button linking to the OPML source for the blogroll will appear below the links. You can see an example below the links on the left edge of this page.

To get the changes, update Radio.root.

In case you missed it, here are the docs for radio.macros.blogroll.
14:35'56    comment []

© Copyright 2002 Jake Savin.
May 2002
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 31  
Apr   Jun

Radio Stuff


Subscribe to "Jake's Radio 'Blog" in Radio UserLand. Click to see the XML version of this web page.
Click here to send an email to the editor of this weblog.

Click on the coffee mug to add Jake Savin's Instant Outline to your Radio UserLand buddy list.


Click here to visit the Radio UserLand website.