• Home
  • About
  • Archives
  • License
  • Contact

Webtropic

The digital lair of Nikos Anagnostou

Feeds:
Posts
Comments
« Bookmeta: a book metadata extractor for Greek books
Responsive Images: the solutions so far and a mixed new one »

A Calibre plugin for Greek book metadata

January 19, 2012 by Nikos Anagnostou

A few days ago, I sort of promised to deliver a plugin for Calibre for  greek book metadata. I had to dive into Python to accomplish this task but, as I said in the previous post, I had no Python knowledge.

Thank God, all programming languages have many things is common. So, with the assistance of this brilliant short tutorial by Stavros Korokithakis I managed to get a grasp of the basics quickly.

Then I found a couple of similar plugins, studied them a bit, and,  voila, the offspring of this endeavor: the Biblionet calibre plugin.
(Those not interested in code should  download the plugin from here because the github zip adds an extra folder to the plugin and generates an error when trying to add it).

Installation
To install the plugin, open Calibre, go to Preferences>Change Calibre behavior, scroll down and locate in the Advanced section the Plugins icon. Click it and the following window will appear:

Choose “Load plugin from file”, answer ‘yes’ to the warning that will pop up, and you are done.

Use
The best option for mass entering and mass updating printed books in calibre IMHO is this:

Use a mobile phone barcode scanner app to read the isbn barcodes, or write them down, one per line, in a text file.

Then copy paste them in the relevant calibre dialog box (see picture) and fire the process.

The Future
This plugin is not a complete one. Unlike most of  the other metadata plugins,  it only makes use of the book ISBN (10 or 13 digit) to query the biblionet database.
Normally such a plugin can also make use of the  title and author info. But for adding printed books entried  in calibre (that was my initial motive, remember?)  that would be rather tedious, as one would have to manually type every single one of them.
This (:the isbn only feature) is going to change in the next version and the plugin will be able to query metadata based on title or author too.

There is another difference: the plugin makes use of the bookmeta script that acts like a proxy between the plugin and the biblionet database, so the script had to be hosted somewhere. I hosted it at phpfog.com.
If you have some techinal skills, you can host the script wherever you like. Then just  edit the plugin file __init__.py, locate the following line,

    BASE_URL = 'http://bookmeta.phpfogapp.com/index.php?isbn='

and change the ‘http://bookmeta.phpfogapp.com/‘ to the address of your server.
If not, remain assured that I will host this solution to phpfog for your convenience.

In the next version of the plugin, this need will be eliminated. The plugin will not require this kind of intermediary. But the bookmeta script will stay, as there might be other programs/services that could potentially use it.

If you want to fork the plugin and make your own, head to github and serve yourselves.

Please give some feedback if you decide to use the plugin. It both motivates and helps :)

Share this:

Like this:

Like
Be the first to like this post.

Posted in Code | Tagged biblionet, bookmeta, books, calibre, metadata, metadata sources, python | 4 Comments

4 Responses

  1. on January 21, 2012 at 12:06 am cosmix

    While I haven’t looked at your code yet, that’s excellent Niko! I’m not sure how many people will find a need for it, but it doesn’t really matter. I love the spirit and the fact that you went through with it! Kudos.


    • on January 21, 2012 at 1:32 am Nikos Anagnostou

      Thanks, man. Appreciated!


  2. on January 21, 2012 at 2:08 am orestis (@orestisf)

    I can’t really comment on the technical aspect, but this script does provide me with an incentive to add my physical books collection to Calibre :)


    • on January 21, 2012 at 2:19 am Nikos Anagnostou

      This is great! Please let me know if/how it worked for you.



Comments are closed.

  • TwitterCounter for @nikan
  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 7 other followers

  • Recent Comments

    Iosif Kanakaris on Responsive Images: the solutio…
    Nikos Anagnostou on Responsive Images: the solutio…
    Nikos Anagnostou on Responsive Images: the solutio…
    Iosif Kanakaris on Responsive Images: the solutio…
    Nikos Anagnostou on A Calibre plugin for Greek boo…
  • Recent Posts

    • Snap Snare by Snare Complex
    • Responsive Images: the solutions so far and a mixed new one
    • A Calibre plugin for Greek book metadata
    • Bookmeta: a book metadata extractor for Greek books
    • I call it “Relief”
  • Categories

    • Business (21)
      • Events (8)
      • Startups (7)
    • Ideas (7)
    • Miscellaneous (25)
      • liteblogging (3)
      • People (3)
      • Personal (4)
    • Social media (22)
    • Technology (44)
      • Code (6)
      • HowTo (7)
      • Tech News (11)
    • Web Design (1)
  • My Tweets

    • “Steve wore the same thing every day because he didn’t want to think about what he was wearing.” ht.ly/bgcaW:::3 days ago
    • Facebook (FB) Pushes Opera Shares To All-time High | ValueWalk ht.ly/be1yA:::4 days ago
    • Snap Snare by Snare Complex bit.ly/KBzG61:::1 week ago
  • premium wordpress themes
  • RSS Scicada

    • What is so novel about Pinterest?
    • Discussing the Social Organization
    • Next11 – Berlin 17/18 of May 2011
    • IOC10 – Our presentation about Social Shopping (Greek)
    • From Group buying to Group gifting
  • RSS GreekStartups.com

    • Startup 2.0 15-16/6 in Bilbao: Game developers heads up
    • vss feed
    • ErgoQ
    • Made in Greece
    • weendy

Blog at WordPress.com.

Theme: MistyLook by Sadish.


Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.