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 04-06-2017, 09:07 AM   #1966
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
No matter what I try I can't get this metadata to be the correct one

Code:
OíConnell, R.
I would prefer it to be Rick O'Connell. This is what I've tried:

Quote:
characters,ships=>.OíConnell, R\.=>Rick O'Connell&&category=>Mummy
characters,ships=>.R\.=>Rick O'Connell&&category=>Mummy
Also whenever there is a Jr. or Sr. it doesn't change to the metadata I've set.

Code:
    characters,ships=>Henry Jones, Sr\.=>Henry Jones Senior&&category=>Indiana Jones
Have I done something wrong?
Tanjamuse is offline   Reply With Quote
Old 04-06-2017, 11:00 AM   #1967
chrnno
Connoisseur
chrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with others
 
Posts: 50
Karma: 2652
Join Date: Jan 2014
Device: Samsung Galaxy J2
Quote:
Originally Posted by Tanjamuse View Post
No matter what I try I can't get this metadata to be the correct one
For the first all you have to do is remove the period at the start and it works:
Code:
 characters,ships=>OíConnell, R\.=>Rick O'Connell&&category=>Mummy
For the second it works as written for me so give the story to see if the issue is there or something in yours.

Last edited by chrnno; 04-06-2017 at 11:02 AM.
chrnno is offline   Reply With Quote
Advert
Old 04-06-2017, 11:05 AM   #1968
version365
Enthusiast
version365 began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by davidfor View Post
Or, is it needed at all?
Collecting as much tags & metadata as possible makes searching for stories easier.. so, it would be really helpful..
Quote:
Originally Posted by davidfor View Post
I need something to say to use all chapter categories. I just don't like "use_all_chapter_categories".

Or, the reverse, to only use the category from the first chapter. I got stuck on "first_chapter_category_only". Again, I don't like it.

Any suggestions are welcome.
Quote:
Originally Posted by BetterRed View Post
chapter_categories__use_all or chapter_categories__first_only
Why bring categories? this is for tags..

So, I suggest eroticatags_use_all or eroticatags_use_first
version365 is offline   Reply With Quote
Old 04-06-2017, 11:09 AM   #1969
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
Quote:
Originally Posted by chrnno View Post
For the first all you have to do is remove the period at the start and it works:
Code:
 characters,ships=>OíConnell, R\.=>Rick O'Connell&&category=>Mummy
For the second it works as written for me so give the story to see if the issue is there or something in yours.
I've tried that but it still doesn't work.

Here's the link: https://www.fanfiction.net/s/12372013/1/

I've copied the exact string you wrote.
Tanjamuse is offline   Reply With Quote
Old 04-06-2017, 11:33 AM   #1970
chrnno
Connoisseur
chrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with others
 
Posts: 50
Karma: 2652
Join Date: Jan 2014
Device: Samsung Galaxy J2
Quote:
Originally Posted by Tanjamuse View Post
I've tried that but it still doesn't work.

Here's the link: https://www.fanfiction.net/s/12372013/1/

I've copied the exact string you wrote.
It is treating the comma as separating characters because that is what ff.net uses it to. Normally they would write it as "R. OíConnell" and looking through my own personal.ini I can see many examples of that, mistake of whoever added them I suppose along with the 'í' there.

Not sure how to deal with it in general. I guess for known cases you can use something like this for the time being...?
Code:
 characters,ships=>OíConnell=>Rick O'Connell&&category=>Mummy
 characters,ships=>R\.=>&&category=>Mummy

Last edited by chrnno; 04-06-2017 at 11:36 AM.
chrnno is offline   Reply With Quote
Advert
Old 04-06-2017, 11:36 AM   #1971
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
Here's another link for the Sr. problem:

https://www.fanfiction.net/s/12027556/1/Syllogism
Tanjamuse is offline   Reply With Quote
Old 04-06-2017, 11:44 AM   #1972
chrnno
Connoisseur
chrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with otherschrnno plays well with others
 
Posts: 50
Karma: 2652
Join Date: Jan 2014
Device: Samsung Galaxy J2
Quote:
Originally Posted by Tanjamuse View Post
Here's another link for the Sr. problem:

https://www.fanfiction.net/s/12027556/1/Syllogism
Yep same issue. FF.net uses comma as what separates characters so any name that has commas in it is split. Do a similar thing as the above to make a temporary workaround.
Code:
    characters,ships=>Henry Jones=>Henry Jones Senior&&category=>Indiana Jones
    characters,ships=>Sr\.=>&&category=>Indiana Jones
I vaguely recall reading this here so I am looking for it to see how it was solved but without success.
chrnno is offline   Reply With Quote
Old 04-06-2017, 11:54 AM   #1973
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: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2017-04-06
- Fix for adapter_asianfanficscom, thanks 444555.
- Enhancements for Storiesonline and Literotica, thanks davidfor.
- Add option chapter_categories_use_all for Literotica, thanks davidfor.

Last edited by JimmXinu; 04-06-2017 at 02:41 PM. Reason: Add adapter_asianfanficscom fix.
JimmXinu is offline   Reply With Quote
Old 04-06-2017, 08:40 PM   #1974
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by version365 View Post
Collecting as much tags & metadata as possible makes searching for stories easier.. so, it would be really helpful..
I meant if the option was needed.
Quote:
Why bring categories? this is for tags..
It's about where the data comes from and goes. These might be better to be called "genres". But, in the code, they are put into metadata called "categories". These can be displayed separately on the title page and will go into the tags.
Quote:
So, I suggest eroticatags_use_all or eroticatags_use_first
I decided on chapter_categories_use_all.
davidfor is offline   Reply With Quote
Old 04-07-2017, 05:51 AM   #1975
version365
Enthusiast
version365 began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by davidfor View Post
I meant if the option was needed.
I would say, no need for that option because nothing is being redacted, only added.
Quote:
It's about where the data comes from and goes. These might be better to be called "genres". But, in the code, they are put into metadata called "categories". These can be displayed separately on the title page and will go into the tags.
I think you confused my recent comment with the pm I sent some days earlier about multi-chapter categories.
You did what I requested in the pm alright in the latest test version..

But, what I asked in my recent comment is diff.
It's not about categories.. it's about what gets printed as eroticatags

(detailed example & links sent in pm)

Last edited by version365; 04-07-2017 at 05:55 AM.
version365 is offline   Reply With Quote
Old 04-09-2017, 09:28 AM   #1976
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
Below is my personal.ini

The problem I have is that whenever I download a story from Elysian Fields the EF which should only be in my authorId column also shows up in the AuthorHTML column.

This is the only website where I have this problem, is it possible to fix this (besides me deleting the bold line in my personal.ini)?

Code:
[dark-solace.org]
is_adult:true
username:XXXXXXXX
password:XXXXXXXX
generate_cover_settings:
    ${category} => Buffy:? [tT]he Vampire Slayer => Spuffy Elysian
custom_columns_settings:
    rating=>#ratings
    authorHTML=>#author_url
    titleHTML=>#story_url
add_to_replace_metadata:
    authorId=>^(.*)$=>EF\1
include_subject_tags:genre, warnings, category
replace_metadata:
    characters=>Andrew$=>Andrew Wells
    characters=>Anya$=>Anya Jenkins
    characters,ships=>Buffy$=>Buffy Summers&&category=>Buffy: The Vampire Slayer
    characters=>Cordelia$=>Cordelia Chase
    characters=>Dawn$=>Dawn Summers
    characters=>Faith$=>Faith Lehane
    characters=>Fred$=>Winifred Burkle
    characters=>Giles$=>Rupert Giles
    characters=>Gunn$=>Charles Gunn
    characters=>Harmony$=>Harmony Kendall
    characters=>Jonathon$=>Jonathan Levinson
    characters=>Joyce$=>Joyce Summers
    characters=>Nina$=>Nina Ash
    characters=>Oz$=>Oz Osbourne
    characters=>Riley$=>Riley Finn
    characters=>Tara$=>Tara Maclay
    characters=>Wesley$=>Wesley Wyndam-Pryce
    characters=>William$=>Spike
    characters=>Willow$=>Willow Rosenberg
    characters=>Xander$=>Xander Harris
    rating=>^Adult Only=>Adults Only
    rating=>^NC-17=>Adults Only
    rating=>^R=>Mature
    rating=>^PG-13$=>Teen
    rating=>^PG$=>Older Kids
    rating=>^G$=>Kids
    site=>dark-solace.org=>Elysian Fields
Here's a link: http://dark-solace.org/elysian/viewstory.php?sid=5368
Tanjamuse is offline   Reply With Quote
Old 04-09-2017, 12:35 PM   #1977
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: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
The problem I have is that whenever I download a story from Elysian Fields the EF which should only be in my authorId column also shows up in the AuthorHTML column.
Code:
[dark-solace.org]
add_to_replace_metadata:
    authorId=>^(.*)$=>EF\1
You may recall this discussion from January:

Quote:
Originally Posted by JimmXinu View Post
The adapter uses the storyId internally to create the storyUrl. Which, because you've changed it, is now broken. Most of the adapters work that way because I never anticipated that someone would try to change it.
authorUrl and authorId work the same. By changing authorId, you've broken authorUrl and therefore authorHTML.

Your best bet, if you insist on this level of metadata detail, would be to make copies of storyId/authorId to new metadata entries and include the originals with .NOREPL. That's been explained before.
JimmXinu is offline   Reply With Quote
Old 04-09-2017, 12:37 PM   #1978
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
Why is it working on other sides but not that one.
Tanjamuse is offline   Reply With Quote
Old 04-09-2017, 12:46 PM   #1979
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: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
Why is it working on other sides but not that one.
There are over 100 sites supported--I'm not going to go check them all. I would speculate that some adapters build the authorUrl from authorId and some don't.
JimmXinu is offline   Reply With Quote
Old 04-10-2017, 02:06 PM   #1980
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: 6,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New test version posted

Hopefully this will be the last test version before next release.

2017-04-10
- Remove defunct sites: www.restrictedsection.org, lucifael.com, onedirectionfanfiction.com, samdean.archive.nu, hpfandom.net, ficsite.com, sinful-desire.org, thehexfiles.net.
- Bump test version.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 04:25 AM.


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