Skip navigation

Category Archives: Web

Stories tagged ‘Web’

YouTube API Bookmarklet

To download video from YouTube, drag the bookmarklet below to your bookmarks toolbar. You can then click on it whenever you are visiting a YouTube video URL to download the FLV video featured on that page.

YouTube

This was made possible by ctrl-c.org YouTube API. I put together the bookmarklet because Adobe’s 32 bit Flash plugin is usually not very happy in a 64 bit environment on GNU/Linux. Now I can watch everything fullscreen in MPlayer.

Gmail — The Sequel

Whoo hoo!

When I turned on my desktop computer this morning the Gmail tally in my taskbar had some trouble logging in. Worried that I had lost my internet connectivity (not that unusual if you’re a Blixtvik customer) I fired up Firefox and logged into Gmail. It worked. Then I noticed the Older version link at the top right hand corner and realized that Gmail version 2.0 had arrived!

It’s not just faster. Or the undo messages in a paler shade of yellow. The URLs are finally meaningful. For example:

https://mail.google.com/mail/#all

Show you All Mail, while…

https://mail.google.com/mail/#drafts/10d2c8f89c01a8fe

…is a specific mail, in this case a draft.

Last.fm Radio Protocol

During the weekend I decided to hack together my own last.fm radio player in Python. I had found the My Playlist station pretty useless after being treated to the same three songs over and over again, and set out to code a player that would autoskip any songs I’ve already listened to once during a “session”.

So I combed the web and the official developer forum for useful information and even ended up digging into the official desktop client source code to find the answers to my questions. All information needed to implement a client (bar already officially documented components) have now been compiled into one spec-like entry in my last.fm journal.

Footnotes

Here is a WordPress plugin that I had almost forgot about only to “rediscover” it during an upgrade of WordPress. The main reason being that it is a drop in replacement for Rochus Wolff Endnotes plugin which I didn’t realized that I had replaced. The main difference is that the drop in replacement don’t need any hacking done to wp-include/functions.php and has a simpler implementation.

Read the full story

Poor Mans Edge-Cache

I have been playing around with the Amazon Web Services and S3 in particular over the last couple of days. It’s something I have planned to do for a long time now but never have come around till now. But I got a kick in the but to wake up and smell the Amazon Kool-Aid (ok, too many mixed metaphors and pop-cultural references) when I heard Jeff Barr’s presentation “Web Services: Fuelling Innovation and Entrepreneurship” from d.Construct 2006 about AWS, especially how easy it is to get started and play around with the services. One of the tools he mentioned, S3 Firefox Organizer, a Firefox add-on, had me up and running in matter of minutes.

Read the full story

My Adactio Comment

My comment over at Jeremy blog managed to get somewhat botched so here is it in its original glory:

My approach from now will be fluid layouts using max-width (or “telescoping” layouts as I like to call them) and deal with IE6 using Dean Edwards IE7 script as Eric pointed out a long time ago (at least in internet time).

That leaves us with IE6 browsers with JavaScript turned off and other non-webstandard complying browsers. My hunch is that a fluid layout will look pretty decent in these cases anyway. In terms of Yahoo Graded Browser Support: these aren’t our A-grade browsers. One can not make a web site look exactly the same for all types of browsers, but then that’s the idea behind going fluid.

I haven’t yet managed to read through all the other comments that post generated. It’s a nice concept that Jeremy has going by the way, allowing commenting on posts selectively and not display them publicly until the commenting is closed.

No Apparent Transparent

I can’t figure out why the PNG transparency wont apply to the artwork in my previous “Redesign Chronicle” when viewing the post in IE6 — despite the fact that I’m using Dean Edwards IE7 script and the files end in -trans.png. Arrrgh!

Update: I’ve cracked it! Turned out that it was the PNG files themselves. The illustrations were drawn with Inkscape as vector graphics (SVG to be precise) and rasterized as PNG with the softwares own bitmap exporter. However, Inkscape seem to produce PNG files that Internet Explorer doesn’t like and the transparency bugfix can’t do anything about. But the solution was simple: just open each PNG file in Gimp and re-save it. Of course, I could also have opened each SVG file in Gimp and saved the PNGs from there.

Creeper