Skip to content

Commit

Permalink
Add Calibre鈥檚 meta related details in EPUB compat doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPanoz committed May 16, 2018
1 parent 9e2408c commit e013d9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/CSS21-epub_compat.md
Expand Up @@ -139,13 +139,15 @@ This item indicates the series the publication is part of.

This item designates the position (index) of the publication in this series.

It can be a floating point number with up to two digits of precision e.g. `1.01`, and zero and negative numbers are allowed.

#### Rating

```
<meta content="10.0" name="calibre:rating" />
```

This item stores the rating the user has explicitely set for the publication. `2.0` is one star, `10.0` is five.
This item stores the rating (integer) the user has explicitely set for the publication. In Calibre, `0.0` is unrated, `2.0` is one star, and `10.0` is five stars.

### iBooks

Expand Down
Binary file modified docs/ReadiumCSS_docs.epub
Binary file not shown.
4 changes: 3 additions & 1 deletion docs/ReadiumCSS_docs/OEBPS/Text/Section-021.xhtml
Expand Up @@ -168,14 +168,16 @@
<pre><code>&lt;meta content="1.0" name="calibre:series_index" /&gt;</code></pre>

<p>This item designates the position (index) of the publication in this series.</p>

<p>It can be a floating point number with up to two digits of precision e.g. <code>1.01</code>, and zero and negative numbers are allowed.</p>
</section>

<section id="rating" class="level4">
<h4 class="sigil_not_in_toc">Rating</h4>

<pre><code>&lt;meta content="10.0" name="calibre:rating" /&gt;</code></pre>

<p>This item stores the rating the user has explicitely set for the publication. <code>2.0</code> is one star, <code>10.0</code> is five.</p>
<p>This item stores the rating (integer) the user has explicitely set for the publication. In Calibre, <code>0.0</code> is unrated, <code>2.0</code> is one star, and <code>10.0</code> is five stars.</p>
</section>
</section>

Expand Down

0 comments on commit e013d9a

Please sign in to comment.