Friday, June 6, 2008

Nanay's birthday

Happy 61st birthday, Nanay!

more > | full >>

Saturday, April 19, 2008

plumber!s toolbox

Hey there! I've been quite busy lately, but not too busy to launch another site. ;-) plumber!s toolbox has my latest modules, tips, and tricks for Yahoo! Pipes.

Do check it out... thanks!

pipes.tumblr.com

more > | full >>

Monday, March 24, 2008

Google Gadget + OpenSocket = Facebook app

I converted my scifAI Google Gadget to a Facebook app via OpenSocket. It was a relatively painless procedure, though I did have to make allowances for the way Facebook rendered the app. Also, the code generated by OpenSocket still has some issues with the app's canvas height, so I also added the comments for a particular post just to use some of the extra space.

My pet peeve is that an iframe app in Facebook needs a "screenshot" that must be clicked before the app is activated. I don't know if this is a technical or business requirement, but it sure makes the end-user experience suck. I guess it's time to learn FBML.

Put it in your Facebook profile here or view the source code here.

more > | full >>

Friday, March 21, 2008

scifAI Google Gadget

In celebration of World Poetry Day (right...), I published my first Google Gadget, for scifAI. Here it is:

Drop this on any web page using the code generated here.

You can, of course, add this to your iGoogle page as well. Go ahead, you know you want to. ;-)

Source code is over here. (Smaller version here, code here.)

more > | full >>

Tuesday, March 18, 2008

Gari's birthday

It's Gari's birthday... yey! Happy birthday, bro!

Had a great time with the most of the gang (hi Togz!) last Sunday at Clint's place in Antipolo. Thanks, Clint... finally! ;-)

Sa uulitin!

more > | full >>

Monday, March 10, 2008

Tumblr hack: A real tag cloud

Tumblr may come up with "real" tag browsing soon, but meanwhile, here's a tag cloud that -- unlike third party services -- uses the actual tags that you assign to your posts.

Basically, the script calls the Tumblr JSON API and processes the posts, 50 at a time (the maximum allowable; configurable). It saves the tags, URLs, and a bit of the content. If there are any remaining posts, it keeps on doing this until it retrieves all of them, or reaches a preset maximum (150 by default, or thrice). It then renders the tags in varying font sizes depending on the total number of times each tag was used.

By default, links are created for each of the tags. Clicking on a tag will generate a list of posts with that particular tag. [ Hey Tumblr! A /tags/<tagname> path that only shows posts with that tag would be nice. :-) ]

I used Jason Levitt's Dynamic Script Tag class to call the Tumblr API as many times as required.

Here's*** the quick-and-dirty demo script showing the tags from my scifaiku site (again). If you do use it, please send me your URL via a comment. :-)

*** Update: The original one didn't use the titles (I had no titles in scifAI, originally) but instead parsed the content up to the first HTML tag. Here is a more generic one, using post titles.

more > | full >>

meanwhile, over at alexandr...