Mercurial > hg > nginx-site
view xsls/content.xsls @ 1202:2d3dd37a0fc8
Fixed the pubDate element spelling.
While most feed readers happily ignore the improper lowercase spelling of the
element, some feed validators and aggregators are picky and mark the feed as
broken.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Thu, 22 May 2014 14:44:42 +0400 |
parents | cd73f6e9aaf3 |
children | ac9fa096b685 |
line wrap: on
line source
<!-- Copyright (C) Igor Sysoev Copyright (C) Nginx, Inc. --> X:stylesheet { X:template = "section[@id and @name]" { <a name="{@id}" /> <center><h4> !{@name} </h4></center> !!; } X:template = "section/section[@id and @name]" { <a name="{@id}" /> <center><h5> !{@name} </h5></center> !!; } X:template = "section[@id and not(@name)]" { <a name="{@id}" /> !!; } X:template = "section[not(@id) and @name]" { <center><h4> !{@name} </h4></center> !!; } X:template = "section/section[not(@id) and @name]" { <center><h5> !{@name} </h5></center> !!; } X:template = "para" { <p> !!; </p> } X:template = "para[@align]" { <p align="{@align}"> !!; </p> } X:template = "initial" { <span class="initial"><b> !!; </b></span> } X:template = "programlisting" { <blockquote class="example"><pre> !!; </pre></blockquote> } X:template = "para/programlisting" { X:text disable-output-escaping="yes" {</p> } <blockquote class="example"><pre> !!; </pre></blockquote> X:text disable-output-escaping="yes" {<p> } } X:template = "note" { <blockquote class="note"> !!; </blockquote> } X:template = "para/note" { X:text disable-output-escaping="yes" {</p> } <blockquote class="note"> !!; </blockquote> X:text disable-output-escaping="yes" {<p> } } X:template = "list[@type='bullet']" { X:if "@compact = 'yes'" { <ul class="compact"> !!; </ul> } else { <ul> !!; </ul> } } X:template = "para/list[@type='bullet']" { X:text disable-output-escaping="yes" {</p> } X:if "@compact = 'yes'" { <ul class="compact"> !!; </ul> } else { <ul> !!; </ul> } X:text disable-output-escaping="yes" {<p> } } X:template = "list[@type='enum']" { X:if "@compact = 'yes'" { <ol class="compact"> !!; </ol> } else { <ol> !!; </ol> } } X:template = "para/list[@type='enum']" { X:text disable-output-escaping="yes" {</p> } X:if "@compact = 'yes'" { <ol class="compact"> !!; </ol> } else { <ol> !!; </ol> } X:text disable-output-escaping="yes" {<p> } } X:template = "listitem" { <li> !!; </li> } X:template = "listitem[@id]" { <li id="{@id}"> !!; </li> } X:template = "list[@type='tag']" { X:if "@compact = 'yes'" { <dl class="compact"> !!; </dl> } else { <dl> !!; </dl> } } X:template = "para/list[@type='tag']" { X:text disable-output-escaping="yes" {</p> } X:if "@compact = 'yes'" { <dl class="compact"> !!; </dl> } else { <dl> !!; </dl> } X:text disable-output-escaping="yes" {<p> } } X:template = "tag-name" { <dt> !!; </dt> } X:template = "tag-name[@id]" { <dt id="{@id}"> !!; </dt> } X:template = "tag-desc" { <dd> !!; </dd> } X:template = "table[@note and @width]" { <blockquote><table width="{@width}"> !!; </table></blockquote> } X:template = "table[@note and not(@width)]" { <blockquote><table width="100%"> !!; </table></blockquote> } X:template = "table[not(@note) and @width]" { <table width="{@width}"> !!; </table> } X:template = "table" { <table width="100%"> X:if "@class" { X:attribute "class" { !{@class} } } !!; </table> } X:template = "tr" { <tr> !!; </tr> } X:template = "td[@width]" { <td width="{@width}"> !!; </td> } X:template = "td" { <td> !!; </td> } X:template = "c-def" { <code> !!; </code> } X:template = "c-func" { <code> !!; X:text{()} </code> } X:template = "command" { <code> !!; </code> } X:template = "emphasis" { <strong> !!; </strong> } X:template = "example" { <blockquote class="example"><pre> !!; </pre></blockquote> } X:template = "para/example" { X:text disable-output-escaping="yes" {</p> } <blockquote class="example"><pre> !!; </pre></blockquote> X:text disable-output-escaping="yes" {<p> } } X:template = "literal" { <code> !!; </code> } X:template = "header" { X:text {“} !!; X:text {”} } X:template = "http-status" { !{@code} X:text { (} !{@text} X:text{)} } X:template = "value" { <code><i> !!; </i></code> } X:template = "registered" { !!; <sup> X:text {®} </sup> } X:template = "var" { <code> !!; </code> } X:template = "path" { <code> !!; </code> } X:template = "i" { <i> !!; </i> } X:template = "b" { <b> !!; </b> } X:template = "nobr" { <nobr> !!; </nobr> } X:template = "br" { <br/> } }