Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-09-2024, 08:56 PM   #61
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,543
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Convert public-domain identifiers

Here is a chain that uses templates to convert url/uri identifiers from three public-domain book websites (Project Gutenberg, Standard Ebooks, and Global Grey) to site-specific ones. Mostly because it looks nicer in book details.

Before installing this, go to Preferences > Look & Feel > Book Details > Create rules to convert identifiers into link. Then add these three rules:

Project Gutenberg
Key: gutenberg
Template: https://www.gutenberg.org/ebooks/{id}

Standard Ebooks
Key: standard
Template: https://standardebooks.org/ebooks/{id}

Global Grey
Key: gg
Template: https://www.globalgreyebooks.com/{id}-ebook.html

Note that it uses the publisher field to identify whether to convert the IDs.
Attached Files
File Type: zip PublicDomainIdentifiers.zip (2.9 KB, 182 views)

Last edited by ownedbycats; 05-18-2024 at 08:44 PM.
ownedbycats is offline   Reply With Quote
Old 05-12-2024, 01:53 AM   #62
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,258
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by ownedbycats View Post
Here is a chain that uses templates to convert url/uri identifiers from three public-domain book websites (Project Gutenberg, Standard Ebooks, and Global Grey) to site-specific ones. Mostly because it looks nicer in book details.
yes it looks neat and works fine, thank you.
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2024-05-12, 01_44_48.png
Views:	105
Size:	54.4 KB
ID:	208204   Click image for larger version

Name:	MWSnap 2024-05-12, 01_43_31.png
Views:	127
Size:	74.7 KB
ID:	208205  
Comfy.n is offline   Reply With Quote
Advert
Old 05-17-2024, 01:54 AM   #63
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,543
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
[FanFicFare] Copy StoryURL to personal.ini

For FanFicFare users, this chain I made to easily add a new StoryURL section. First it copies this to clipboard:

Code:
## Test Author - Test Title
[https://www.fanfiction.net/s/123456/1/]

Then it opens personal.ini to paste it in.
Attached Files
File Type: zip AddStoryURL.zip (2.4 KB, 158 views)

Last edited by ownedbycats; 05-18-2024 at 08:43 PM.
ownedbycats is offline   Reply With Quote
Old 06-30-2024, 04:43 PM   #64
tkshorty
Junior Member
tkshorty began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2024
Device: Koba Aura
FanFicFare module

This module was not created by me but by the creator of FanFicFare. Just wanted to share it
https://www.mobileread.com/forums/sh...postcount=9637
The FFF plugin has a signal it will emit after the "proceed with updating your library" dialog.

Code:
from calibre_plugins.action_chains.events import ChainEvent

class SearchChanged(ChainEvent):

    # replace with the name of your event
    name = 'FFF done'

    def get_event_signal(self):
        return self.gui.iactions['FanFicFare'].download_finished_signal
tkshorty is offline   Reply With Quote
Old 07-01-2024, 12:31 PM   #65
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by tkshorty View Post
This module was not created by me but by the creator of FanFicFare. Just wanted to share it
https://www.mobileread.com/forums/sh...postcount=9637
The FFF plugin has a signal it will emit after the "proceed with updating your library" dialog.

Code:
from calibre_plugins.action_chains.events import ChainEvent

class SearchChanged(ChainEvent):

    # replace with the name of your event
    name = 'FFF done'

    def get_event_signal(self):
        return self.gui.iactions['FanFicFare'].download_finished_signal
That's interesting. I added it to the index in the first post. Although this can be automatically available for users of FFF plugin, if this code is copied into a file called action_chains.py in the root folder of the FFF plugin.
capink is offline   Reply With Quote
Advert
Old 07-01-2024, 04:12 PM   #66
tkshorty
Junior Member
tkshorty began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2024
Device: Koba Aura
Quote:
Originally Posted by capink View Post
That's interesting. I added it to the index in the first post. Although this can be automatically available for users of FFF plugin, if this code is copied into a file called action_chains.py in the root folder of the FFF plugin.
cool. I tried it and it works fine.

I asked JimmXinu to add such a file to his plugin for future updates
tkshorty is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Action Chains capink Plugins 1406 11-07-2024 06:29 PM
Book Scanning tool chains tomsem Workshop 17 12-03-2023 10:19 AM
Mystery and Crime Thorne, Guy: Chance in Chains (1914); v1 Pulpmeister Kindle Books 0 11-25-2018 10:09 PM
Mystery and Crime Thorne, Guy: Chance in Chains (1914); v1 Pulpmeister ePub Books 0 11-25-2018 10:08 PM
Could this be the last year for the big chains? Connallmac News 66 01-07-2011 05:11 PM


All times are GMT -4. The time now is 05:18 AM.


MobileRead.com is a privately owned, operated and funded community.