Quote:
Originally Posted by Marco24
Hello
english :
Thanks you lrpirlet !!
that's THE plugin I always wanted
But... I've some issues sometimes : even with the relevant ISBN (ie : the one recorded on the edition I have in the noosfere DB), it's another edition which is selected
So, I propose the following improvment 
- to present all editions (with cover, and details already displayed)
and then user can choose the editions he wants
what do you think ?
french:
un énorme merci lrpirlet !!
J'ai toujours recherché ce genre de plugin
encore bravo et merci pour ce plugin génial
Marco24
|
Well,


Your proposed improvement is just NOT possible within the context of a plugin. In reality, this was exactly what I was aiming to, but I never was able to display the noosfere recap of all the volume... Probably because the python library does not allow recursivity.
When i discovered that I was getting the wrong volume because the ISBN was common to several volume, I introduced a an identifier (nsfr_id) made of the book and the volume reference in the noosfere DB: bk$numeric$vl$numeric… the initial idea was to be able to access both the book and the volumes. Because I could not make an interactive choice, the need for the BK$numeric part became useless, I made no effort to keep it… VL$numeric is quite enough to uniquely refer to the volume.
example: Boule de foudre de LIU Cixin... has for URL:
https://www.noosfere.org/livres/niou...vre=2146606157
If I want to get the noosfere data from my plugin, I just edit in the metadata the Ids and add "nsfr_id:vl$2146606157" to get this noosfere DB entry.
If Noosfere is finding the wrong one on the first try I edit the nsfr_id so that it contains the page I want.
Hope it helps...