![]() |
#46 |
Member
![]() Posts: 23
Karma: 10
Join Date: Aug 2012
Device: Iphone
|
Couple of things i want to be able to do - but cant seem to work out how
1) Add a Tag "oneshot" when the story is complete and only has 1 chapter. 2) prefix the Extra tags with the category (eg. time travel tag becomes Supernatural.Time Travel 3) populate the ratings based on the Kudos or reviews E.G ones with 1000 > reviews get 5 stars. Are there any ways of going the above? |
![]() |
![]() |
![]() |
#47 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,496
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
|
![]() |
![]() |
Advert | |
|
![]() |
#48 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 2029154
Join Date: Sep 2013
Location: Pacific Northwest
Device: iPad Mini, iPhone 12, Kindle Paperwhite 3
|
Quote:
Thanks! |
|
![]() |
![]() |
![]() |
#49 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Can you make a custom column where it automatically adds the free-form tags?
|
![]() |
![]() |
![]() |
#50 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,496
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
In the [archiveofourown.org] section, not as part of custom_columns_settings. |
|
![]() |
![]() |
Advert | |
|
![]() |
#51 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
How do you create a custom column where only the freeformtags goes?
|
![]() |
![]() |
![]() |
#52 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,496
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Code:
# defaults so is affects everything, but can be overridden by # more specific sections. [defaults] # 'add_to_' concats on to existing param, thus the leading comma add_to_extra_valid_entries:,oneshot # oneshot is a copy of status because status itself isn't a list. include_in_oneshot:status # add oneshot to the tags that are included in calibre. add_to_include_subject_tags:,oneshot # Change oneshot to ['Completed'] to ['Completed','Oneshot'] only when # numChapters is exactly 1. # with ',' instead of '\,' it would be ['Completed'] to # ['Completed,Oneshot']--one string instead of two. add_to_replace_metadata: oneshot=>Completed=>Completed\,Oneshot&&numChapters=>^1$ Quote:
There's been discussion before about hierarchical tags--I don't really know any more about them now than I did then. (I will be adding the replace_metadata discussion from that to the project wiki, though.) For category Supernatural specifically, you can do this: Code:
add_to_replace_metadata: genre=>(.*)=>Supernatural.\1&&category=>Supernatural Maybe one of the other hierarchical tags have a better solution? Quote:
You can make a custom column, populate it with Kudos, reviews, etc and then use Calibre's various features change colors, add icons, etc based on those numbers. |
|||
![]() |
![]() |
![]() |
#53 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,496
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#54 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Thanks.
Why does it still say Angel: Angel: The Series in my Fandom Column, when I have this in my personal.ini? Edit: Nevermind, I don't know what happened, but it's now fixed. However, when I add fandoms with a & it doesn't replace the metadata with the one I asked for. Like this: Quote:
Last edited by Tanjamuse; 04-18-2015 at 05:46 PM. |
|
![]() |
![]() |
![]() |
#55 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 1014
Join Date: Jan 2015
Device: Calibre/iBooks/Kindle App
|
Quote:
|
|
![]() |
![]() |
![]() |
#56 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I have tried with:
\& \&\ &\ none of it works. |
![]() |
![]() |
![]() |
#57 |
Member
![]() Posts: 23
Karma: 10
Join Date: Aug 2012
Device: Iphone
|
Thanks for the replies
![]() Bit of a odd thing I've noticed. When updating a Anthology and selecting the option "update if new chapters", it always tries to update even if there are no new chapters. an Example is a anthology creating using the Web page option http://archiveofourown.org/series/29357 This has had no updates since 2014 yet wants be to overwrite the existing epubs. |
![]() |
![]() |
![]() |
#58 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,496
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
An anthology update is a bit different than single book updates. If you look at 'View Log' when it's finished, I bet it for each book it says something like 'reuse as is'. |
|
![]() |
![]() |
![]() |
#59 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
When I add fandoms with a & it doesn't replace the metadata with the one I asked for.
Like this: Quote:
What am I doing wrong? |
|
![]() |
![]() |
![]() |
#60 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,496
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
So this works: Code:
category=>Percy Jackson and the Olympians & Related Fandoms - All Media Types$=>Percy Jackson & The Olympians Code:
category=>.*Percy Jackson.*Olympians.*=>Percy Jackson & The Olympians @thatblondelady: Good guess about the regex escaping, but & isn't a regex special character. They are: [\^$.|?*+() I'm adding something to the wiki page about replace_metadata about this. |
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 494 | 05-18-2024 02:34 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 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 |