Posts

Showing posts with the label delicious

Delicious linkroll, revised

Based on this comment in a previous blog post on rolling my own Delicious linkroll , I modified my code to sort the recent bookmarks alphabetically. I also added encoded URIs and escaped HTMLs to — hopefully — make the code XSS-safe. Here it is: Script available at Github Gist. I know, I should have used Delicious' version 2 of the JSON feeds and callbacks — will get to that soon. ;) For now, see the code at work here .

Quickie roundup

Starting today, we're on DST, so a one-hour shift in the work sked. Yaiks. Last weekend, we were off to Taal Vista Lodge in Tagaytay for the Tech University, a two-day company event. The first day started off with an "Amazing Race"-style tech challenge -- a battle of wits to solve real-world cases in 30 minutes or less. At stake: a 4GB iPod nano for each group member (five per group, two categories, SMB and enterprise). Unfortunately, we didn't win, so there goes the nano. :P Sunday was capped with a teambuilding activity, complete with a motivational talk by APO Jim Paredes (something about creativity -- I didn't get to go through that one straight on, had to chow on the sumptuous buffet breakfast at the Cafe-on-the-ridge, heh). Got sick on purpose yesterday, so I could be with Peng and Gab at home. I really needed that. Tiyo Paeng was raging, so we snuggled in bed, and went through three "American Tail" DVDs (Gab's current fave). Didn't...

Yummy?

Buy-off anxiety? Del.icio.us ( recently bought by Yahoo! ) has been buggered lately. It still shows bookmarks, but I can seem to do anything else. Can't fetch JSON objects, too. Oh, well...

Link blogging

Lately, I've been reduced to link blogging, instead of writing full-blown treatments of things I want to blog about. Call it laziness or whatever, but I've been hooked to tagging! I pass through an interesting site, I invoke my bookmarklet shortcut for posting to del.icio.us , jot down a note about it, then I'm off to another link. The result: lots of del.icio.us bookmarks and not enough substantial reading. And it's disturbing. I'm addicted to meta. Ack!

Roll your own del.icio.us link roll

There is, of course, a ready-made Javascript code to include the latest del.icio.us postings to your blog or web page, but if you want to 'beautify' it, take a look at what I've done. I used del.icio.us' JSON object, named Delicious.posts that contains the latest bookmarks. I snatched the code from the del.icio.us JSON help page and added a few enhancements, like the extended note and the associated tags. This is the code: latest del.icio.us postings \\ latest del.icio.us postings First, set up the HTML container for the heading and the postings. The Delicious.posts object is fetched using: The script iterates through the object, parsing the URL ( Delicious.posts[i].u ), description ( d ), and extended note, if any ( n ). The inner j loop iterates through the tags ( t ). The script also fetches the page icon of each link. To roll your own, just replace the username in: and var tagu = 'http://del.icio.us/iandexter/' + post.t[j]; Paste in the code som...