comparison xsls/rss.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 be54c443235a
children 5d64d8a856db
comparison
equal deleted inserted replaced
1201:db4b017b5796 1202:2d3dd37a0fc8
52 52
53 <item> 53 <item>
54 <title> !! "para[1]//text()"; </title> 54 <title> !! "para[1]//text()"; </title>
55 <guid> !{$SITE} X:text {/} !{$page} X:text {#} !{@date} </guid> 55 <guid> !{$SITE} X:text {/} !{$page} X:text {#} !{@date} </guid>
56 <link> !{$SITE} X:text {/} !{$page} X:text {#} !{@date} </link> 56 <link> !{$SITE} X:text {/} !{$page} X:text {#} !{@date} </link>
57 <pubdate> 57 <pubDate>
58 !{ concat(date:day-abbreviation(@date), ', ', 58 !{ concat(date:day-abbreviation(@date), ', ',
59 format-number(date:day-in-month(@date), '00'), ' ', 59 format-number(date:day-in-month(@date), '00'), ' ',
60 date:month-abbreviation(@date), ' ', 60 date:month-abbreviation(@date), ' ',
61 date:year(@date), 61 date:year(@date),
62 ' 00:00:00 +0300') } 62 ' 00:00:00 +0300') }
63 </pubdate> 63 </pubDate>
64 64
65 <description> 65 <description>
66 X:text disable-output-escaping="yes" {&lt;![CDATA[} 66 X:text disable-output-escaping="yes" {&lt;![CDATA[}
67 !{@date} 67 !{@date}
68 !! "para"; 68 !! "para";