bingryan / obsidian-ibook-plugin

export mac ibook annotations/hightlights to obsidian vault
MIT License
72 stars 2 forks source link

ZCOVERURL and ZPAGECOUNT parameters do not get populated #57

Closed rensftw closed 1 year ago

rensftw commented 1 year ago

A few parameters do not get populated when importing notes from an Apple Books entry: ZCOVERURL and ZPAGECOUNT I got the param names from https://github.com/bingryan/obsidian-ibook-plugin/blob/master/docs/parameters.md

Template:

# 📔 Book: {{library.ZSORTTITLE}}

**Book cover URL**:: {{library.ZCOVERURL}}
**Page count**:: {{library.ZPAGECOUNT}}

**Author**:: {{library.ZAUTHOR}}

**LANGUAGE**:: {{library.ZLANGUAGE}}

Gets rendered as:

image

Ideally I want to show the book cover in my Obsidian note

bingryan commented 1 year ago

@rensftw ZCOVERURL value is null, so it does not display :)

rensftw commented 1 year ago

I tried a couple of books and both didn't have a cover URL 🤔 Must be bad metadata on the epub itself

Thanks for looking into it anyway