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 07-25-2024, 06:35 PM   #9766
TaviCalderon
Member
TaviCalderon began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
god DUH

thank you, you literally already told me that to change the label name and i immediately forgot it when i circled back around to this two weeks later. im sorry! lol
TaviCalderon is offline   Reply With Quote
Old 07-25-2024, 10:46 PM   #9767
TaviCalderon
Member
TaviCalderon began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
hi back yet again and i'm unsure if this is even possible, so if its not that is fine. just let me know if i'm off the mark!

is it possible to make the series: ____ and byline: ____ sections on my title pages hyperlinks to the series page and author page? like, the same way that the work title has the link to the site embedded in it.

before i went and customized it, the author name was at the very top of the titlepage where it went [Story Name] by [Author Name]. both were functioning links to the story and author pages on ao3. i have a section called "byline" lower down on my title page, which is where i prefer author names be, so i removed the author from the top of the page.

i feel like it should be possible to make the spot where my author names show up be a link once more even though its toward the bottom of the page, but i'm not sure how i would accomplish that. what i have tried so far looked like the below, adding to wide_titlepage_entries, and it didnt do anything at all. (tried something similar but with {seriesurl} instead of {authorurl}, also did not work.)

Spoiler:

Code:
wide_titlepage_entries:
<b class="fff_tp_label" id="${id}_label">${label}:</b>
<span class="fff_tp_value" id="${id}_value">
${id == 'author' ? '<a href="${authorurl}">${value}</a>' : '${value}'}
</span><br />


am i labelling something wrong, or am i trying to do the impossible?? (i am still bad at css and do not know what i am doing. still sorry about it.)

if it helps at all, the relevant section of my personal.ini [defaults] looks like this:

Spoiler:

Code:
titlepage_entries: series,category,ships,characters,<br />,calibre_std_rating,status,rating,warnings,ao3categories,bookmarktags,<br />
extra_titlepage_entries:chapterslashtotal,numWords,bookmarks,kudos,comments,hits,datePublished,dateUpdated,author,collections,<br />,freeformtags,<br />,description

replace_metadata:
 calibre_std_rating=>1=>★
 calibre_std_rating=>2=>★★
 calibre_std_rating=>3=>★★★
 calibre_std_rating=>4=>★★★★
 calibre_std_rating=>5=>★★★★★



and my [epub] section looks like this:

Spoiler:

Code:
[epub]
titlepage_start:<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>${title}</title>
 <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
 </head>
 <body class="fff_titlepage">
 <h3><a href="${storyUrl}">${title}</a></h3>
 <div>

titlepage_entry:<b class="fff_tp_label" id="${id}_label">${label}:</b> <span class="fff_tp_value" id="${id}_value">${value}</span><br />


## When using tables, make these span both columns.
wide_titlepage_entries:<b class="fff_tp_label" id="${id}_label">${label}:</b> <span class="fff_tp_value" id="${id}_value">${value}</span><br />


add_to_output_css:
 #description_value {
    font-style: italic;
 }
 div.fff_chapter_notes {
    font-weight: bold;
    }
TaviCalderon is offline   Reply With Quote
Old 07-25-2024, 11:00 PM   #9768
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,501
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Try seriesHTML and authorHTML. I don't think byline gets an 'HTML' version.
JimmXinu is offline   Reply With Quote
Old 07-27-2024, 11:36 AM   #9769
WolFen
Junior Member
WolFen began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: none
I know this is going to be fairly messy as I honestly don't know anything on how to really make things work (super new and unfamiliar with this), and was mostly grabbing what seemed appropriate from this guide, modifying a bit (Mainly the series stuff, as I knew my bookmarks have some works in series that go above 9 connected series) as well as grabbing a portion from a reddit post (The comment from OP with what to put in personal.ini)

I'd like help in figuring out how to make the bookmark notes/summary & tags show up in the metadata? I don't think it has to do with me being connected to my Ao3 account, as it asks me to log in every time I download (I probably screwed that up too lol, I'm fairly sure there's a way to make it just do it by itself as like, I do have my username and password in personal.ini but it doesn't do anything with it) so I'm a little lost

The rest of the mess I have I can handle, it's whatever I don't care about it too much as it at least still scrapes the rest of the metadata even if it's a mess/doesn't show in separate columns

Spoiler:

Code:
## This is an example of what your personal configuration might look
## like.  Uncomment options by removing the '#' in front of them.

[defaults]
## [defaults] section applies to all formats and sites but may be
## overridden at several levels.  See
## https://github.com/JimmXinu/FanFicFare/wiki/INI-File for more
## details.

## Some sites also require the user to confirm they are adult for
## adult content.  Uncomment by removing '#' in front of is_adult.
#is_adult:true

## Don't like the numbers at the start of chapter titles on some
## sites?  You can use strip_chapter_numbers to strip them off.  Just
## want to make them all look the same?  Strip them off, then add them
## back on with add_chapter_numbers.  Don't like the way it strips
## numbers or adds them back?  See chapter_title_strip_pattern and
## chapter_title_add_pattern in defaults.ini.
#strip_chapter_numbers:true
#add_chapter_numbers:true


[epub]
## Include images from img tags in the body and summary of stories.
## Images will be converted to jpg for size if possible.  Images work
## in epub format only.  To get mobi or other format with images,
## download as epub and use Calibre to convert.
## true by default, uncomment and set false to not include images.
#include_images:true

## If set false, the summary will have all html stripped for safety.
## Both this and include_images must be true to get images in the
## summary.
## true by default, uncomment and set false to not keep summary html.
#keep_summary_html:true

## If set true, and there isn't a specific cover image, the first
## image found in the story will be made the cover image.  If
## keep_summary_html is true, images in the summary will be before any
## in chapters.
## true by default, uncomment and set false to turn off
#make_firstimage_cover:true


## Most common, I expect will be using this to save username/passwords
## for different sites.  Here are a few examples.  See defaults.ini
## for the full list.

[archiveofourown.org]
#username:XXXXXXXX
#password:XXXXXXXX
#is_adult:true

extra_valid_entries:fandoms, freeformtags, freefromtags,  ao3categories, comments, chapterslashtotal, chapterstotal, kudos,  hits, bookmarks, collections, byline, bookmarked, bookmarktags,  bookmarksummary, bookmarkprivate, bookmarkrec, restricted, series00,  series01, series02, series03, series04, series05, series06, series07,  series08,  series09,  series10,  series11,  series12,  series13,  series14,  series15,  series16,  series17,  series18,  series19, series20, series00Url, series01Url, series02Url, series03Url,   series04Url, series05Url, series06Url, series07Url, series08Url, series09Url, series10Url, series11Url, series12Url, series012rl, series13Url, series14Url, series15Url, series16Url, series17Url, series18Url, series19Url, series20Url,  series00HTML, series01HTML, series02HTML, series03HTML, series04HTML,  series05HTML, series06HTML, series07HTML, series08HTML, series09HTML, series10HTML, series11HTML, series12HTML, series13HTML, series14HTML, series15HTML, series16HTML, series17HTML, series18HTML, series19HTML, series20HTML 
fandoms_label:Fandoms 
freeformtags_label:Freeform Tags 
freefromtags_label:Freeform Tags 
ao3categories_label:AO3 Categories 
comments_label:Comments 
chapterslashtotal_label:Chapters/Total Chapters 
chapterstotal_label:Total Chapters 
kudos_label:Kudos hits_label:Hits collections_label:Collections 
## Count of bookmarks on story by all users bookmarks_label:Bookmarks 
## Tags & Summary from *your* bookmark on the story.  Only collected 
## if always_login:true bookmarked_label:I Bookmarked Story bookmarktags_label:My Bookmark Tags 
bookmarksummary_label:My Bookmark Summary 
bookmarkprivate_label:My Bookmark Private 
bookmarkrec_label:My Bookmark Rec 
restricted_label:Restricted to Registered Users 
series00HTML_label:Series 
series01HTML_label:Additional Series 
series02HTML_label:Additional Series 
series03HTML_label:Additional Series 
series04HTML_label:Additional Series 
series05HTML_label:Additional Series 
series06HTML_label:Additional Series 
series07HTML_label:Additional Series 
series08HTML_label:Additional Series 
series09HTML_label:Additional Series 
series10HTML_label:Additional Series 
series11HTML_label:Additional Series 
series12HTML_label:Additional Series 
series13HTML_label:Additional Series 
series14HTML_label:Additional Series 
series15HTML_label:Additional Series 
series16HTML_label:Additional Series 
series17HTML_label:Additional Series 
series18HTML_label:Additional Series 
series19HTML_label:Additional Series 
series20HTML_label:Additional Series  
make_linkhtml_entries:series00,series01,series02,series03,series04,series05,series06,series07,series08,series09,series10,series11,series12,series13,series14,series15,series16,series17,series18,series19,series20  
titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,description extra_titlepage_entries: fandoms,freeformtags,ao3categories,comments,chapterslashtotal,chapterstotal,kudos,hits,bookmarks,bookmarked,bookmarktags,bookmarksummary,series01HTML,series02HTML,series03HTML,series04HTML,series05HTML,series06HTML,series07HTML,series08HTML,series09HTML,series10HTML,series11HTML,series12HTML,series13HTML,series14HTML,series15HTML,series16HTML,series17HTML,series18HTML,series19HTML,series20HTML,byline  


custom_columns_settings: 

 series=>#multiseries,a
 series00=>#multiseries,a
 series01=>#multiseries,a
 series02=>#multiseries,a
 series03=>#multiseries,a
 series04=>#multiseries,a
 series05=>#multiseries,a
 series06=>#multiseries,a
 series07=>#multiseries,a
 series08=>#multiseries,a
 series09=>#multiseries,a
 series10=>#multiseries,a
 series11=>#multiseries,a
 series12=>#multiseries,a
 series13=>#multiseries,a
 series14=>#multiseries,a
 series15=>#multiseries,a
 series16=>#multiseries,a
 series17=>#multiseries,a
 series18=>#multiseries,a
 series19=>#multiseries,a
 series20=>#multiseries,a

## include a Update Log page before the story text.  If 'true', the
## log will be updated each time the epub is and all the metadata
## fields that have changed since the last update (typically
## dateUpdated,numChapters,numWords at a minimum) will be shown.
## Great for tracking when chapters came out and when the description,
## etc changed.
## Plugin will now preserve the log page when the epub is overwritten,
## too.
include_logpage: true
## If set to 'smart', logpage will only be included if the story is
## status:In-Progress or already had a logpage.  That way you don't
## end up with Completed stories that have just one logpage entry.
#include_logpage: smart

## By default, logpage is placed before the story chapters.  This
## setting, if true, will place the logpage after the chapters
## instead.
logpage_at_end: true

## items to include in the log page Empty metadata entries, or those
## that haven't changed since the last update, will *not* appear, even
## if in the list.  You can include extra text or HTML that will be
## included as-is in each log entry. Eg: logpage_entries: ...,<br />,
## summary,<br />,...
logpage_entries: dateCreated,<br />,datePublished,<br />,dateUpdated,<br />,numChapters,numWords,status,<br />,series,<br />,title,<br />,author,<br />,description,<br />,category,<br />,genre,<br />,rating,<br />,warnings,<br />,fandoms,<br />,freeformtags,<br />,freefromtags,
 ao3categories,<br />,comments,<br />,chapterstotal,<br />,kudos,
 hits,<br />,bookmarks,<br />,collections,<br />,byline,<br />,bookmarked,<br />,bookmarktags,
 bookmarksummary,<br />,bookmarkprivate,<br />,bookmarkrec,<br />,restricted,<br />,series00,
 series01,<br />,series02,<br />,series03






##This is what metadata is put into the main tags category in Calibre on download or update, 
##if FFF is configured to update tags every time. Will add missing tags if updating an existing 
##story but will not overwrite/remove other tags on update.
include_subject_tags: extratags, ao3categories, fandoms, ships, status, warnings

## extra tags (comma separated) to include
extratags: FFF















[www.fanfiction.net]
#username:XXXXXXXX
#password:XXXXXXXX
#is_adult:true


[www.twilighted.net]
#username:YourPenname
#password:YourPassword
## default is false
#collect_series: true

[www.fimfiction.net]
#is_adult:true
#fail_on_password: false

[www.tthfanfic.org]
#is_adult:true
## tth is a little unusual--it doesn't require user/pass, but the site
## keeps track of which chapters you've read and won't send another
## update until it thinks you're up to date.  If you set
## username/password, FFF will login to download.  Then the site
## thinks you're up to date.
#username:YourName
#password:yourpassword


## This section will override anything in the system defaults or other
## sections here.
[overrides]
## default varies by site.  Set true here to force all sites to
## collect series.
#collect_series: true
#is_adult:true
#extratags_label:Fanfics


Sorry if I put more than I had to, I feel like I had to (Outside of censoring my Usernames and passwords) as I am not sure where it went wrong- well where it went wrong making it so the bookmark metadata isn't collected

Also I apologize if it's sent twice, I tried sending it once but it didn't? I'm not sure why?
WolFen is offline   Reply With Quote
Old 07-27-2024, 02:21 PM   #9770
ditn
Junior Member
ditn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2024
Device: Windows
FanFicFare does not update the "update" column

I am trying to get a column with the date (or date and time) of the last time the ebook was updated -- either the first time, or any time a new chapter is actually downloaded and added to the book.

I have created a custom date column, and configured FFF to fill this column with "Update", and did *not* select New Only.

But, this column is loaded on new book download only; it does not change when a new chapter is added.

Any suggestions?
ditn is offline   Reply With Quote
Old 07-27-2024, 04:40 PM   #9771
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,501
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by ditn View Post
I am trying to get a column with the date (or date and time) of the last time the ebook was updated -- either the first time, or any time a new chapter is actually downloaded and added to the book.

I have created a custom date column, and configured FFF to fill this column with "Update", and did *not* select New Only.

But, this column is loaded on new book download only; it does not change when a new chapter is added.
FFF records three dates as metadata entries: Published (when story was first published by author), Updated (when story was last updated by author) and Created (when FFF created the current ebook). It sounds like you want Created.

As for why 'Updated' may not be changing, assuming the story(s) has been updated by the author, my only thought is if you have the 'Default Update Calibre Metadata' option unchecked on the FFF Basic tab, which would prevent most Calibre metadata changing.
JimmXinu is offline   Reply With Quote
Old 07-27-2024, 04:43 PM   #9772
WolFen
Junior Member
WolFen began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: none
[Deleted for <Accidental Duplicate>]
This forum is so confusing to understand how to delete stuff. I'm so sorry for the spam.
WolFen is offline   Reply With Quote
Old 07-27-2024, 05:00 PM   #9773
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,501
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
I deleted two of your three dup posts. MR requires moderator approval of a new user's first few posts. The sites get too many spam accounts.

Quote:
Originally Posted by WolFen View Post
I know this is going to be fairly messy as I honestly don't know anything on how to really make things work (super new and unfamiliar with this), and was mostly grabbing what seemed appropriate from this guide, modifying a bit (Mainly the series stuff, as I knew my bookmarks have some works in series that go above 9 connected series) as well as grabbing a portion from a reddit post (The comment from OP with what to put in personal.ini)

I'd like help in figuring out how to make the bookmark notes/summary & tags show up in the metadata? I don't think it has to do with me being connected to my Ao3 account, as it asks me to log in every time I download (I probably screwed that up too lol, I'm fairly sure there's a way to make it just do it by itself as like, I do have my username and password in personal.ini but it doesn't do anything with it) so I'm a little lost

The rest of the mess I have I can handle, it's whatever I don't care about it too much as it at least still scrapes the rest of the metadata even if it's a mess/doesn't show in separate columns
In no particular order:
  • For AO3 (without always_login:true), you should only be prompted for user/pass for stories that require login.
  • You don't need to copy extra_valid_entries and all the existing _labels etc unless you are changing them. defaults.ini already has them. And your version has some mistakes--look at the line starting kudos_label. Instead use add_to_extra_valid_entries:,series04,... for your new entries.

    See the wiki page add_to_.
  • Do you seriously have a story with 20 series associated with it??
  • include_subject_tags is indeed the setting to choose what goes in Calibre's Tags column. However, because it comes from epub <subject> tags, it's set in [epub] in defaults.ini, which takes precedence over [archiveofourown.org] in personal.ini. Use either add_to_include_subject_tags:,ao3categories, fandoms, etc or move your include_subject_tags line under [archiveofourown.org:epub].

    See the wiki page for precedence order.
JimmXinu is offline   Reply With Quote
Old 07-27-2024, 07:44 PM   #9774
ditn
Junior Member
ditn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2024
Device: Windows
Quote:
Originally Posted by JimmXinu View Post
As for why 'Updated' may not be changing, assuming the story(s) has been updated by the author, my only thought is if you have the 'Default Update Calibre Metadata' option unchecked on the FFF Basic tab, which would prevent most Calibre metadata changing.
That was it, thank you!
ditn is offline   Reply With Quote
Old 07-28-2024, 08:58 AM   #9775
mrEd
Member
mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.mrEd shines like a glazed doughnut.
 
Posts: 17
Karma: 8634
Join Date: Oct 2020
Device: none
Just a quick one. Storiesonline has started listing authors as "<author>'s page", which seems to be coming from the links at the bottom of a story page.

The top links are Home » Authors » Author » Story » Chapter
Bottom links are Home | Top | Author’s Page | Contact Author | Report Story
mrEd is offline   Reply With Quote
Old 07-28-2024, 09:59 AM   #9776
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,501
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by mrEd View Post
Just a quick one. Storiesonline has started listing authors as "<author>'s page", which seems to be coming from the links at the bottom of a story page.

The top links are Home » Authors » Author » Story » Chapter
Bottom links are Home | Top | Author’s Page | Contact Author | Report Story
Is that with using the posted test version? Because I've fixed once already.
JimmXinu is offline   Reply With Quote
Old 07-28-2024, 11:59 AM   #9777
TaviCalderon
Member
TaviCalderon began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
Quote:
Originally Posted by JimmXinu View Post
Try seriesHTML and authorHTML. I don't think byline gets an 'HTML' version.
I tried the below as well, but it also did not change anything.

Spoiler:

Code:
wide_titlepage_entries:<b class="fff_tp_label" id="${id}_label">${label}:</b> <span class="fff_tp_value" id="${id}_value">${value}</span><br />
 <b class="fff_tp_label" id="${id}_label">${label}:</b>
 <span class="fff_tp_value" id="${id}_value">
 ${id == 'author' ? '<a href="${authorHTML}">${value}</a>' : '${value}'}
 </span><br />


am i missing something? When i tried this with {seriesHTML} instead of {seriesUrl} it also did nothing.
TaviCalderon is offline   Reply With Quote
Old 07-28-2024, 12:08 PM   #9778
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,501
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by TaviCalderon View Post
I tried the below as well, but it also did not change anything.

Spoiler:

Code:
wide_titlepage_entries:<b class="fff_tp_label" id="${id}_label">${label}:</b> <span class="fff_tp_value" id="${id}_value">${value}</span><br />
 <b class="fff_tp_label" id="${id}_label">${label}:</b>
 <span class="fff_tp_value" id="${id}_value">
 ${id == 'author' ? '<a href="${authorHTML}">${value}</a>' : '${value}'}
 </span><br />


am i missing something? When i tried this with {seriesHTML} instead of {seriesUrl} it also did nothing.
wide_titlepage_entries is a list of entries, giving it HTML is not going to work. And it's only for declaring which should be considered 'wide'.

Frankly, I'd like to remove the whole 'wide' distinction, but I had backward incompatibilities more.

titlepage_entry / titlepage_wide_entry (singular) are the HTML templates and the only values available are ${id}, ${label}, ${value}, not any metadata entry names.

I meant to put seriesHTML and authorHTML in titlepage_entries. Those HTML entries are specially constructed in the code to be linked HTML snippets for exactly that purpose.
JimmXinu is offline   Reply With Quote
Old 07-28-2024, 12:50 PM   #9779
WolFen
Junior Member
WolFen began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: none
Gotcha, thank you. I figured as much, but while it informed me the message was waiting for approval when I used the 'Go Advanced', when I first tried the Quick Reply option it didn't let me know that, so I thought the messages were just deleted.

Quote:
Originally Posted by JimmXinu View Post
For AO3 (without always_login:true), you should only be prompted for user/pass for stories that require login.
I figured there's probably something I was missing, but didn't know what. Thank you, I'll add it after the #is_adult:true

Quote:
Originally Posted by JimmXinu View Post
You don't need to copy extra_valid_entries and all the existing _labels etc unless you are changing them. defaults.ini already has them. And your version has some mistakes--look at the line starting kudos_label. Instead use add_to_extra_valid_entries:,series04,... for your new entries.
See the wiki page add_to_.
Oh huh I see, yeah I didn't know that, I copied these stuff from the guide and figured if it's there that means it's not default for the plugin.
Er I feel really dumb, as I don't quite understand. I'm not very good at this kind of stuff.
It seems like I don't need to do something anyways as you said it's unneeded except for the series entries, which I'm not sure how if it's wrong. I read and still have open the wiki section you linked, but it just doesn't make sense for me. Even with me learning English for years I think the more complicated stuff still stumps me. Add to that coding, and yeah I'm just not too sure what's going on.

Will attempt putting down what I think would be a fixed Ao3 section from what you said, labels wise at least. I think it might be Hits and Collections not being in their own lines, not sure. That is what I copied from the guide, so I guess they accidently messed it up in the guide itself

Spoiler:

Code:
[archiveofourown.org]
#username:XXXXXXXX
#password:XXXXXXXX
#is_adult:true
#always_login:true

add_to_extra_valid_entries:series04, series05, series06, series07, series08, series09, series10, series11, series12, series13, series14, series15, series16, series17, series18, series19, series20, series04Url, series05Url, series06Url, series07Url, series08Url, series09Url, series10Url, series11Url, series12Url, series012rl, series13Url, series14Url, series15Url, series16Url, series17Url, series18Url, series19Url, series20Url, series04HTML, series05HTML, series06HTML, series07HTML, series08HTML, series09HTML, series10HTML, series11HTML, series12HTML, series13HTML, series14HTML, series15HTML, series16HTML, series17HTML, series18HTML, series19HTML, series20HTML 
series04HTML_label:Additional Series 
series05HTML_label:Additional Series 
series06HTML_label:Additional Series 
series07HTML_label:Additional Series 
series08HTML_label:Additional Series 
series09HTML_label:Additional Series 
series10HTML_label:Additional Series 
series11HTML_label:Additional Series 
series12HTML_label:Additional Series 
series13HTML_label:Additional Series 
series14HTML_label:Additional Series 
series15HTML_label:Additional Series 
series16HTML_label:Additional Series 
series17HTML_label:Additional Series 
series18HTML_label:Additional Series 
series19HTML_label:Additional Series 
series20HTML_label:Additional Series  



add_to_make_linkhtml_entries:series04,series05,series06,series07,series08,series09,series10,series11,series12,series13,series14,series15,series16,series17,series18,series19,series20  



extra_titlepage_entries: 
series04HTML,series05HTML,series06HTML,series07HTML,series08HTML,series09HTML,series10HTML,series11HTML,series12HTML,series13HTML,series14HTML,series15HTML,series16HTML,series17HTML,series18HTML,series19HTML,series20HTML





The latter parts of make_linkhtml_entries & titlepage_entries I’m uncertain about. I couldn’t find anything in your wiki regarding make_linkhtml_entries, but again it’s in the guide and I assume it probably does do something for the series?
Going through what’s written in defaults.ini did help me understand how to maybe make it work better, but I’m not sure.
I’m uncertain if I put the additional Series labels in the right place.
Again reading through defaults.ini helped I think, so to add onto the make_linkhtml_entries I just put add_to_ beforehand, and removed the existing ones? I hopefully did the same with the extra_titlepage_entries
So if I did it right, this section should be fixed?
And if I read correctly, the bookmark data should be shown, but wasn’t due to me not having always loging set to true, but if I update everything it’ll show properly?



Quote:
Originally Posted by JimmXinu View Post
Do you seriously have a story with 20 series associated with it??

Heh surprisingly yes, not a lot but there’s two authors that co-wrote stuff, mainly filling bingo prompts, and they put their works in a lotttt of different series. They’re still important for me though, as sadly one of them passed away due to covid, so want to kinda respect it properly in my library


Quote:
Originally Posted by JimmXinu View Post
include_subject_tags is indeed the setting to choose what goes in Calibre's Tags column. However, because it comes from epub <subject> tags, it's set in [epub] in defaults.ini, which takes precedence over [archiveofourown.org] in personal.ini. Use either add_to_include_subject_tags:,ao3categories, fandoms, etc or move your include_subject_tags line under [archiveofourown.org:epub].

See the wiki page for precedence order.
Alright, time to try and understand how to fix this lol, if I understood it’s as simple as this line?






Code:
add_to_include_subject_tags: extratags, ao3categories, fandoms, ships, status, warnings







So at the end of it entire Ao3 section would look like this?


Spoiler:

Code:
[archiveofourown.org]
#username:XXXXXXXX
#password:XXXXXXXX
#is_adult:true
#always_login:true

add_to_extra_valid_entries:series04, series05, series06, series07, series08, series09, series10, series11, series12, series13, series14, series15, series16, series17, series18, series19, series20, series04Url, series05Url, series06Url, series07Url, series08Url, series09Url, series10Url, series11Url, series12Url, series012rl, series13Url, series14Url, series15Url, series16Url, series17Url, series18Url, series19Url, series20Url, series04HTML, series05HTML, series06HTML, series07HTML, series08HTML, series09HTML, series10HTML, series11HTML, series12HTML, series13HTML, series14HTML, series15HTML, series16HTML, series17HTML, series18HTML, series19HTML, series20HTML 
series04HTML_label:Additional Series 
series05HTML_label:Additional Series 
series06HTML_label:Additional Series 
series07HTML_label:Additional Series 
series08HTML_label:Additional Series 
series09HTML_label:Additional Series 
series10HTML_label:Additional Series 
series11HTML_label:Additional Series 
series12HTML_label:Additional Series 
series13HTML_label:Additional Series 
series14HTML_label:Additional Series 
series15HTML_label:Additional Series 
series16HTML_label:Additional Series 
series17HTML_label:Additional Series 
series18HTML_label:Additional Series 
series19HTML_label:Additional Series 
series20HTML_label:Additional Series  



add_to_make_linkhtml_entries:series04,series05,series06,series07,series08,series09,series10,series11,series12,series13,series14,series15,series16,series17,series18,series19,series20  



extra_titlepage_entries: 
series04HTML,series05HTML,series06HTML,series07HTML,series08HTML,series09HTML,series10HTML,series11HTML,series12HTML,series13HTML,series14HTML,series15HTML,series16HTML,series17HTML,series18HTML,series19HTML,series20HTML



custom_columns_settings:
series=>#multiseries,a
series00=>#multiseries,a
series01=>#multiseries,a
series02=>#multiseries,a
series03=>#multiseries,a
series04=>#multiseries,a
series05=>#multiseries,a
series06=>#multiseries,a
series07=>#multiseries,a
series08=>#multiseries,a
series09=>#multiseries,a
series10=>#multiseries,a
series11=>#multiseries,a
series12=>#multiseries,a
series13=>#multiseries,a
series14=>#multiseries,a
series15=>#multiseries,a
series16=>#multiseries,a
series17=>#multiseries,a
series18=>#multiseries,a
series19=>#multiseries,a
series20=>#multiseries,a




## include a Update Log page before the story text. If 'true', the
## log will be updated each time the epub is and all the metadata
## fields that have changed since the last update (typically
## dateUpdated,numChapters,numWords at a minimum) will be shown.
## Great for tracking when chapters came out and when the description,
## etc changed.
## Plugin will now preserve the log page when the epub is overwritten,
## too.
include_logpage: true
## If set to 'smart', logpage will only be included if the story is
## status:In-Progress or already had a logpage. That way you don't
## end up with Completed stories that have just one logpage entry.
#include_logpage: smart
## By default, logpage is placed before the story chapters. This
## setting, if true, will place the logpage after the chapters
## instead.

# extra_logpage_entries: 
fandoms,freeformtags,freefromtags,ao3categories,comments,chapterstotal,kudos,hits,bookmarks,collections,byline,bookmarked,bookmarktags.bookmarksummary.bookmarkprivate,bookmarkrec,restricted,series00,series01,series02,series03




##This is what metadata is put into the main tags category in Calibre on download or update,
##if FFF is configured to update tags every time. Will add missing tags if updating an existing
##story but will not overwrite/remove other tags on update.
add_to_include_subject_tags: extratags, ao3categories, fandoms, ships, status, warnings







I could see include_logpage is usually set to false, so I hope grabbing that section and only changing it to true does the job?
As for what to include in the logpage, I assume using # extra_logpage_entries: is what’s needed

I haven’t put it in my personal.ini yet, as I want to make sure I didn’t screw it up more beforehand lol
WolFen is offline   Reply With Quote
Old 07-28-2024, 01:53 PM   #9780
TaviCalderon
Member
TaviCalderon began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
Quote:
Originally Posted by JimmXinu View Post
I meant to put seriesHTML and authorHTML in titlepage_entries. Those HTML entries are specially constructed in the code to be linked HTML snippets for exactly that purpose.
this worked, thank you so much!! it was much easier than i thought. i don't know why but i really was convinced i'd need to do more css bs to make this happen, but just making lines to change the labels for series_HTML and author_HTML to Series and Byline and then replacing those two in titlepage_entries in my defaults ini worked immediately. lol!!

you're the best!
TaviCalderon 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 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


All times are GMT -4. The time now is 01:41 PM.


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