view xsls/books.xsls @ 1639:202f1d671398

Removed bit rot from example configuration.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 14 Jan 2016 13:20:13 +0300
parents 81ad082bc837
children ae713f8acaca
line wrap: on
line source

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->

X:stylesheet {

X:template = "book" {

    <table><tr>

    <td bgcolor="#EEEEEE">
    <a href="{@link}">
    <img src="{@cover}" alt="" style="padding: 2pt;" border="0"/>
    </a>
    </td>

    <td>
    X:text {title: } <a href="{@link}">!{@title}</a> <br/>
    X:text {author: }
    X:if "@site" { <a href="{@site}">!{@author}</a> } else { !{@author} } <br/>
    X:if "@translator" { X:text {translator: } !{@translator} <br/> }
    X:if "@publisher" { X:text {publisher: } !{@publisher} <br/> }
    X:text {language: } !{@lang}
    </td>

    </tr></table>
}

}