![]() |
#2836 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
#2837 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
#2838 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
#2839 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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 |
|
![]() |
![]() |
#2840 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
#2841 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
![]() 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"? |
|
![]() |
![]() |
#2842 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
#2843 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
Thank you for all your help. |
|
![]() |
![]() |
#2844 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
#2845 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,017
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
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. |
|
![]() |
![]() |
#2846 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
I've tried replicating the replace_metadata code with other tags like this: Quote:
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 |
||
![]() |
![]() |
#2847 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 ![]() |
![]() |
![]() |
#2848 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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: I'll take a look at it soon. |
![]() |
![]() |
#2849 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
#2850 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
|
![]() |
||||
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 |