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 03-05-2016, 01:59 PM   #1126
Mandabar
Fanfiction Devourer
Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.Mandabar ought to be getting tired of karma fortunes by now.
 
Posts: 47
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
Ah! That worked perfectly Jim thanks! Also really enjoying the new only update if new column option. Works great for keeping the in-progress tag from disappearing every update on these forum stories as well as keeping a nice summary/comment on it from being erased.

Thanks again for all that you do Jim!
Mandabar is offline   Reply With Quote
Old 03-05-2016, 05:10 PM   #1127
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by firefoxxy View Post
...
The replace_metadata is not working well for this story and I can't figure out what the problem is.

While it does change Canon Snape and Injured Snape correctly it doesn't work with Depressed Snape, Colleague Snape and Harry, Snape Equal status to Harry.

I tried using category instead of genre, but that didn't help either. The rest is the same as in the personal.ini above.
...
Are you aware that you don't have to have a && clause?

Code:
replace_metadata:
# You only want to change this when it's a 'Kid Fic'?
 takesplaces=>^0 - Pre Hogwarts.*$=>0 - Pre Hogwarts&&category=>Kid Fic
# Ditto 'Anger'.
 snapeflavours=>^Angry Snape$=>Angry Severus&&category=>Anger
# Are you sure you wouldn't rather do that across the board?
 snapeflavours=>Snape=>Severus
 snapeflavours=>^Comforting Snape$=>Comforting Severus&&category=>Hurt-Comfort
 snapeflavours=>^Depressed Snape$=>Depressed Severus&&category=>Drama
 snapeflavours=>^Desperate Snape$=>Desperate Severus&&category=>Drama
 snapeflavours=>^Kind Snape$=>Kind Severus&&category=>Fluff
 snapeflavours=>^Loving Snape$=>Loving Severus&&category=>Fluff
 snapeflavours=>^Overly-protective Snape$=>Overly-protective Severus&&category=>Protectiveness
# Again, why the && clause?  The story you mentioned doesn't list that ship.
 category=>Colleague Snape and Harry=>Colleagues&&ships=>Harry & Severus
 category=>^Guardian Snape$=>Guardian/Mentor&&ships=>Harry & Severus
# Missing >
 category=>Snape Equal Status to Harry=>Harry Equal Status to Severus

Last edited by JimmXinu; 03-05-2016 at 05:11 PM. Reason: Want, not what.
JimmXinu is offline   Reply With Quote
Old 03-06-2016, 08:51 AM   #1128
version365
Enthusiast
version365 began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by JimmXinu View Post
To the best of my knowledge, Literotica stories don't have ratings. If I'm wrong, please provide a couple story URLs that show it. (And tell me where as I haven't see it.)
Lit stories have ratings but not on the story page, it's actually in the author's submission page. e.g. ratings for the story. [LINKS DELETED - not 'family friendly']. see yellow highlight in image,

[Image violates Posting Guidelines for size - MODERATOR]


Quote:
Originally Posted by JimmXinu View Post
I don't read literotica, so I'm not familiar with it's organization. Can you provide a concrete example with story URL(s) of what you're talking about?
Normally, when I download multi-chapter stories (e.g. the above said catwoman story has two chapters as seen in the author's submission page but the list of chapters is not in the story page though) from literotica, summary is written like in the following image, (summaries of two chapters are separated by ' / ' )

[Image violates Posting Guidelines for size - MODERATOR]

I am asking if it is possible to make the summary like in the following image, (separated by numbers)

Last edited by Dr. Drib; 03-06-2016 at 10:19 AM.
version365 is offline   Reply With Quote
Old 03-06-2016, 01:16 PM   #1129
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Hello Jim!

Well, that's even worse than I thought. I know that I don't have much understanding about coding, but this just floors me.

I thought that the '&&' would add the second part to the first, e.g. takesplaces=>^0 - Pre Hogwarts.*$=>0 - Pre Hogwarts&&category=>Kid Fic means in words: If you find a takeslace:tag that begins with 0 - Pre Hogwarts then change the tag to exactly 0 - Pre Hogwarts and additionally add Kid Fic to category. Obviously that is not what it means.

On the plus side, I now know why half of my tags work and the others don't! Thank you for your thorough explanation, Jim!
firefoxxy is offline   Reply With Quote
Old 03-06-2016, 02:35 PM   #1130
edeniz
Zealot
edeniz began at the beginning.
 
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
Um, hopefully not all too stupid question:

How do I make calibre show me more than one series in the series column? Or at least the detailed tag browser on the right? I understand that some sort of custom column needs to be created, and then in fanficare's settings I need to assign "series" to that column. But no matter what I do, it ends up being only one series that is shown in both the column and the tag browser.

Which probably obvious thing am I missing here?

Thanks in advance.
edeniz is offline   Reply With Quote
Old 03-06-2016, 02:39 PM   #1131
edeniz
Zealot
edeniz began at the beginning.
 
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
Quote:
Originally Posted by firefoxxy View Post
...
I thought that the '&&' would add the second part to the first, e.g. takesplaces=>^0 - Pre Hogwarts.*$=>0 - Pre Hogwarts&&category=>Kid Fic means in words: If you find a takeslace:tag that begins with 0 - Pre Hogwarts then change the tag to exactly 0 - Pre Hogwarts and additionally add Kid Fic to category.
Actually, you can easily add a second tag. See wiki here: ReplaceMetadata

Scroll down. It's at the end of the page.
edeniz is offline   Reply With Quote
Old 03-06-2016, 03:03 PM   #1132
g10r
Junior Member
g10r began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2016
Device: none
When I download certain stories from fimfiction.net i get a 404 error
Example: http://www.fimfiction.net/story/135551/

This seems to happen only for some stories.
g10r is offline   Reply With Quote
Old 03-06-2016, 06:11 PM   #1133
version365
Enthusiast
version365 began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Mar 2016
Device: none
since the images in my previous post was deleted, I will rephrase my post according to posting guidelines..

Quote:
Originally Posted by JimmXinu View Post
To the best of my knowledge, Literotica stories don't have ratings. If I'm wrong, please provide a couple story URLs that show it. (And tell me where as I haven't see it.)
Lit stories have ratings but not on the story page, it's actually in the author's submission page. e.g. ratings for the story Catwoman / Huntress: Eros Risen is in the author's (JTCIII) submission page. (I couldn't provide links as they are not family friendly, you can search google with 'JTCIII literotica' and the first result will be to JTCIII's submission page). See yellow highlight in image, >> http://i.imgur.com/ZPaeZjJ.png


Quote:
Originally Posted by JimmXinu View Post
I don't read literotica, so I'm not familiar with it's organization. Can you provide a concrete example with story URL(s) of what you're talking about?
Normally, when I download multi-chapter stories (e.g. the above said catwoman story has two chapters as seen in the author's submission page but the list of chapters is not in the story page though) from literotica, summary is written like in the following image, (summaries of two chapters are separated by ' / ' ) >> http://i.imgur.com/t6jvVgN.png

I am asking if it is possible to make the summary like in the following image, (separated by numbers) >> http://i.imgur.com/lDi7i7e.png
version365 is offline   Reply With Quote
Old 03-07-2016, 07:25 AM   #1134
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
[edit]
Sorry, missed your more recent post. My bad.

Quote:
Originally Posted by version365 View Post
Lit stories have ratings but not on the story page, it's actually in the author's submission page. e.g. ratings for the story Catwoman / Huntress: Eros Risen is in the author's (JTCIII) submission page. (I couldn't provide links as they are not family friendly, you can search google with 'JTCIII literotica' and the first result will be to JTCIII's submission page). See yellow highlight in image, >> http://i.imgur.com/ZPaeZjJ.png
I could provide a floating point rating for a custom column, but I don't think I could populate it into calibre's standard 'star' Rating column.

However, each chapter has a different rating. How would you propose handling that? Take an average? Use the highest value? Or the lowest?

Quote:
Originally Posted by version365 View Post
Normally, when I download multi-chapter stories (e.g. the above said catwoman story has two chapters as seen in the author's submission page but the list of chapters is not in the story page though) from literotica, summary is written like in the following image, (summaries of two chapters are separated by ' / ' ) >> http://i.imgur.com/t6jvVgN.png

I am asking if it is possible to make the summary like in the following image, (separated by numbers) >> http://i.imgur.com/lDi7i7e.png
That should be possible.

Last edited by JimmXinu; 03-07-2016 at 08:13 AM. Reason: Add actual reply.
JimmXinu is offline   Reply With Quote
Old 03-07-2016, 07:32 AM   #1135
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by edeniz View Post
How do I make calibre show me more than one series in the series column? Or at least the detailed tag browser on the right? I understand that some sort of custom column needs to be created, and then in fanficare's settings I need to assign "series" to that column. But no matter what I do, it ends up being only one series that is shown in both the column and the tag browser.
The standard series column cannot contain more than one series.

You can create additional custom series columns (and populate them from custom_columns_settings, assuming a site/story with multiple series), but I don't know how those appear in the tag browser. I believe there's been discussion of multiple series before over in the Library Management calibre subforum.
JimmXinu is offline   Reply With Quote
Old 03-07-2016, 07:34 AM   #1136
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by g10r View Post
When I download certain stories from fimfiction.net i get a 404 error
Example: http://www.fimfiction.net/story/135551/

This seems to happen only for some stories.
Already fixed in test version:
Quote:
Originally Posted by JimmXinu View Post
New test version posted.

2016-02-23
- Fix for fimfiction.net site update -- thanks Facedeer
JimmXinu is offline   Reply With Quote
Old 03-07-2016, 10:35 AM   #1137
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New test version posted (direct link)

2016-03-07
- Add 'averrating' and tweak description: adapter_literotica

This provides a new site-specific metadata item 'averrating'. However, I've assumed that all stories/chapters have a rating (which my rather limited survey supports). If that's not true, it will need a bit more code.

The description divides the chapter descriptions with leading number, but it had to be in <p> tags or calibre did weird things with it.
JimmXinu is offline   Reply With Quote
Old 03-07-2016, 02:19 PM   #1138
version365
Enthusiast
version365 began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Mar 2016
Device: none
Thumbs up

Quote:
Originally Posted by JimmXinu View Post
[edit]I could provide a floating point rating for a custom column, but I don't think I could populate it into calibre's standard 'star' Rating column.
I installed the latest test version, it works.. I can see the new average rating is written in the book. thanks a lot..
But, I don't see any column for this to add to my custom columns, there's only 'Words' and 'Chapters'..
Quote:
However, each chapter has a different rating. How would you propose handling that? Take an average? Use the highest value? Or the lowest?
I see that you already added it as taking an average, which is great.
However I would like to propose that
1. If the story has 3 or less chapters, take average.
2. If the story has 4 or more chapters, keep all chapter's ratings separate while creating the book title page, but take average for the 'averrating' column value. (If that's possible and not much of a burden for you).

Thanks again for considering my request..
version365 is offline   Reply With Quote
Old 03-07-2016, 02:55 PM   #1139
edeniz
Zealot
edeniz began at the beginning.
 
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
Quote:
Originally Posted by JimmXinu View Post
The standard series column cannot contain more than one series.

You can create additional custom series columns (and populate them from custom_columns_settings, assuming a site/story with multiple series), but I don't know how those appear in the tag browser.

I believe there's been discussion of multiple series before over in the Library Management calibre subforum.

Like I said, I did try it with a custom column, but somehow it didn't work out. But thank you for the link, I'll go check it out, and then try again.
edeniz is offline   Reply With Quote
Old 03-07-2016, 03:23 PM   #1140
firefoxxy
Zealot
firefoxxy began at the beginning.
 
Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
Quote:
Originally Posted by edeniz View Post
Actually, you can easily add a second tag. See wiki here: ReplaceMetadata
Thank you edeniz, I'll have a look at that.
firefoxxy 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 05:00 PM.


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