View Single Post
Old 12-04-2010, 08:47 PM   #46
iandix
Addict
iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.
 
iandix's Avatar
 
Posts: 295
Karma: 109308
Join Date: Dec 2009
Location: NSW Australia
Device: nook touch a Nook 3g (rooted) and a nookcolor (rooted)
for those people who also wish to be able to search "B&N", "books by isbn" (great site for covers) or goodreads and have them on the search the Internet plugin, here is what I added to the tweaks section.


Let's be honest here, the goodreads links are a must :-)


I have added the icons just add them in he calibre/resources/images folder

Code:
   # Specify the submenus to appear on the 'Search the internet' plugin menu.
# Menu items are specified as a triple of: ('Menu text', 'Image', 'Url')
# 'Menu text' - The name to display in the sub-menu. Specify None for a separator.
# 'Image' - Name of the image file to use as a menu icon. Specify None if no image.
# Image .png files should be placed in the \resources\images folder.
# 'Url' - URL of the website to launch, with tokens that are substituted
# when the menu item is click based on the currently selected book.
# The possible token values you can place in the URL are:
# {title} - The title for the first selected book
# {author} - The author for the first selected book
# {isbn} - The ISBN for the first selected book
stip_search_internet_menus = [
    ('FantasticFiction for Author', 'stip_fantastic_fiction.png', 'http://www.fantasticfiction.co.uk/search/?searchfor=author&keywords={author}'),
    ('FantasticFiction for Title',  'stip_fantastic_fiction.png', 'http://www.fantasticfiction.co.uk/search/?searchfor=book&keywords={title}'),
    (None, None, None),
    ('Amazon.com for Book',    'stip_amazon.png', 'http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dstripbooks&field-keywords={author}+{title}'),
    (None, None, None),
    ('Barnes and Noble by isbn',    'stip_bn.png', 'http://search.barnesandnoble.com/books/product.aspx?EAN={isbn}&page=index&prod=univ&choice=allproducts&query={isbn}&flag=False&ugrp=1'),
    ('Barnes and Noble by Author',    'stip_bn.png', 'http://productsearch.barnesandnoble.com/search/results.aspx?store=EBOOK&WRD={author}&box={author}&pos=-1&ugrp=1'),
    ('Barnes and Noble by Title',    'stip_bn.png', 'http://productsearch.barnesandnoble.com/search/results.aspx?store=EBOOK&WRD={title}+by+{author}'),
    (None, None, None),
    ('Books by isbn for cover',  'stip_isbn.png', 'http://books-by-isbn.com/cgi-bin/isbn-lookup.pl?isbn={isbn}'),
    (None, None, None),
    ('Book on Goodreads',  'stip_gr.png', 'http://www.goodreads.com/search/search?q={isbn}&group_id=&search_type=books'),
    ('Author on Goodreads',  'stip_gr.png', 'http://www.goodreads.com/search/search?q={author}&group_id=&search_type=books'),
    (None, None, None),
    ('Google.com for Book',    'stip_google.png', 'http://www.google.com/#sclient=psy&q={author}+"{title}"'),
    ('Google images for Book', 'stip_google.png', 'http://www.google.com/images?q={author}+{title}'),
    (None, None, None),
    ('Wikipedia for Author',   'stip_wikipedia.png', 'http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search={author}')]
Attached Images
   

Last edited by iandix; 12-16-2010 at 10:53 AM.
iandix is offline