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 08-01-2019, 04:25 PM   #3646
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,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

Found a problem with SB caused by changes for SV.

2019-08-01
- Fix for corner-case with deleting Rejects.
- Fix for XF1 regression caused by XF2 threadmarks metadata code.
JimmXinu is offline   Reply With Quote
Old 08-02-2019, 03:50 PM   #3647
serana
Member
serana began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2017
Device: Pocketbook Touch HD 3; Samsung Galaxy S10e
Thanks for the latest update and fixes! I really appreciate all the hard work you put into this amazing plugin !

Very recently I stumbled across a test-version (?) of AO3 and was wondering if you could include it or if this is something I could do myself? I found that it still has some very old, now-deleted fics I'd like to save but going through 1.5k of stories manually is a lot of work...

Could you please have a look? https://test.archiveofourown.org/

Thank you in advance!
serana is offline   Reply With Quote
Advert
Old 08-02-2019, 06:20 PM   #3648
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,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by serana View Post
Could you please have a look? https://test.archiveofourown.org/
I'm not going to add test.archiveofourown.org as it's own site.

If you want to temporarily alter your copy of FFF to download from test.archiveofourown.org instead of archiveofourown.org, that wouldn't be hard to do.
JimmXinu is offline   Reply With Quote
Old 08-03-2019, 10:28 AM   #3649
serana
Member
serana began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2017
Device: Pocketbook Touch HD 3; Samsung Galaxy S10e
Quote:
Originally Posted by JimmXinu View Post
I'm not going to add test.archiveofourown.org as it's own site.

If you want to temporarily alter your copy of FFF to download from test.archiveofourown.org instead of archiveofourown.org, that wouldn't be hard to do.
Fair enough, thank you for your quick answer . If you have any suggestions on what I should look up to find out how to do it, I'll happily take them. I have no clue about programming but I'm able to recognise patterns, and imitate and alter them.
serana is offline   Reply With Quote
Old 08-03-2019, 10:38 AM   #3650
serana
Member
serana began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2017
Device: Pocketbook Touch HD 3; Samsung Galaxy S10e
I can't seem to be able to edit my own posting, so I have to quote myself...

Quote:
Originally Posted by serana View Post
Fair enough, thank you for your quick answer . If you have any suggestions on what I should look up to find out how to do it, I'll happily take them. I have no clue about programming but I'm able to recognise patterns, and imitate and alter them.
I take it I have to alter the adapter file for AO3. At least it looks like the most logical place so far .
serana is offline   Reply With Quote
Advert
Old 08-03-2019, 11:50 AM   #3651
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,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
@serana, alter fanficfare/adapters/adapter_archiveofourownorg.py to change archiveofourown.org in the getSiteDomain(), getAcceptDomains(cls) and getSiteURLPattern(self) methods.
JimmXinu is offline   Reply With Quote
Old 08-03-2019, 03:37 PM   #3652
serana
Member
serana began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2017
Device: Pocketbook Touch HD 3; Samsung Galaxy S10e
Quote:
Originally Posted by JimmXinu View Post
@serana, alter fanficfare/adapters/adapter_archiveofourownorg.py to change archiveofourown.org in the getSiteDomain(), getAcceptDomains(cls) and getSiteURLPattern(self) methods.
Thank you, I'll try that!
serana is offline   Reply With Quote
Old 08-04-2019, 06:18 AM   #3653
serana
Member
serana began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2017
Device: Pocketbook Touch HD 3; Samsung Galaxy S10e
@JimmXinu: It worked ! Thank you so much for your help!
serana is offline   Reply With Quote
Old 08-09-2019, 01:20 AM   #3654
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
Can I use another column than Y/N column to show status of a story? I've tried with a fixed set of Permitted Values (shown in screenshot), but it didn't work. It added In-Progress to an incomplete story but didn't add complete to one that was.
Attached Thumbnails
Click image for larger version

Name:	Edit custom column.png
Views:	138
Size:	7.8 KB
ID:	172840  
Tanjamuse is offline   Reply With Quote
Old 08-09-2019, 10:57 AM   #3655
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,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
Can I use another column than Y/N column to show status of a story? I've tried with a fixed set of Permitted Values (shown in screenshot), but it didn't work. It added In-Progress to an incomplete story but didn't add complete to one that was.
Try it with Completed with a 'd'.

Be aware that some sites have other status values beyond simply In-Progress and Completed. If you're using a text column, I wouldn't limit it to a permitted values set.
JimmXinu is offline   Reply With Quote
Old 08-09-2019, 11:14 AM   #3656
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
Thanks
Tanjamuse is offline   Reply With Quote
Old 08-09-2019, 09:04 PM   #3657
Loba
Enthusiast
Loba began at the beginning.
 
Loba's Avatar
 
Posts: 29
Karma: 10
Join Date: Sep 2016
Device: PW2 Wifi-4GB
Quote:
So, I stepped away from Calibre and FFF for awhile and recently came back to it. I did something somewhere that broke it, but I am not sure where since I am really rusty after my "hiatus" from the plugin.

When I pull a fic from ao3 it doesn't seem to be picking up any freeformtags at all. How I have it set up, and how it always has worked, is it pulls the tags into the tag column unaltered. It uses replace_metadata to clean up somewhat, and then uses include_metadata to stick cleaned up tags into a couple custom columns. It would leave the original unaltered tags in the stock Tags column. Now it seems like it just isn't getting the tags at all. It gets all the other info fine. Title, fandom, pairings, rating, etc.

I'm sure I am explaining this horribly so I am going to post my ini here.

I'm sure it is something small interfering and if you point me in the right direction, I can figure it out. Thanks!
EDIT: I almost immediately remembered that calibre debug existed and fixed it my own self. Sorry to bother!

Last edited by Loba; 08-09-2019 at 09:27 PM.
Loba is offline   Reply With Quote
Old 08-09-2019, 09:41 PM   #3658
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,995
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
@Loba - Have you updated to the most recent Calibre and FFF versions?

Can you provide a few story URLs that exhibit the problem? FFF is collecting AO3 metadata fine for me.
JimmXinu is offline   Reply With Quote
Old 08-09-2019, 11:08 PM   #3659
Loba
Enthusiast
Loba began at the beginning.
 
Loba's Avatar
 
Posts: 29
Karma: 10
Join Date: Sep 2016
Device: PW2 Wifi-4GB
Quote:
Originally Posted by JimmXinu View Post
@Loba - Have you updated to the most recent Calibre and FFF versions?

Can you provide a few story URLs that exhibit the problem? FFF is collecting AO3 metadata fine for me.
I pretty much immediately figured it out after posting (isn't that the way?) it was a stray | at the beginning of the Regex in the replace_metadata entry that was causing the issue. Thanks for the quick reply, and sorry for the bother.
Loba is offline   Reply With Quote
Old 08-10-2019, 08:40 PM   #3660
Loba
Enthusiast
Loba began at the beginning.
 
Loba's Avatar
 
Posts: 29
Karma: 10
Join Date: Sep 2016
Device: PW2 Wifi-4GB
Alright, I have another more specific question. I am getting the following error:
Code:
FFF: INFO: 2019-08-10 17:32:47,246: calibre_plugins.fanficfare_plugin.fanficfare.story(605): Skipping replace_metadata line freeformtags,warnings=>^(([Aa]ttempted.)?([Ss]uicid.*)|([Ss]elf.?[Hh]arm)|([Cc]utting))$=>Self Harm\,Mental Health/Illness to prevent infinite recursion.
I am thinking it's taking the tag Self-Harm and changing it to Self Harm and then catching itself again because Self Harm still matches with [Ss]elf.?[Hh]arm.

Do you know of a way I can write this so it will still catch Self-Harm, selfharm, Self harm, etc. and replace it without causing a loop like this?
Loba 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 03:11 PM.


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