Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-06-2014, 09:41 PM   #2836
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Yeah that's what I ended up doing, you can check the repository. Thanks for your help.
cryzed is offline  
Old 06-07-2014, 09:05 AM   #2837
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Jimm, I think it should be pretty safe now to release the new version. Tanjamuse doesn't seem to have any more problems, I suppose they would have said something by now. I also tested a few stories for all adapters and everything worked without a hitch. Just to recap: there are three new adapters now for the following sites:

Last edited by cryzed; 06-07-2014 at 09:40 AM.
cryzed is offline  
Old 06-07-2014, 10:57 AM   #2838
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,017
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Version 1.8.23 - 07 Jun 2014
  • New site: spikeluver.com -- Thanks, cryzed!
  • New site: bloodshedverse.com -- Thanks, cryzed!
  • Updates for site: voracity2.e-fic.com -- Thanks, cryzed!
JimmXinu is offline  
Old 06-07-2014, 05:26 PM   #2839
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Hi,

I'm using these codes in my personal.ini

Quote:
# only put fandoms in tags
include_subject_tags: fandoms
# Remove the FanFiction tag that FFDL includes for most sites.
extratags:
anthology_tags:
Is there a way to add metadata to the tags? Like I'd like to add "ao3 downloader" for stories I download from A03 and "ff.net downloader" for stories I grab from Fanfiction.net.

I'd also like to know if there is a way to exclude some fandom tags like "Marvel Cinematic Universe" but keep the other fandom tags?

Thanks,
Amalthia
Amalthia is offline  
Old 06-07-2014, 05:34 PM   #2840
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Possibly like this?

Code:
[archiveofourown.org]
extratags:ao3 downloader
exclude_metadata_pre:
 fandoms==Marvel Cinematic Universe

[www.fanfiction.net]
extratags:ff.net downloader
This is untested, so it might not work. But give me some feedback and I'll see if I can help further.
cryzed is offline  
Old 06-07-2014, 05:43 PM   #2841
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by cryzed View Post
Possibly like this?

Code:
[archiveofourown.org]
extratags:ao3 downloader
exclude_metadata_pre:
 fandoms==Marvel Cinematic Universe

[www.fanfiction.net]
extratags:ff.net downloader
This is untested, so it might not work. But give me some feedback and I'll see if I can help further.
It worked!

Now this is a long shot but can is it possible to use "if" statements, like if "Marvel Cinematic Universe" is detected add the tag "marvel"?
Amalthia is offline  
Old 06-07-2014, 05:48 PM   #2842
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
I'm assuming you basically want to turn "Marvel Cinematic Universe" into "marvel"? You can do that like this:

Code:
replace_metadata:
 fandoms=>Marvel Cinematic Universe=>marvel
Don't forget to remove the "exclude_metadata_pre" section before adding this line to the "[archiveofourown.org]" section then.
cryzed is offline  
Old 06-07-2014, 05:50 PM   #2843
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by cryzed View Post
I'm assuming you basically want to turn "Marvel Cinematic Universe" into "marvel"? You can do that like this:

Code:
replace_metadata:
 fandoms=>Marvel Cinematic Universe=>marvel
Don't forget to remove the "exclude_metadata_pre" section before adding this line to the "[archiveofourown.org]" section then.
Okay I think this section is starting to make more sense. I'll try out this option and see how it goes.

Thank you for all your help.
Amalthia is offline  
Old 06-07-2014, 05:56 PM   #2844
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
You are welcome. Just to make sure, it should look like this:

Code:
[archiveofourown.org]
extratags:ao3 downloader
replace_metadata:
 fandoms=>Marvel Cinematic Universe=>marvel

[www.fanfiction.net]
extratags:ff.net downloader

Last edited by cryzed; 06-07-2014 at 08:52 PM.
cryzed is offline  
Old 06-07-2014, 09:06 PM   #2845
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,017
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by cryzed View Post
You are welcome. Just to make sure, it should look like this:

Code:
[archiveofourown.org]
extratags:ao3 downloader
replace_metadata:
 fandoms=>Marvel Cinematic Universe=>marvel

[www.fanfiction.net]
extratags:ff.net downloader
I agree that cryzed is giving you good advice here.

However, I'd also point out that the source site is populated into calibre's Publisher field. So adding that to the tags is a bit redundant, plus you have to do it for each site.
JimmXinu is offline  
Old 06-08-2014, 02:43 AM   #2846
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by cryzed View Post
You are welcome. Just to make sure, it should look like this:

Code:
[archiveofourown.org]
extratags:ao3 downloader
replace_metadata:
  fandoms=>Marvel Cinematic Universe=>marvel
Hi,

I've tried replicating the replace_metadata code with other tags like this:

Quote:
Code:
# only put fandoms in tags
include_subject_tags: fandoms
# Remove the FanFiction tag that FFDL includes for most sites.
extratags: a03 downloader
replace_metadata:
 fandoms=>Thor (Movies)=>Thor
anthology_tags:
However, the fandom tag "Thor (Movies)" did not turn into Thor.

Example story link: http://archiveofourown.org/works/1742609

I was able to get "fandoms=>Marvel Cinematic Universe=>Marvel" to work, however when I tried fandoms=>Thor (Movies)=>Thor it didn't work.

I also had trouble with "fandoms=>Star Trek: Alternate Original Series (Movies)=>Star Trek" Basically, it appears that any tag that has (), or : failed to replace the metadata.

Am I doing something wrong?

Best Regards,
Amalthia
Amalthia is offline  
Old 06-08-2014, 05:44 AM   #2847
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
@Cryzed

I've just discovered that I have one more request for a new site, when you have the time: http://www.nocturnal-light.net/index.php

I can't thank you enough for the other two
Tanjamuse is offline  
Old 06-08-2014, 06:08 AM   #2848
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
@Amalthia
Hey, the problem is that the "replace_metadata" instruction expects regular expressions. Each special character listed on this page, must be escaped with a '\'.

So your configuration file section should look like this:

Code:
# only put fandoms in tags
include_subject_tags: fandoms
# Remove the FanFiction tag that FFDL includes for most sites.
extratags: a03 downloader
replace_metadata:
 fandoms=>Thor \(Movies\)=>Thor
anthology_tags:
@Tanjamuse
I'll take a look at it soon.
cryzed is offline  
Old 06-08-2014, 09:50 AM   #2849
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
@Tanjamuse
Attached is a test version of the plugin with an adapter for http://nocturnal-light.net/. Please test it thoroughly and let me know if you find any errors.

Please note that I have not included the author's notes for now, that was a conscious decision. Grabbing them reliably from the page is just way too much work for a relatively unimportant piece of information.

Last edited by cryzed; 06-08-2014 at 05:11 PM.
cryzed is offline  
Old 06-08-2014, 11:16 AM   #2850
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I think it looks fine.

I'll do some more tests later this evening.

Thank you so much for your quick work
Tanjamuse is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Count Pages kiwidude Plugins 1846 08-02-2025 10:44 PM
[GUI Plugin] Resize Cover kiwidude Plugins 100 07-10-2025 08:50 AM
[GUI Plugin] Find Duplicates kiwidude Plugins 1124 04-18-2025 09:19 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 01:49 AM.


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