Instead of returning n random favorites, my version returns n favorites in order from the most recently updated to the least recently updated.
My version adds an optional parameter which limits the length of the favorite's name as it appears in the returned text. I've found that some of the names are ridiculously long and cause design problems. the default max length is 24 characters. If a favorite's name is longer than 24 characters, then it will be truncated by taking the first 21 characters and adding 3 periods (points of Ellipsis).
My version also adds a "title" attribute to the anchor tag (a.k.a. link) which shows the time that the favorite was updated.
To set up your own Favorites Macro:
Copy the following code:
Paste the code into a new document in your favorite text editor.
Save this document in your Radio UserLand/Macros folder, as "jtcFavoriteWeblogs.txt".
Now to use this Favorites Macro:
Copy the following code:
Paste the code where ever you want (in your posts and/or templates).
This macro can also be implemented as a Web Service.
Special Thanks to Dictionary.com for showing me how to distribute code snippets without the recipient unintentionally picking up invisible characters which render the code inoperable.