By Nitin on May 8, 2010
I discussed a little about URL encoding in my recent post Facebook: Bug with URL encoding, although it seems like the bug still exists. In this post I will discuss “how to encode a given URL before accessing it using CURL or fsockopen”. The problem with URLs is that they might contain certain disallowed characters [...]
Posted in Nitin's Blog | Tagged encoding, facebook, php, URL
By Nitin on February 20, 2010
I often come across this question from my friends and peers and most of the time I deflect it by saying “it lets you create your website easily, why don’t you look up on Wikipedia?”. Few days ago, one of my friends pointed me that most of the articles start with “Drupal is a Content Management [...]
Posted in Drupal | Tagged Drupal, mysql, php
By Nitin on January 11, 2010
Although the third party bookmarking and sharing tools are quite useful to analyze the sharing trends on your blog, they do slow down the whole process of sharing. Also, as mentioned in my Sharing and Bookmarking Tools post, I was not comfortable with the small icons available with Bookmarkify and Socialable. WP ShareThisPost is a [...]
Posted in Projects, Wordpress | Tagged bookmarking, php, plugin, sharing, Wordpress
By Nitin on October 3, 2009
Recently, while working on my project FeedAPI ImageGrabber I came across the issue where I had to select HTML elements by a given css class. The HTML element can have a single CSS class: 1<div class="foo"></div> or multiple CSS classes associated with it. 1<div class="foo exp tar"></div> Now if you want to select the HTML [...]
Posted in Drupal | Tagged css, Drupal, php, xpath
By Nitin on July 15, 2009
Until sometime back, I was unaware of how I could get the value of an auto-incremented field after an Insert Statement. But recently I needed it for two of my projects simultaneously, so I explored the possibilities. As one of my project is in Java and other is in PHP, we will go through both [...]
Posted in Nitin's Blog | Tagged Intern, java, mysql, php
By Nitin on April 14, 2009
It takes me quite a lot of time to write a post here, mainly because I have very less going on in my life at the moment. But if you were following this blog closely (I know you weren’t ), you might have noticed that I kept playing with the SHARING and BOOKMARKING tools. I [...]
Posted in Nitin's Blog | Tagged php, Wordpress