Quote:
Originally Posted by Blaineoreski
Hi kiwidude,
First! BLESS you, mate for taking the time to reply. I'm grateful.
Totally follow what you mean.
Me being out of the bespoke code dollar class, I think I'd like to give it a go myself.
Please can I ask a favor? In terms of a model for plug ins, where is the best place to start?
Sincerely,
Ski
|
Any metadata plugin can be used as a starting point - be it one that comes with calibre or for instance one of mine. It just comes down to how much of the bespoke code within it you have to strip out and replace with more bespoke code for this website. I would suggest something like the Baen or Barnes & Noble plugins if choosing one of mine as a starting point to copy from, they are a little simpler than the Goodreads one which is also an option.
You just need to be aware of how many web requests you need to go through to reach the page containing the data that you want to parse, and that varies based on the plugin. For instance the FictionDB plugin needs to do HTTP POST requests, the Goodreads plugin does some extra parsing of editions to try to find a perferred one etc. They all have their quirks, and they will all break as soon as the website changes in an update...