By Nitin on March 12, 2010
Today, while I was working on the URL encoding for the recently released Facebook-style Links module, I realized a bug with Link Attachments feature on Facebook. Before I explain, let us reproduce it: Try to attach the following link on Facebook: http://google.com/search?q=blenders%26pride. This URL actually queries Google for ‘blenders&pride’. Facebook converts/encodes the above URL to [...]
Posted in Drupal, Nitin's Blog | Tagged bug, encoding, facebook, fbsl
By Nitin on March 6, 2010
Feeds Image Grabber (FIG) was released on 3rd March, and currently supports the following features: Automatically downloads and attaches image to the node created by Feeds module. Configurable XPath of the desired image location on the webpage of the feed item on per feed basis (using element’s id or CSS class). Support for FileField Paths module. [...]
Posted in Drupal | Tagged Drupal, feeds, fig, imagegrabber, tutorial
By Nitin on March 3, 2010
Facebook-style Links (FBSL) provides the ability for users to attach and submit links along with their Facebook-style Statuses. Combined with Facebook-style Statuses (FBSS), the FBSL module provides an attach link form that loads via AHAH. Users can then attach a link with an (optional) thumbnail, title and description to their status. In the nutshell, it [...]
Posted in Drupal, Projects | Tagged Drupal, fbsl, fbss, module
By Nitin on March 3, 2010
Feeds Image Grabber (FIG) is the successor project for FeedAPI ImageGrabber to support the Feeds module. FIG parses the Item URL of each feed-item, downloads the appropriate image from the post and maps it to an image field in the node created by Feeds module for that feed-item. [Google Reader (with thumbnails) can be imitated [...]
Posted in Drupal, Projects | Tagged Drupal, feeds, imagegrabber, module
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 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