Version 0.2.0 published (26. March 2011)

What's happening?
User avatar
Raimond
Administrator
Posts: 276
Joined: Sat 20. Nov 2010, 13:31
Contact:

Version 0.2.0 published (26. March 2011)

Postby Raimond » Sat 26. Mar 2011, 14:46

Hi,

here's the next version.
- Two additional fanfiction pages
- output layout changable (see layout.hmtl which is automatically created after you've downloaded the first story)
- ...

Rai

Berry
Posts: 12
Joined: Sun 21. Nov 2010, 23:09

Re: Version 0.2.0 published (26. March 2011)

Postby Berry » Sat 26. Mar 2011, 23:02

Thank you for the update! If we want to change the layout, does that mean we should edit the layout.html file?

User avatar
Raimond
Administrator
Posts: 276
Joined: Sat 20. Nov 2010, 13:31
Contact:

Re: Version 0.2.0 published (26. March 2011)

Postby Raimond » Sun 27. Mar 2011, 13:32

Hi,

Yes, edit the layout.html file.
But you aren't allowed to change or remove the bold&redcolored parts!!!! Thats very important.

<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<meta name="author" content="%author">
<title>%author: %storyname</title>
</head>
<body>
<br/><br/>
<div style="text-align:center">
<h1>%storyname</h1>
</div>
<br/><br/>
<b>Story:</b> %storyname<br>
<b>Storylink:</b> <a href="%storylink">%storylink</a><br/>
<b>Author:</b> %author<br/>
<b>Last updated:</b> %updated<br/>
<b>Content:</b> Chapter %beg to %end of %total chapters<br/>
<b>Source:</b> %archivename<br><br>
<b>Summary:</b> %summary

<!--CHAPTERAREA START-->
<h2 class=chapterffdl>*Chapter %chapnumber*: %chapname</h2>
%chaptertext
<!--CHAPTERAREA STOP-->

</body>
</html>


Rai

Berry
Posts: 12
Joined: Sun 21. Nov 2010, 23:09

Re: Version 0.2.0 published (26. March 2011)

Postby Berry » Sun 3. Apr 2011, 05:06

Great. Thank you. I've been playing around with the layout and I appreciate the freedom.

One thing, though: I was hoping to make it so that the Chapter headings aren't larger in font than the rest of the document. I know you said we can't touch that section, but is there a way to do set that?

Thank you again.

User avatar
Raimond
Administrator
Posts: 276
Joined: Sat 20. Nov 2010, 13:31
Contact:

Re: Version 0.2.0 published (26. March 2011)

Postby Raimond » Sun 3. Apr 2011, 10:31

Hi Berry

Calibe creates an TOC for some outputformats. (e.g. for epub files). It detects the beginning/name of a new chapter by looking for "<h2 class=chapterffdl>"
So this h2 Tag isn't important for the downloader, but for Calibre if you are using the TOC feature.
If not: feel free to modify it.

You could also enter some CSS Code for all h2 Tags or for class chapterffdl to modify the size.

Rai

Berry
Posts: 12
Joined: Sun 21. Nov 2010, 23:09

Re: Version 0.2.0 published (26. March 2011)

Postby Berry » Sun 3. Apr 2011, 15:14

Thanks for the explanation, Rai. I would like to keep the TOC for the epub format, so I guess I'll be keeping the h2. Is the h1 tag for the story title also something that Calibre reads and uses? I had removed it from the layout so that the title wouldn't be so large, but if it will also affect the epub adversely, I'm going to have to restore it.

Thanks again.


Return to “News”

Who is online

Users browsing this forum: No registered users and 1 guest