// archives

Archive for January, 2010

Kindle to India: Frequently Asked Questions

I ordered an Amazon Kindle for a friend of mine.  Before ordering the Kindle, there were various doubts and apprehensions about it’s functionality, cost and shipping to India. It took me numerous Google searches to conclude that Kindle is a safe and good buy for someone in India.

You cannot browse the Web using Kindle (Global Wireless) in India. Image source: Wikipedia.org

Kindle (Global Wireless) Image source: Wikipedia.org

Subsequently, I placed an order on behalf of my friend and the Kindle was shipped to New Delhi, India to my residence in about 2 days. I got to setup, configure and play with this nifty device, before I could hand it over to my friend. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...
Share

Web Scraping with Firefox and PHP, using XPath

Last year, I faced two projects which required automated Web scrapping – to aggregate content from web pages. I evaluated different methods for Web scraping with varied level of success. Thanks to the changing structure of Web pages, non well-formed pages and URL redirects.

Amongst using regular expressions and DOM (Document Object Model) parsing, I used XPath too. XPath works great for well-formed Web pages. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...
Share

Read Only Google Wave

I have been using Google Wave, ever since I got the developer sandbox access in July 2009. Subsequently, I got the invite for the Google Wave Preview. I started putting Google Wave into an obvious use – documentation. For example: I wrote a FAQ (Frequently Asked Questions) about Google Wave itself.

But hell broke loose, when I made the Wave “public”. While it was thrilling to see the comments of the participants, the Wave no longer looked like an organized list of questions and answers. Thanks to the blips (messages) from others inserted in between. What I wanted then, is launched now by Google – Read-only participants. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...
Share

Drupal Views: Hide or display alternate text for 0 (zero) comments

I have been playing with Drupal Views extensively for the last three months for a Website project. Whenever I overcome a hurdle with Views, I end up realizing how powerful and flexible is the Views module. It is just me who doesn’t know all the syntax to tap it’s power. Here is one such example. With about four lines of code, I was able to get rid of an annoyance in an otherwise neat-looking View.

For the Website project, I built a View to show the recent blog posts along with their title, author, post date and the number of comments. All looked fine expect the comments. It pinched me to see “0 comments”, in the View, against the posts, which did not have a comment. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...
Share

My list of must-have Android apps

Ever since I ordered and got my Android Dev Phone 1 (a.k.a. ADP1), I have been taking it through various updates. The phone shipped with Android version 1.0 and upgraded to version 1.6. After 1.6, I opted to go for ROMs from CynaogenMod.

Each time, I upgrade my phone, I wipe off its data. This is because I took the upgrades as an opportunity to wipe off applications which I install, but do not use or use occasionally. But, following is the list of Android applications which I crave to install after each wipe off. These applications are my must-haves on my Android phone. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...
Share

Joomla: Hide breadcrumb on the Home page

Typical requirement this is. You want to display the breadcrumb on the top of every page but the home page – also called the default page or the frontpage in Joomla. This is because you don’t just want the text “HOME” hanging on the top of your Joomla’s home page.

The “Home” may be already highlighted in the main menu, visitors know that they are on the home page and the breadcrumb is not aiding any navigation. Unfortunately, the breadcrumb module (called mod_breadcrumbs) in Joomla 1.5 does not provide any option to hide it on home page and show it on other pages. Read the rest of this entry »

GD Star Rating
loading...
GD Star Rating
loading...
Share

Recent Tweets

Follow Me on Twitter