Changeset 3455:14eb526d2e96 for inc/public
- Timestamp:
- 12/16/16 07:29:22 (9 years ago)
- Branch:
- default
- Location:
- inc/public/default-templates/dotty
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/default-templates/dotty/404.html
r3422 r3455 29 29 <li><a href="{{tpl:BlogURL}}archive">{{tpl:lang Explore archives}}</a></li> 30 30 </ul> 31 </nav> <!-- End #content-inner -->31 </nav> <!-- # End #content-inner --> 32 32 </tpl:Block> -
inc/public/default-templates/dotty/__layout.html
r3371 r3455 7 7 <tpl:Block name="head-title"> 8 8 <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 9 </tpl:Block> <!-- head-title -->9 </tpl:Block> <!-- # head-title --> 10 10 11 11 <tpl:Block name="head-meta"> … … 13 13 <tpl:Block name="meta-robots"> 14 14 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 15 </tpl:Block> <!-- meta-robots -->15 </tpl:Block> <!-- # meta-robots --> 16 16 <tpl:Block name="meta-entry"> 17 17 <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" remove_html="1" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 18 18 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 19 19 <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 20 </tpl:Block> <!-- meta-entry -->21 </tpl:Block> <!-- head-meta -->20 </tpl:Block> <!-- # meta-entry --> 21 </tpl:Block> <!-- # head-meta --> 22 22 23 23 <tpl:Block name="head-linkrel"> … … 46 46 <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" /> 47 47 <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 48 </tpl:Block> <!-- head-linkrel -->48 </tpl:Block> <!-- # head-linkrel --> 49 49 50 50 {{tpl:include src="_head.html"}} 51 </tpl:Block> <!-- html-head -->51 </tpl:Block> <!-- # html-head --> 52 52 </head> 53 53 <tpl:Block name="body-tag"> … … 59 59 <tpl:Block name="page-top"> 60 60 {{tpl:include src="_top.html"}} 61 </tpl:Block> <!-- page-top -->61 </tpl:Block> <!-- # page-top --> 62 62 63 63 <div id="wrapper"> … … 73 73 <tpl:Entries> 74 74 75 <!-- First page -->75 <!-- # First page --> 76 76 <tpl:SysIf current_mode="default"> 77 77 <tpl:LoopPosition start="1" length="1"> … … 84 84 </tpl:SysIf> 85 85 86 <!-- Next pages -->86 <!-- # Next pages --> 87 87 <tpl:SysIf current_mode="!default"> 88 88 {{tpl:include src="_entry-short.html"}} 89 89 </tpl:SysIf> 90 90 91 <!-- Pagination -->91 <!-- # Pagination --> 92 92 <tpl:EntriesFooter> 93 93 {{tpl:include src="_pagination.html"}} … … 96 96 </tpl:Entries> 97 97 98 </tpl:Block> <!-- main-content -->99 </section> <!-- End #content -->100 </tpl:Block> <!-- wrapper-main -->101 </main> <!-- End #main -->98 </tpl:Block> <!-- # main-content --> 99 </section> <!-- # End #content --> 100 </tpl:Block> <!-- # wrapper-main --> 101 </main> <!-- # End #main --> 102 102 103 103 <tpl:Block name="wrapper-sidebar"> 104 104 {{tpl:include src="_sidebar.html"}} 105 </tpl:Block> <!-- wrapper-sidebar -->106 </tpl:Block> <!-- page-wrapper -->107 </div> <!-- End #wrapper -->105 </tpl:Block> <!-- # wrapper-sidebar --> 106 </tpl:Block> <!-- # page-wrapper --> 107 </div> <!-- # End #wrapper --> 108 108 109 109 <tpl:Block name="page-footer"> 110 110 {{tpl:include src="_footer.html"}} 111 </tpl:Block> <!-- page-footer -->112 </tpl:Block> <!-- body-page -->113 </div> <!-- End #page -->114 </tpl:Block> <!-- html-body -->111 </tpl:Block> <!-- # page-footer --> 112 </tpl:Block> <!-- # body-page --> 113 </div> <!-- # End #page --> 114 </tpl:Block> <!-- # html-body --> 115 115 </body> 116 116 </html> -
inc/public/default-templates/dotty/_entry-feedback.html
r3290 r3455 114 114 115 115 <tpl:EntryIf operator="or" show_comments="1" show_pings="1"> 116 </section> <!-- end post-feedback -->116 </section> <!-- # end post-feedback --> 117 117 </tpl:EntryIf> -
inc/public/default-templates/dotty/_footer.html
r3246 r3455 6 6 <h2 class="blogcustom__title">{{tpl:lang Blog info}}</h2> 7 7 {{tpl:Widgets type="custom"}} 8 </div> <!-- End #custom widgets -->8 </div> <!-- # End #custom widgets --> 9 9 </tpl:IfWidgets> 10 10 -
inc/public/default-templates/dotty/_head.html
r3417 r3455 1 <!-- media queries -->1 <!-- # media queries --> 2 2 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 3 3 -
inc/public/default-templates/dotty/_sidebar.html
r3246 r3455 4 4 <h2 class="blognav__title">{{tpl:lang Blog menu}}</h2> 5 5 {{tpl:Widgets type="nav"}} 6 </div> <!-- End #blognav -->6 </div> <!-- # End #blognav --> 7 7 </tpl:IfWidgets> 8 8 <tpl:IfWidgets type="extra"> … … 10 10 <h2 class="blogextra__title">{{tpl:lang Extra menu}}</h2> 11 11 {{tpl:Widgets type="extra"}} 12 </div> <!-- End #blogextra -->12 </div> <!-- # End #blogextra --> 13 13 </tpl:IfWidgets> 14 14 </aside> -
inc/public/default-templates/dotty/archive.html
r3422 r3455 25 25 <div class="content-inner"> 26 26 27 <article id="time-criteria"><!-- entries sorted by date -->27 <article id="time-criteria"><!-- # entries sorted by date --> 28 28 <div id="arch-by-year" class="arch-block arch-by-year"> 29 29 <h3>{{tpl:lang By date}}</h3> … … 45 45 </article> 46 46 47 <article id="other-criteria"><!-- entries sorted by others criterias -->47 <article id="other-criteria"><!-- # entries sorted by others criterias --> 48 48 <tpl:Categories level="1"> 49 49 <tpl:CategoriesHeader> … … 83 83 </article> 84 84 85 <article id="more-arch"><!-- others things -->85 <article id="more-arch"><!-- # others things --> 86 86 <div id="arch-by-page" class="arch-block arch-by-page"> 87 87 <tpl:Entries type="page" no_content="1" lastn="0" selected="0"> … … 98 98 </article> 99 99 100 </div> <!-- End .content-inner -->100 </div> <!-- # End .content-inner --> 101 101 </tpl:Block> 102 102 … … 106 106 <tpl:Widget id="search"> 107 107 </tpl:Widget> 108 </div> <!-- End #blognav -->108 </div> <!-- # End #blognav --> 109 109 110 110 <tpl:IfWidgets type="extra"> … … 112 112 <h2 class="blogextra__title">{{tpl:lang Extra menu}}</h2> 113 113 {{tpl:Widgets type="extra"}} 114 </div> <!-- End #blogextra -->114 </div> <!-- # End #blogextra --> 115 115 </tpl:IfWidgets> 116 </aside> <!-- End #sidebar -->116 </aside> <!-- # End #sidebar --> 117 117 </tpl:Block> -
inc/public/default-templates/dotty/atom-comments.xml
r3246 r3455 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{tpl:BlogLanguage}}"> 3 4 <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} 5 - {{tpl:lang Comments}}</title> 6 <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 7 <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml"/> 8 <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" 9 title="{{tpl:BlogDescription remove_html="1" encode_xml="1"}}"/> 10 <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 11 <author> 12 <name>{{tpl:BlogEditor encode_xml="1"}}</name> 13 </author> 14 <id>{{tpl:BlogFeedID}}</id> 15 <generator uri="http://www.dotclear.org/">Dotclear</generator> 16 17 <tpl:Comments order="desc" with_pings="1"> 18 19 <tpl:CommentIf is_ping="1"> 20 <entry> 21 <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title> 22 <link href="{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}" rel="alternate" type="text/html" 23 title="[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}" /> 24 <id>{{tpl:PingFeedID}}</id> 25 <published>{{tpl:PingDate iso8601="1"}}</published> 26 <updated>{{tpl:PingDate iso8601="1" upddt="1"}}</updated> 27 <author><name>{{tpl:PingBlogName encode_xml="1"}}</name></author> 28 <content type="html"><p><a href="{{tpl:PingAuthorURL encode_xml="1"}}">{{tpl:PingTitle encode_xml="1"}}</a></p> {{tpl:PingContent encode_xml="1"}}</content> 29 </entry> 30 31 </tpl:CommentIf> 32 33 <tpl:CommentIf is_ping="0"> 34 <entry> 35 <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title> 36 <link href="{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}" rel="alternate" type="text/html" 37 title="{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}" /> 38 <id>{{tpl:CommentFeedID}}</id> 39 <published>{{tpl:CommentDate iso8601="1"}}</published> 40 <updated>{{tpl:CommentDate iso8601="1" upddt="1"}}</updated> 41 <author><name>{{tpl:CommentAuthor encode_xml="1"}}</name></author> 42 <content type="html">{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</content> 43 </entry> 44 </tpl:CommentIf> 45 </tpl:Comments> 46 3 <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} - {{tpl:lang Comments}}</title> 4 <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 5 <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml" /> 6 <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" title="{{tpl:BlogDescription remove_html=" 1 " encode_xml="1 "}}"/> 7 <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 8 <author> 9 <name>{{tpl:BlogEditor encode_xml="1"}}</name> 10 </author> 11 <id>{{tpl:BlogFeedID}}</id> 12 <generator uri="http://www.dotclear.org/">Dotclear</generator> 13 <tpl:Comments order="desc" with_pings="1"> 14 <tpl:CommentIf is_ping="1"> 15 <entry> 16 <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title> 17 <link href="{{tpl:PingPostURL encode_xml=" 1 "}}#c{{tpl:PingID}}" rel="alternate" type="text/html" title="[ping] {{tpl:PingEntryTitle encode_xml=" 1 "}} - {{tpl:PingBlogName encode_xml="1 "}}" /> 18 <id>{{tpl:PingFeedID}}</id> 19 <published>{{tpl:PingDate iso8601="1"}}</published> 20 <updated>{{tpl:PingDate iso8601="1" upddt="1"}}</updated> 21 <author> 22 <name>{{tpl:PingBlogName encode_xml="1"}}</name> 23 </author> 24 <content type="html"><p><a href="{{tpl:PingAuthorURL encode_xml="1"}}">{{tpl:PingTitle encode_xml="1"}}</a></p> {{tpl:PingContent encode_xml="1"}}</content> 25 </entry> 26 </tpl:CommentIf> 27 <tpl:CommentIf is_ping="0"> 28 <entry> 29 <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title> 30 <link href="{{tpl:CommentPostURL encode_xml=" 1 "}}#c{{tpl:CommentID}}" rel="alternate" type="text/html" title="{{tpl:CommentEntryTitle encode_xml=" 1 "}} - {{tpl:CommentAuthor encode_xml="1 "}}" /> 31 <id>{{tpl:CommentFeedID}}</id> 32 <published>{{tpl:CommentDate iso8601="1"}}</published> 33 <updated>{{tpl:CommentDate iso8601="1" upddt="1"}}</updated> 34 <author> 35 <name>{{tpl:CommentAuthor encode_xml="1"}}</name> 36 </author> 37 <content type="html">{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</content> 38 </entry> 39 </tpl:CommentIf> 40 </tpl:Comments> 47 41 </feed> -
inc/public/default-templates/dotty/atom.xml
r3246 r3455 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <feed xmlns="http://www.w3.org/2005/Atom" 3 xmlns:dc="http://purl.org/dc/elements/1.1/" 4 xmlns:wfw="http://wellformedweb.org/CommentAPI/" 5 xml:lang="{{tpl:BlogLanguage}}"> 6 7 <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 8 <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 9 <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml"/> 10 <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" 11 title="{{tpl:BlogDescription remove_html="1" encode_xml="1"}}"/> 12 <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 13 <author> 14 <name>{{tpl:BlogEditor encode_xml="1"}}</name> 15 </author> 16 <id>{{tpl:BlogFeedID}}</id> 17 <generator uri="http://www.dotclear.org/">Dotclear</generator> 18 19 <tpl:Entries> 20 21 <entry> 22 <title>{{tpl:EntryTitle encode_xml="1"}}</title> 23 <link href="{{tpl:EntryURL}}" rel="alternate" type="text/html" 24 title="{{tpl:EntryTitle encode_xml="1"}}" /> 25 <id>{{tpl:EntryFeedID}}</id> 26 <published>{{tpl:EntryDate iso8601="1"}}</published> 27 <tpl:EntryIf republished="1"> 28 <updated>{{tpl:EntryDate iso8601="1" upddt="1"}}</updated> 29 </tpl:EntryIf> 30 <tpl:EntryIf republished="0"> 31 <updated>{{tpl:EntryDate iso8601="1"}}</updated> 32 </tpl:EntryIf> 33 <author><name>{{tpl:EntryAuthorCommonName encode_xml="1"}}</name></author> 34 <tpl:EntryIf has_category="1"> 35 <dc:subject>{{tpl:EntryCategory encode_html="1"}}</dc:subject> 36 </tpl:EntryIf> 37 <tpl:EntryTags><dc:subject>{{tpl:TagID}}</dc:subject></tpl:EntryTags> 38 39 <content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 40 {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content> 41 42 <tpl:Attachments> 43 <link rel="enclosure" href="{{tpl:AttachmentURL}}" 44 length="{{tpl:AttachmentSize full="1"}}" type="{{tpl:AttachmentMimeType}}" /> 45 </tpl:Attachments> 46 47 48 <tpl:EntryIf comments_active="1"> 49 <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 50 <wfw:commentRss>{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}</wfw:commentRss> 51 </tpl:EntryIf> 52 </entry> 53 </tpl:Entries> 54 2 <feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xml:lang="{{tpl:BlogLanguage}}"> 3 <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 4 <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 5 <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml" /> 6 <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" title="{{tpl:BlogDescription remove_html=" 1 " encode_xml="1 "}}"/> 7 <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 8 <author> 9 <name>{{tpl:BlogEditor encode_xml="1"}}</name> 10 </author> 11 <id>{{tpl:BlogFeedID}}</id> 12 <generator uri="http://www.dotclear.org/">Dotclear</generator> 13 <tpl:Entries> 14 <entry> 15 <title>{{tpl:EntryTitle encode_xml="1"}}</title> 16 <link href="{{tpl:EntryURL}}" rel="alternate" type="text/html" title="{{tpl:EntryTitle encode_xml=" 1 "}}" /> 17 <id>{{tpl:EntryFeedID}}</id> 18 <published>{{tpl:EntryDate iso8601="1"}}</published> 19 <tpl:EntryIf republished="1"> 20 <updated>{{tpl:EntryDate iso8601="1" upddt="1"}}</updated> 21 </tpl:EntryIf> 22 <tpl:EntryIf republished="0"> 23 <updated>{{tpl:EntryDate iso8601="1"}}</updated> 24 </tpl:EntryIf> 25 <author> 26 <name>{{tpl:EntryAuthorCommonName encode_xml="1"}}</name> 27 </author> 28 <tpl:EntryIf has_category="1"> 29 <dc:subject>{{tpl:EntryCategory encode_html="1"}}</dc:subject> 30 </tpl:EntryIf> 31 <tpl:EntryTags> 32 <dc:subject>{{tpl:TagID}}</dc:subject> 33 </tpl:EntryTags> 34 <content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content> 35 <tpl:Attachments> 36 <link rel="enclosure" href="{{tpl:AttachmentURL}}" length="{{tpl:AttachmentSize full=" 1 "}}" type="{{tpl:AttachmentMimeType}}" /> 37 </tpl:Attachments> 38 <tpl:EntryIf comments_active="1"> 39 <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 40 <wfw:commentRss>{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}</wfw:commentRss> 41 </tpl:EntryIf> 42 </entry> 43 </tpl:Entries> 55 44 </feed> -
inc/public/default-templates/dotty/category.html
r3422 r3455 76 76 </tpl:CategoriesFooter> 77 77 </tpl:CategoryFirstChildren> 78 </header> <!-- End #content-info -->78 </header> <!-- # End #content-info --> 79 79 80 80 <div class="content-inner"> … … 86 86 </tpl:EntriesFooter> 87 87 </tpl:Entries> 88 </div> <!-- End #content-inner -->88 </div> <!-- # End #content-inner --> 89 89 </tpl:Block> -
inc/public/default-templates/dotty/password-form.html
r3246 r3455 1 1 <!DOCTYPE html> 2 2 <html lang="{{tpl:BlogLanguage}}"> 3 3 4 <head> 4 <meta charset="UTF-8" /> 5 <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 6 <title>{{tpl:lang Password needed}} - {{tpl:BlogName encode_html="1"}}</title> 5 <meta charset="UTF-8" /> 6 <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 7 <title>{{tpl:lang Password needed}} - {{tpl:BlogName encode_html="1"}}</title> 8 <style type="text/css"> 9 body { 10 font: 0.8em Verdana, Arial, Geneva, sans-serif; 11 } 7 12 8 <style type="text/css"> 9 body { 10 font: 0.8em Verdana,Arial,Geneva,sans-serif; 11 } 13 form { 14 display: block; 15 width: 500px; 16 margin: 0 auto; 17 padding: 1em; 18 background: #eee; 19 } 12 20 13 form { 14 display : block; 15 width : 500px; 16 margin : 0 auto; 17 padding : 1em; 18 background : #eee; 19 } 21 h2 { 22 font: 140% Arial, Helvetica, sans-serif; 23 margin: 0; 24 } 20 25 21 h2 { font : 140% Arial,Helvetica,sans-serif; margin : 0; } 26 label { 27 font-weight: bold; 28 } 22 29 23 label { font-weight : bold; } 24 25 input { border-width : 1px;}26 30 input { 31 border-width: 1px; 32 } 33 </style> 27 34 </head> 28 35 29 36 <body> 37 <form action="{{tpl:EntryURL}}" method="post" role="form"> 38 <h2>{{tpl:lang Password needed}}</h2> 39 <p>{{tpl:lang You must give a password to access this area.}}</p> 40 <p> 41 <label>{{tpl:lang Password:}} 42 <input type="password" name="password" value="" /> 43 </label> 44 <input type="submit" value="ok" /> 45 </p> 46 </form> 47 </body> 30 48 31 <form action="{{tpl:EntryURL}}" method="post" role="form">32 <h2>{{tpl:lang Password needed}}</h2>33 34 <p>{{tpl:lang You must give a password to access this area.}}</p>35 <p><label>{{tpl:lang Password:}} <input type="password" name="password" value="" /></label> <input type="submit" value="ok" /></p>36 37 </form>38 39 </body>40 49 </html> -
inc/public/default-templates/dotty/rss2-comments.xml
r3246 r3455 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <?xml-stylesheet title="XSL formatting" type="text/xsl" href="{{tpl:BlogURL}}feed/rss2/xslt" ?> 3 <rss version="2.0" 4 xmlns:dc="http://purl.org/dc/elements/1.1/" 5 xmlns:content="http://purl.org/rss/1.0/modules/content/" 6 xmlns:atom="http://www.w3.org/2005/Atom"> 7 <channel> 8 <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} 9 - {{tpl:lang Comments}}</title> 10 <link>{{tpl:BlogURL}}</link> 11 <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml"/> 12 <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 13 <language>{{tpl:BlogLanguage}}</language> 14 <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 15 <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 16 <docs>http://blogs.law.harvard.edu/tech/rss</docs> 17 <generator>Dotclear</generator> 18 19 <tpl:Comments order="desc" with_pings="1"> 20 21 <tpl:CommentIf is_ping="1"> 22 <item> 23 <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title> 24 <link>{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}</link> 25 <guid isPermaLink="false">{{tpl:PingFeedID}}</guid> 26 <pubDate>{{tpl:PingDate rfc822="1"}}</pubDate> 27 <dc:creator>{{tpl:PingBlogName encode_xml="1"}}</dc:creator> 28 29 <description><p><a href="{{tpl:PingAuthorURL encode_xml="1"}}">{{tpl:PingTitle encode_xml="1"}}</a></p> 30 {{tpl:PingContent encode_xml="1"}}</description> 31 </item> 32 </tpl:CommentIf> 33 34 <tpl:CommentIf is_ping="0"> 35 <item> 36 <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title> 37 <link>{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}</link> 38 <guid isPermaLink="false">{{tpl:CommentFeedID}}</guid> 39 <pubDate>{{tpl:CommentDate rfc822="1"}}</pubDate> 40 <dc:creator>{{tpl:CommentAuthor encode_xml="1"}}</dc:creator> 41 42 <description>{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</description> 43 </item> 44 </tpl:CommentIf> 45 </tpl:Comments> 46 47 </channel> 48 </rss> 3 <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"> 4 <channel> 5 <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} - {{tpl:lang Comments}}</title> 6 <link>{{tpl:BlogURL}}</link> 7 <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml" /> 8 <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 9 <language>{{tpl:BlogLanguage}}</language> 10 <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 11 <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 12 <docs>http://blogs.law.harvard.edu/tech/rss</docs> 13 <generator>Dotclear</generator> 14 <tpl:Comments order="desc" with_pings="1"> 15 <tpl:CommentIf is_ping="1"> 16 <item> 17 <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title> 18 <link>{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}</link> 19 <guid isPermaLink="false">{{tpl:PingFeedID}}</guid> 20 <pubDate>{{tpl:PingDate rfc822="1"}}</pubDate> 21 <dc:creator>{{tpl:PingBlogName encode_xml="1"}}</dc:creator> 22 <description><p><a href="{{tpl:PingAuthorURL encode_xml="1"}}">{{tpl:PingTitle encode_xml="1"}}</a></p> {{tpl:PingContent encode_xml="1"}}</description> 23 </item> 24 </tpl:CommentIf> 25 <tpl:CommentIf is_ping="0"> 26 <item> 27 <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title> 28 <link>{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}</link> 29 <guid isPermaLink="false">{{tpl:CommentFeedID}}</guid> 30 <pubDate>{{tpl:CommentDate rfc822="1"}}</pubDate> 31 <dc:creator>{{tpl:CommentAuthor encode_xml="1"}}</dc:creator> 32 <description>{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</description> 33 </item> 34 </tpl:CommentIf> 35 </tpl:Comments> 36 </channel> 37 </rss> -
inc/public/default-templates/dotty/rss2.xml
r3246 r3455 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <?xml-stylesheet title="XSL formatting" type="text/xsl" href="{{tpl:BlogURL}}feed/rss2/xslt" ?> 3 <rss version="2.0" 4 xmlns:dc="http://purl.org/dc/elements/1.1/" 5 xmlns:wfw="http://wellformedweb.org/CommentAPI/" 6 xmlns:content="http://purl.org/rss/1.0/modules/content/" 7 xmlns:atom="http://www.w3.org/2005/Atom"> 8 <channel> 9 <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 10 <link>{{tpl:BlogURL}}</link> 11 <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml"/> 12 <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 13 <language>{{tpl:BlogLanguage}}</language> 14 <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 15 <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 16 <docs>http://blogs.law.harvard.edu/tech/rss</docs> 17 <generator>Dotclear</generator> 18 19 <tpl:Entries> 20 21 <item> 22 <title>{{tpl:EntryTitle encode_xml="1"}}</title> 23 <link>{{tpl:EntryURL}}</link> 24 <guid isPermaLink="false">{{tpl:EntryFeedID}}</guid> 25 <pubDate>{{tpl:EntryDate rfc822="1"}}</pubDate> 26 <dc:creator>{{tpl:EntryAuthorCommonName encode_xml="1"}}</dc:creator> 27 <tpl:EntryIf has_category="1"> 28 <category>{{tpl:EntryCategory encode_html="1"}}</category> 29 </tpl:EntryIf> 30 <tpl:EntryTags><category>{{tpl:TagID}}</category></tpl:EntryTags> 31 32 <description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 33 {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description> 34 35 <tpl:Attachments> 36 <enclosure url="{{tpl:AttachmentURL}}" 37 length="{{tpl:AttachmentSize full="1"}}" type="{{tpl:AttachmentMimeType}}" /> 38 </tpl:Attachments> 39 40 <tpl:EntryIf comments_active="1"> 41 <comments>{{tpl:EntryURL}}#comment-form</comments> 42 <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 43 <wfw:commentRss>{{tpl:BlogFeedURL}}/comments/{{tpl:EntryID}}</wfw:commentRss> 44 </tpl:EntryIf> 45 </item> 46 </tpl:Entries> 47 48 </channel> 49 </rss> 3 <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"> 4 <channel> 5 <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 6 <link>{{tpl:BlogURL}}</link> 7 <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml" /> 8 <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 9 <language>{{tpl:BlogLanguage}}</language> 10 <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 11 <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 12 <docs>http://blogs.law.harvard.edu/tech/rss</docs> 13 <generator>Dotclear</generator> 14 <tpl:Entries> 15 <item> 16 <title>{{tpl:EntryTitle encode_xml="1"}}</title> 17 <link>{{tpl:EntryURL}}</link> 18 <guid isPermaLink="false">{{tpl:EntryFeedID}}</guid> 19 <pubDate>{{tpl:EntryDate rfc822="1"}}</pubDate> 20 <dc:creator>{{tpl:EntryAuthorCommonName encode_xml="1"}}</dc:creator> 21 <tpl:EntryIf has_category="1"> 22 <category>{{tpl:EntryCategory encode_html="1"}}</category> 23 </tpl:EntryIf> 24 <tpl:EntryTags> 25 <category>{{tpl:TagID}}</category> 26 </tpl:EntryTags> 27 <description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description> 28 <tpl:Attachments> 29 <enclosure url="{{tpl:AttachmentURL}}" length="{{tpl:AttachmentSize full=" 1 "}}" type="{{tpl:AttachmentMimeType}}" /> 30 </tpl:Attachments> 31 <tpl:EntryIf comments_active="1"> 32 <comments>{{tpl:EntryURL}}#comment-form</comments> 33 <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 34 <wfw:commentRss>{{tpl:BlogFeedURL}}/comments/{{tpl:EntryID}}</wfw:commentRss> 35 </tpl:EntryIf> 36 </item> 37 </tpl:Entries> 38 </channel> 39 </rss> -
inc/public/default-templates/dotty/rss2.xsl
r3246 r3455 8 8 9 9 <xsl:template match="/"> 10 <html>11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 10 <html> 11 <head> 12 <title>{{tpl:lang Subscribe to}} <xsl:value-of select="/rss/channel/title"/></title> 13 <style type="text/css"> 14 <![CDATA[ 15 body { 16 font: 80% Verdana,Arial,sans-serif; 17 margin: 20px 0; 18 padding: 0 0; 19 background: #fff; 20 color: #000; 21 } 22 a { color: #039; } 23 h1, h2 { font-family: Arial,sans-serif; } 24 h1 { font-size: 160%; margin: 0; } 25 h2 { font-size: 140%; font-weight: bold; margin: 0.5em 0 0.2em 0; } 26 h2 a { text-decoration: none; } 27 p { margin: 0 0 0.5em 0; } 28 #page { 29 margin: 0 80px; 30 } 31 #top { 32 background: #036; 33 padding : 1em; 34 color: #fff; 35 } 36 #top a { 37 color: #fff; 38 text-decoration: none; 39 } 40 #what { 41 padding: 1em; 42 background: #eee; 43 border-bottom: 1px solid #000; 44 font-size: 80%; 45 } 46 #what p { 47 margin: 0 0 0.5em 0; 48 } 49 #footer { 50 border-top: 1px solid #000; 51 } 52 #items { 53 background: #fff; 54 color: inherit; 55 } 56 #items div { 57 margin: 0 0 1em 0; 58 } 59 ]]> 60 </style> 61 <script type="text/javascript"><![CDATA[ 62 window.onload = function() { 63 document.getElementById('feedurl').value = window.location.href; 64 64 65 66 67 68 69 70 71 72 73 74 75 76 65 // Ugly but works ;) 66 var c = document.getElementsByTagName('div'); 67 var t = ''; 68 for (var i=0; c.length-i != 0; i++) { 69 if (c[i].className == 'item-content') { 70 if (c[i].textContent) { 71 t = c[i].textContent; 72 } else if (c[i].innerText) { 73 t = c[i].innerText; 74 } else { 75 t = ''; 76 } 77 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 </html>78 if (t) { c[i].innerHTML = t; } 79 } 80 } 81 }; 82 ]]></script> 83 </head> 84 <body> 85 <div id="page"> 86 <div id="top"> 87 <h1><a href="{/rss/channel/link}"><xsl:value-of select="/rss/channel/title"/></a></h1> 88 <p><xsl:value-of select="/rss/channel/description"/></p> 89 </div> 90 <div id="what"> 91 <h3>{{tpl:lang What is an RSS feed?}}</h3> 92 <p>{{tpl:lang RSS feed is a free blog summary. It provides content 93 (either posts or comments) or summaries of content, together with links 94 to the full versions, and other metadata. The last published items may 95 then be read by your favorite RSS 96 <a href="http://en.wikipedia.org/wiki/Aggregator">aggregator</a>.}}</p> 97 <h3>{{tpl:lang Subscribe}}</h3> 98 <p>{{tpl:lang Simply copy the following URL into your aggregator:}}</p> 99 <p><input type="text" size="60" value="" id="feedurl" /></p> 100 </div> 101 <div id="items"> 102 <xsl:apply-templates select="//item"/> 103 </div> 104 <div id="footer"> 105 <p><xsl:value-of select="/rss/channel/copyright"/></p> 106 </div> 107 </div> 108 </body> 109 </html> 110 110 </xsl:template> 111 111 112 112 <!-- Item template --> 113 113 <xsl:template match="item"> 114 115 116 117 114 <div> 115 <h2><a href="{link}"><xsl:value-of select="title"/></a></h2> 116 <div class="item-content"><xsl:value-of select="description" /></div> 117 </div> 118 118 </xsl:template> 119 119 -
inc/public/default-templates/dotty/search.html
r3422 r3455 62 62 </tpl:EntriesFooter> 63 63 </tpl:Entries> 64 </div> <!-- End #content-inner -->64 </div> <!-- # End #content-inner --> 65 65 </tpl:Block>
Note: See TracChangeset
for help on using the changeset viewer.