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 Yesterday, 06:35 PM   #9766
TaviCalderon
Member
TaviCalderon began at the beginning.
 
Posts: 20
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 Yesterday, 10:46 PM   #9767
TaviCalderon
Member
TaviCalderon began at the beginning.
 
Posts: 20
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 Yesterday, 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,439
Karma: 4276871
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
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 12:14 PM.


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