Toggling the Google Reader Shared Items Panel

I’m a fan of Google Reader. Although FeedDemon went free recently and it offers synchronization with NewsGator which is great attraction for many people, I still couldn’t drop Google Reader. However the panel above the subscription list takes up too much space for my humble screen resolution of 1024×768. As Google rolled out the much […]

JSEclipse vs Aptana – Quest for the Best JavaScript Editor

I saw on the web many discussions about “the best JavaScript editor”. This kind of discussions are quite like “the best PHP editor”. Neither of these two languages has a good editor as other languages like C++/Java. The difficulty in making a good PHP editor is that PHP codes are always mixed with HTML. And […]

Perfect Excerpt in the WordPress Way

When I started working on the Neighbor Post Preview plugin, I expected WordPress to have a built-in function to get an excerpt from an arbitrary post. But it doesn’t have one, sadly. There is only an the_excerpt tag for use within The Loop. It’s defined in wp-includes/post-template.php (version 2.3.2 code): function the_excerpt() { echo apply_filters(‘the_excerpt’, […]

JavaScript Variables Notes

From: Core JavaScript 1.5 Guide:Variables – MDC Declaring a variable without “var” keyword always declares a global variable and generates generates a strict JavaScript warning. So don’t omit the “var” keyword. JavaScript does not have block statement scope; rather, it will be local to the code that the block resides within. In JavaScript you can […]