Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-05-2019, 03:23 AM   #3466
Loumaria
Member
Loumaria began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2019
Device: Kindle Fire 7th Gen
An example is : https://www.asianfanfics.com/story/view/1205114
Loumaria is offline   Reply With Quote
Old 06-05-2019, 09:56 AM   #3467
Loumaria
Member
Loumaria began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2019
Device: Kindle Fire 7th Gen
The new test version solved the "None Type..."-problem for some,
but I still get a bad result for some fanfics on Asianfanfics.com with the comment:

" 'NoneType' object has no attribute '__getitem__' "
Loumaria is offline   Reply With Quote
Advert
Old 06-05-2019, 11:55 AM   #3468
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: 3,691
Karma: 634558
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
Quote:
Originally Posted by Loumaria View Post
The new test version solved the "None Type..."-problem for some,
but I still get a bad result for some fanfics on Asianfanfics.com with the comment:

" 'NoneType' object has no attribute '__getitem__' "
I can't look at a problem if I don't see it. Please provide a story URL that exhibits any problem you want to report.
JimmXinu is offline   Reply With Quote
Old 06-05-2019, 12:10 PM   #3469
Loumaria
Member
Loumaria began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2019
Device: Kindle Fire 7th Gen
Quote:
Originally Posted by JimmXinu View Post
I can't look at a problem if I don't see it. Please provide a story URL that exhibits any problem you want to report.
This is one of the story URLs where the problem occurs: https://www.asianfanfics.com/story/view/1055347
Loumaria is offline   Reply With Quote
Old 06-05-2019, 01:21 PM   #3470
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: 3,691
Karma: 634558
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
New Test Version Posted

2018-06-05
- More fixes for adapter_asianfanficscom site now giving different HTML to FFF.
- Fix for some(older?) adapter_asianfanficscom stories not have json links.
JimmXinu is offline   Reply With Quote
Advert
Old 06-05-2019, 05:52 PM   #3471
Loumaria
Member
Loumaria began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2019
Device: Kindle Fire 7th Gen
Thanks, problems solved
Loumaria is offline   Reply With Quote
Old 06-06-2019, 05:25 AM   #3472
alexeric123
Member
alexeric123 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Mar 2018
Device: kindle
novelonlinefull.com error

novelonlinefull.com error


Bad
Black Iron's Glory
Smoke Is A Path
'NoneType' object has no attribute 'string'
https://novelonlinefull.com/novel/black_irons_glory


Thanks for looking at this
edit: it happens with all the stories on the site

Last edited by alexeric123; 06-06-2019 at 05:37 AM.
alexeric123 is offline   Reply With Quote
Old 06-06-2019, 03:53 PM   #3473
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: 3,691
Karma: 634558
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
New Test Version Posted

2018-06-06
- Fix for site change adapter_novelonlinefullcom
JimmXinu is offline   Reply With Quote
Old 06-06-2019, 04:26 PM   #3474
alexeric123
Member
alexeric123 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Mar 2018
Device: kindle
Fixed

Thanks, that fixed the problem
alexeric123 is offline   Reply With Quote
Old 06-07-2019, 04:29 AM   #3475
marshie250
Junior Member
marshie250 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2019
Device: RCA
Custom Column with Anthologies

Hello! I've been struggling to set calibre up exactly how I want it for a while. I'd like to be able to have a column for the "Kudos" or "Favs" count. I set up a custom column (loopkup name #kudos, header Kudos, integers) and have the below set up for my personal.ini This works great for populating the Kudos column for normal stories, but the column remains empty when updating anthologies. When updating, I've selected the "Update epub always" option, and the EpubMerge column configuration is set to "average value from source books with values."
Notes:
1. When merging books together (that already had the column filled in as individual books) for the first time, the column populates and averages as desired.
2. When running the "Update epub always" on the anthologies, the title pages DO update to reflect the Kudos count.

Any suggestions for getting the column to populate for anthologies?

personal.ini:
[defaults]

extra_valid_entries:kudos,favs
kudos_label:Kudos
extra_titlepage_entries:kudos

custom_columns_settings:
kudos,favs=>#kudos

[archiveofourown.org]
add_to_custom_columns_settings:
kudos=>#kudos

[fanfiction.net]
add_to_custom_columns_settings:
favs=>#kudos
marshie250 is offline   Reply With Quote
Old 06-07-2019, 11:53 AM   #3476
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: 3,691
Karma: 634558
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
Quote:
Originally Posted by marshie250 View Post
... but the column remains empty when updating anthologies. When updating, I've selected the "Update epub always" option, and the EpubMerge column configuration is set to "average value from source books with values."
...
Any suggestions for getting the column to populate for anthologies?
You're very nearly there. The problem is this:

Code:
custom_columns_settings:
 kudos,favs=>#kudos
custom_columns_settings only takes one metadata entry key. I know of no sites that use both kudos and favs, so under [defaults] you should use:

Code:
custom_columns_settings:
 favs=>#kudos
 kudos=>#kudos
You could also skip the individual site settings for that column then.

This can potentially cause a problem if you ever anthology stories from AO3 and ffnet in the same book. I think I know a way around that, but it's complicated, so I'm not going to figure it out until it's needed.

FYI, EpubMerge's column settings are not used when FFF is creating/updating an anthology. So good idea, but not this time.
JimmXinu is offline   Reply With Quote
Old 06-07-2019, 01:40 PM   #3477
marshie250
Junior Member
marshie250 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2019
Device: RCA
Quote:
Originally Posted by JimmXinu View Post
Code:
custom_columns_settings:
 favs=>#kudos
 kudos=>#kudos
That did it! Thank you!!!

Last edited by marshie250; 06-07-2019 at 01:44 PM.
marshie250 is offline   Reply With Quote
Old 06-10-2019, 05:52 AM   #3478
Loumaria
Member
Loumaria began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2019
Device: Kindle Fire 7th Gen
This is also about custom columns, specifically for AO3 and Asianfanfics.com

I have:

custom_columns_settings:
upvotes=>#kudos
kudos=>#kudos
views=>#views
hits=>#views
subscribers=>#subscribers
comments=>#commentcount
bookmarks=>#bookmarks

Now for AO3 everything works, but for asianfanfics I can't seem to get the views and the comment count. Did I perhaps use the wrong metadata entry key?
Loumaria is offline   Reply With Quote
Old 06-10-2019, 05:55 AM   #3479
Loumaria
Member
Loumaria began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2019
Device: Kindle Fire 7th Gen
Quote:
Originally Posted by Loumaria View Post
This is also about custom columns, specifically for AO3 and Asianfanfics.com

I have:

custom_columns_settings:
upvotes=>#kudos
kudos=>#kudos
views=>#views
hits=>#views
subscribers=>#subscribers
comments=>#commentcount
bookmarks=>#bookmarks

Now for AO3 everything works, but for asianfanfics I can't seem to get the views and the comment count. Did I perhaps use the wrong metadata entry key?
There is a blank before each entry.
Loumaria is offline   Reply With Quote
Old 06-10-2019, 01:18 PM   #3480
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: 3,691
Karma: 634558
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Voyage
New Test Version Posted

2018-06-10
- Fix for adapter_asianfanficscom change for views metadata

adapter_asianfanficscom doesn't collect comment count because it's loaded by javascript rather than being on the page.

FYI, use [code] tags around ini sections to preserve spacing in forum posts.
JimmXinu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 332 08-31-2018 08:54 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 412 04-24-2018 06:07 PM
[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 06:49 PM.


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