%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/catalog.varak.net/app/templates/Bookshelf/
Upload File :
Create Path :
Current File : /www/varak.net/catalog.varak.net/app/templates/Bookshelf/books.latte

{contentType xml}
{foreach $data as $entry}
    <entry>
        <id>urn:waritko:book:{$entry->id}</id>
        <title>{$entry->bookname}</title>
        <author>
            <name>{$entry->surname}, {$entry->name}</name>
        </author>
        <link type="application/x-mobipocket-ebook" rel="http://opds-spec.org/acquisition" href="{$baseUri}/stanza/bookshelf/book/{$entry->id}?format=mobi" />
        <link type="application/epub+zip" rel="http://opds-spec.org/acquisition" href="{$baseUri}/stanza/bookshelf/book/{$entry->id}?format=epub" />
        <link type="application/x-fictionbook+xml" rel="http://opds-spec.org/acquisition" href="{$baseUri}/stanza/bookshelf/book/{$entry->id}?format=fb2" />
        <link rel="author" type="application/atom+xml" title="Další knihy tohoto autora" href="{$baseUri}/stanza/bookshelf/author/{$entry->authorid}" />
        <content type="xhtml">
            <div xmlns="http://www.w3.org/1999/xhtml">Vloženo: {$entry->updated->format("d. m. Y")} Žánr: {$entry->genre} Jazyk: Česky</div>
        </content>
        <updated>{$entry->updated->format('Y-m-d\\TH:i:sP')}</updated>
    </entry>
{/foreach}

Zerion Mini Shell 1.0