View Single Post
Old 05-14-2021, 07:49 AM   #3
lrpirlet
Zealot
lrpirlet began at the beginning.
 
Posts: 101
Karma: 40
Join Date: Mar 2020
Location: Belgium (sorry, I am from the Walloon side of the country and I speak french only)
Device: PW3, Kobo Libra H2O
Problem-Solution... Evolution of the plugin

  • Got a problem with

Code:
SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)
For a possible solution, have a look over entry #7 by PeterT (thanks PeterT)


  • Request for improvement: let me chose the volume

Thinks I have been trying to allow the reader to choose what volume to select, that I could NOT solve.

I tried to make the pluggin to display all the volumes... When Calibre finds several metadata about a book, then those metadata do get merged, even if nfsr_id is different... (git branch push_top_vol_indx-from-worker-to-__init__ in the sources)

I tried to make the pluggin display the volumes presentation page to allow the reader to choose the volume... that does not seems possible in the metadata plugin context (git branch interractive_mode_via_spawn_and_que in the sources)

  • a possible solution to select a particular volume (more like a workaround)

Set the nsfr_id to point to the desired url... see entry number #8


A new version (V 0.9.5) of this plugin replaced v0.9.3. It is available here while testing goes. This will be removed when I publish version 1.0.0.
I feel it is needed as testing proved that refactoring of choice was a necessity (and a few bugs fixed... and some improvements added).

A new version of this plugin (v 0.9.6) corrects the algoritm for the publication date.

  • some new functionality and version (v 1,0,0)

Now, to add or modify an id , just copy and paste the newly selected url on the icon to the left of the ids field in the metadata editor... See the entry #13

  • Some new functionality and version (v 1,2,0)

The added functionnality in v1.0.0 wasn't working sometimes due to inconsistencies in the character case ( https://www.noosfere.org/livres/niourf.asp?NumLivre=<nbr> or
https://www.noosfere.org/livres/niourf.asp?numlivre=<nbr> were used ?randomly?)... fixed

I designed a better detection of the numeration of the series that will now give a number when several omnibus editions exists in a series.
vol_serie_seq : (omn1) ==> 0.1
vol_serie_seq : 2a ==> 2.01
vol_serie_seq : 2bis ==> 2 (sorry, I could not think of a way to show "bis" in a float expression that would be unique.)
Accessorily when a book in a series is missing an arrow to point an adjacent volume, this new code bypasses the problem (https://www.noosfere.org/livres/niou...?numlivre=4757)

Code is more modular, less "spaghetti"

  • Some corrections and one new functionality and version (v 1,3,0)

This version does correct two misbehaviors.
  • It corrects the fact that the wording Site clair ( Changer ) pops up where information about the present volume... caused by a change in the layout of the noosfere page.
  • It corrects the fact that some parts are missing in the comments for some books... caused by some html comments leftover in the noosfere page

It also adds, in the tags column, all the new tags added in noosfere site in a series of boxes before "Quatrième de couverture"

It also optionally adds this info in the comments under the title Ouvrages avec une étiquette identique . each tag under that title is a link to a list of books with same tag.


Previous versions have been removed as noosfere site has changed preventing old version to behave correctly

Previous version are available in GitHub: download the zip, open it and find the old versions... for what it is worse

Last edited by lrpirlet; 11-26-2025 at 09:40 AM. Reason: more infos about this pluggin
lrpirlet is offline   Reply With Quote