Online Home Library management

September 11, 2007

One click adding documents to GuruLib

Filed under: tools — gurulib @ 1:23 am

If you are reading a PDF, DOC, PS, PPT or an XLS document in your Firefox browser and want to instantly add it to your catalog add this javascript code

javascript: var array = document.URL.match(/amazon\.(.*?)\/.*?\/.*?\/(.{10})/); var str ='_add_item.php?'; if (array == null) { str += 'url_path=' + escape(document.URL); } else { str += 'asin='+ array[2] + '&ext=' + array[1]; } str=escape(str); str = 'http://www.gurulib.com/index.php?redirect=' + str; var x = window.open(str, '_blank'); x.focus();

as a bookmark in your browser toolbar. The code works for firefox but unfortunately PDF documents gives error in IE. The code also helps you add add books, movies, music, games and software from amazon servers. If you are browsing amazon server and would like to add a title to your catalog, click on the bookmark that you created earlier.To create a bookmark in firefox:
1. Right click on the browser toolbar to make sure that “Bookmark Toolbar” is checked
2. Right click on the bookmark toolbar and click on the “New Bookmark…” menu
3. In the Name section type in “Add to GuruLib” (without the double quotes)
4. In the Location copy the javascript code aboveNew bookmark
5. Press the OK buttonThe bookmark on your firefox should look like the one belowAdd to GuruLib bookmark

Let us know if you had any problem using the bookmark.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: