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-17-2014, 03:22 AM   #2971
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
No one is laughing at anybody, I'm just trying to help ! It seems to me that it should say:
Code:
[defaults]
custom_columns_settings:
 rating=>#ratings
replace_metadata:
 rating=>M=>NC-17
Assuming that your custom column has the internal lookup name #ratings (plural).
cryzed is offline  
Old 06-17-2014, 03:28 AM   #2972
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've input it exactly as you've written, but it still says M instead of NC-17 ...

I can PM you my entire personal.ini file if that's helpful?
Tanjamuse is offline  
Old 06-17-2014, 03:52 AM   #2973
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 can do that, but I'm not home currently and won't be for the next ~10 hours, so I can't really do much testing, but maybe I'll see an obvious mistake.

It is a bit strange though that you would put these lines into the defaults section, not every site uses 'M' as the rating.
cryzed is offline  
Old 06-17-2014, 05:01 AM   #2974
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 tried to make a custom column built from other columns... I thought that if I couldn't get it to replace the metadata maybe I could force it that way...

Didn't work out neither.

I have the feel I don't quite understand it
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2014-06-17 11.00.48.png
Views:	226
Size:	35.5 KB
ID:	124277  
Tanjamuse is offline  
Old 06-17-2014, 02:10 PM   #2975
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
Tanja, I've sent you a PM with a hopefully fixed configuration file.
cryzed is offline  
Old 06-17-2014, 02:11 PM   #2976
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

Yes I've seen that and it works, I'm trying to figure out what to call the different ratings

I'll post it here when I'm done
Tanjamuse is offline  
Old 06-17-2014, 02:14 PM   #2977
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 glad . (Don't accidentally paste your passwords from the configuration file here !, unless you just meant the relevant section)
cryzed is offline  
Old 06-17-2014, 02:20 PM   #2978
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 have the following for the Fanfiction.net

rating=>M=>Adults Only
T=>Teen
K+=>Older Kids
K=>Kids

I'm trying adjust it to put it in under the other sites as well.
Tanjamuse is offline  
Old 06-17-2014, 02:27 PM   #2979
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 can't forget the the "rating=>" at the beginning. So it should look something like this:
Code:
replace_metadata:
    rating=>M=>Adults Only
    rating=>T=>Teen
    rating=>K\+=>Older Kids
    rating=>K=>Kids
You need to be careful with special characters such as .+?[]() etc. Since this is a regular expression you'll need to escape them with \. And just copy that section and adjust the middle part, i.e. M, T, K+, K to whatever the other site uses.
cryzed is offline  
Old 06-17-2014, 02:49 PM   #2980
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 it comes, I hope it makes just a little sense:

[www.fanfiction.net]
replace_metadata:
rating=>M=>Adults Only
rating=>T=>Teen
rating=>K\+=>Older Kids
rating=>K=>Kids


[www.bloodshedverse.com]
replace_metadata:
rating=>R=>Mature
rating=>NC-17=>Adults Only
rating=>PG13=>Teen
rating=>PG=>Older Kids


[archiveofourown.org]
replace_metadata:
rating=>Explicit=>Adults Only
rating=>Mature=>Mature
rating=>Teen and Up Audience=>Teen
rating=>General Audiences=>Kids


[dark-solace.org]
replace_metadata:
rating=>Adults Only=>Adults Only
rating=>NC\17=>Adults Only
rating=>R=>Mature
rating=>PG13=>Teen
rating=>PG=>Older Kids
rating=>G=>Kids


[www.nocturnal-light.net]
replace_metadata:
rating=>R=>Mature
rating=>NC-17=>Adults Only
rating=>PG13=>Teen
rating=>PG=>Older Kids
rating=>G=>Kids


[www.spikeluver.com]
replace_metadata:
rating=>AO-AdultsOnly=>Adults Only
rating=>NC-17=>Mature
rating=>15=>Teen
rating=>PG=>Older Kids
rating=>18=>Mature
rating=>U=>Not Rated
Tanjamuse is offline  
Old 06-17-2014, 02:58 PM   #2981
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
Makes perfect sense from what I can tell, except this line in dark-solace.org:

Quote:
rating=>NC\17=>Adults Only
I'm not sure why you wrote NC\17? The 1 doesn't need to be escaped. It should just be "NC-17" like the rest from what I can tell. When you paste code snippets, try and wrap it within CODE tags, so the formatting isn't lost. It's the little '#' symbol at the top of the editor.
cryzed is offline  
Old 06-17-2014, 03:36 PM   #2982
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

Everything looks to be in the correct order. If I spot anything I'll be back ... Thank you SO much for the help

I may return with more sites at later time.
Tanjamuse is offline  
Old 06-17-2014, 03:41 PM   #2983
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 !
cryzed is offline  
Old 06-17-2014, 04:57 PM   #2984
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
@bobthebilder
Attached is a test plugin version with an adapter for http://fictionmania.tv/. See the plugin-defaults.ini accessible via the personal.ini configuration menu within the Calibre plugin to see additional available options (for example additional metadata you want to display on the titlepage). Let me know how it works.

@vikarti
I'm not sure when I'll tackle the russian sites (I only speak english and german well), it would take quite some time if I decided to. I'll have to see, sorry about that.

Last edited by cryzed; 12-19-2014 at 12:13 PM.
cryzed is offline  
Old 06-17-2014, 07:53 PM   #2985
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 cryzed View Post
@bobthebilder
Attached is a test plugin version with an adapter for http://fictionmania.tv/...
Awesome.

What's with the non_breaking_spaces option? That seems a bit strange.
JimmXinu 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 02:18 PM.


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