Chris In Michigan
The (mis)adventures of a geek in the Great White North
Last Updated 8/5/2002; 10:09:13 PM
 
Click to see the XML version of this web page.

Subscribe to "Chris In Michigan" in Radio UserLand.
 

Tuesday, January 29, 2002

I'm going to bed now.  I think I'll read my current book :)
11:32:55 PM    

Another note, Radio is definitely a viral app. All you need is one reader and your hooked.

[Micah's WeblogRight back atcha.
11:32:32 PM    

Micah: I've added Chris's CurrentBook tool to my site.  It was super easy.  Nice job Chris!  Cool! That was quick!  Thanks!


10:44:56 PM    

I feel powerful and good.  I have implemented my first Radio UserLand tool.  It's very simple, but it's been very instructive, and hey, I like it.  It's not 100% yet, I'd call it a beta (I left the version label at 0.1), but I'm anxious to see how it works for other people.

It's called CurrentBook.  Drop CurrentBook.root into your {radio_root}/tools directory and restart Radio.  Then go to your Tools; you should see "CurrentBook" in the list.  Click on the name (or click here) and the tool panel appears.

The default book is Radio Days (never read it, I picked it for the title), but you set it to whatever you like.  I use Amazon's links and images, use whatever you like.

When you're done, add the following somewhere to your homepage template:
<%CurrentBookSuite.myCurrentBook()%>
And you'll get your image, link, and name, not unlike what appears on the right side of this weblog.

Even though it's simple, I'm sure there's a bug somewhere.  Like Dave says, I make shitty software.  Also, I hope in the future to allow you to build a stack of books you've read that your users can browse, just to play a bit more with the object database concept.

Now, a question for the people who know what they're doing when it comes to UserTalk and scripting Radio: Did I do it right?  Is there a way to do it without building a tool?  Should I have wrapped the call to CurrentBookSuite.myCurrentBook() in a more appropriately named macro?

Input requested.  Let me know how it works out for you.


7:40:21 PM    

Micah wants to know how I did the "Current Book" thing.  Currently, it's entirely static.  I want to automate it, but I need to figure out Radio's object database first.
8:05:17 AM    


© Copyright 2002 Christopher T. Nitchie

Click here to visit the Radio UserLand website.

 
January 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    
Dec   Feb


Categories:
Home Page
Geek Stuff
Personal Stuff
 

  Current book:
1916

days until the wedding!
My Amazon Wishlist
Click here to send an email to the editor of this weblog.