|
|
#1 |
|
Enthusiast
![]() Posts: 36
Karma: 98
Join Date: Jan 2011
Device: Kindle 3G
|
Custom column to display number of chapters?
If I set fanfictiondownloader to download the fic as a mobi file, I wouldn't get the chapter marks on my kindle. So I found out I need to download the fics as epub files, and then convert them to mobi. An extra step, but it seems to work fine. Now, I want to know how to add a custom column that tells me how many chapters a story has. I downloaded the "Count Pages" plugin that tells me the word count, so chapter count is the only thing missing. (Well, that and auto-downloading the appropriate cover, but that's another topic) Does anyone know how to create a column that will show how many chapters a book has? |
|
|
|
|
|
#2 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,702
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
A TOC item? A new EPUB section file? The only obvious one is when a Heading (H tag) includes the word Chapter and not all books use a Heading Tag, just some other styled text the we recognize visually as a chapter. Do you count Prolog, Epilog as a Chapter? How do you NOT count scene change headings? See the problems to be solved
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Enthusiast
![]() Posts: 36
Karma: 98
Join Date: Jan 2011
Device: Kindle 3G
|
Quote:
![]() No, I would simply count a chapter as a TOC item. This is just fanfiction. I mainly just want a way to separate oneshots from serials. |
|
|
|
|
|
|
#4 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,702
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
A Tedious usage would be:Set the threshold to 2 (the book should have at least 1 entry) (Loop) run the check when the answer appears, filter on Not Chapter count (column), in otherwords: blank select all: Bulk Metadata edit; Set the column value to your threshold setting value. Save Set the Theshold + 1 (repeat loop) I did say tedious
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#5 |
|
Enthusiast
![]() Posts: 36
Karma: 98
Join Date: Jan 2011
Device: Kindle 3G
|
That might be what I'm looking for, actually.
Now, could you explain that process to me as if I'm a complete idiot? ![]() I have the Quality Check plugin and I found the option to "Check ePub structure > Check NCX TOC with < 3 entries" I am lost though. How do I change the threshold? What's a (loop)? And then every other step happened and I feel stupid. :O |
|
|
|
|
|
#6 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
@crackshot91 - what theducks suggested was made in jest, no-one in their right mind would follow those steps, hence all the smilies around it.
Your best bet is to just post on the FanFictionDownloader plugin thread and request an addition to populate a custom column with the chapter count. Personally I think it is a meaningless statistic given that you can't actually get the count of genuine chapters, so I won't be adding it to any of my plugins like Count Pages etc. But JimmXinu might be more willing since it might be a little more meaningful if limited to just FanFiction and he has mentioned it in the past.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#7 |
|
Enthusiast
![]() Posts: 36
Karma: 98
Join Date: Jan 2011
Device: Kindle 3G
|
Thanks, kiwidude. I did try to create a custom integer column for chapters, and when I went into the custom column tab of FanFictionDownloader's config, I saw this:
![]() Unfortunately, the fanfictiondownloader doesn't seem to download the metadata for # of chapters. Thanks for the help! |
|
|
|
|
|
#8 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,702
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
Many computer programs have For (start value)-Next (until end value) (or While) loops. in this case, that would be what was needed, But since Calibre has no Macro...You are the Macro Pick Kiwidudes idea
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#9 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,702
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#10 |
|
Enthusiast
![]() Posts: 36
Karma: 98
Join Date: Jan 2011
Device: Kindle 3G
|
|
|
|
|
|
|
#11 |
|
Enthusiast
![]() Posts: 36
Karma: 98
Join Date: Jan 2011
Device: Kindle 3G
|
I fixed it! Thanks for the assistance, guys. All I had to do was set FFDL to "update the metadata only"
I'm silly... |
|
|
|
![]() |
| Tags |
| chapter count, custom column |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| custom date column from two state column | Dopedangel | Library Management | 7 | 01-03-2012 08:20 AM |
| Adding 'Series Number' column. | polkij | Library Management | 2 | 10-08-2011 06:40 AM |
| User Column with number of formats | lbik | Library Management | 6 | 06-18-2011 07:55 AM |
| Can custom book data be displayed in a custom column? | kiwidude | Development | 9 | 03-02-2011 05:35 AM |
| Change in number of chapters | James_Wilde | Calibre | 2 | 09-09-2010 11:24 AM |