OSDN Git Service

fixed scroll of Finder.
[pettanr/clientJs.git] / 0.3.0 / diary / diary.xsl
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \r
3     xmlns="http://www.w3.org/1999/xhtml"> \r
4     <xsl:output \r
5         omit-xml-declaration="no" \r
6         encoding="utf-8" \r
7         method="html" \r
8         version="1.0" \r
9         doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" \r
10         doctype-system="http://www.w3.org/TR/html4/loose.dtd" \r
11         indent="yes" /> \r
12     <xsl:template match="/">\r
13         <xsl:apply-templates/>\r
14     </xsl:template>\r
15         \r
16 <xsl:template match="diary">\r
17         <html>\r
18                 <head>\r
19                         <meta http-equiv="content-type" content="text/html; charset=UTF-8" />\r
20                         <meta http-equiv="Content-Style-Type" content="text/css" />\r
21                         <meta http-equiv="imagetoolbar" content="no" />\r
22                         <meta name="description">\r
23                                 <xsl:attribute name="content">\r
24                                         <xsl:value-of select="@description" />\r
25                                 </xsl:attribute>\r
26                         </meta>\r
27                         <title>\r
28                                 <xsl:value-of select="@title" />\r
29                     <xsl:if test="@author">\r
30                         <xsl:value-of select="concat(' | ',@author)"/>\r
31                     </xsl:if>\r
32                         </title>\r
33                         <link rel='index' title='index | pettanR' href='http://pettanr.sourceforge.jp/index.html' />\r
34                         <link rel='start' title='pettanR' href='http://pettanr.sourceforge.jp/' />\r
35                         <link rel="stylesheet" type="text/css" href="../common.css" />\r
36                 </head>\r
37                 <body>\r
38                         <div id="general-content">\r
39                                 <div id="outer-wrapper">\r
40                                         \r
41                                         <div id="header">\r
42                                                 <div class="base-content-width" style="position:relative;">\r
43                                                         <h1><a href="http://pettanr.sourceforge.jp/">pettanR</a></h1>\r
44                                                         <div id="global-navi">\r
45                                                                 <noscript id="noscript-alert">You need to have JavaScript enabled.</noscript>\r
46                                                         </div>\r
47                                                 </div>\r
48                                         </div>\r
49                                         \r
50                                         <div id="inner-wrapper" class="base-content-width">\r
51                                                 <div id="main">\r
52                                                         <h2><xsl:value-of select="@title" /></h2>\r
53                                                         <dl>\r
54                                                                 <dt>author</dt>\r
55                                                                 <dd><xsl:value-of select="@author" /></dd>\r
56                                                                 <dt>description</dt>\r
57                                                                 <dd><xsl:value-of select="@description" /></dd>\r
58                                                                 <dt>published</dt>\r
59                                                                 <dd><xsl:value-of select="@published" /></dd>\r
60                                                                 <dt>updated</dt>\r
61                                                                 <dd><xsl:value-of select="@direction" /></dd>\r
62                                                         </dl>\r
63                                                         \r
64                                                         <xsl:apply-templates/>\r
65                                                 </div>\r
66                                         </div>\r
67                                 </div>\r
68                         </div>\r
69                         \r
70                         <div id="footer-content">\r
71                                 <div id="footer">\r
72                                         <div id="footer-item-container" class="base-content-width clearfix">\r
73                                                 <div class="footer-item-wrapper">\r
74                                                         <div class="footer-item">\r
75                                                                 <h2>ぺったんR にようこそ</h2>\r
76                                                                 <ul>\r
77                                                                         <li>サンプル</li>\r
78                                                                         <li>ぺったんRの特徴</li>\r
79                                                                         <li>沿革</li>\r
80                                                                 </ul>\r
81                                                         </div>\r
82                                                 </div>\r
83                                                 <div class="footer-item-wrapper">\r
84                                                         <div class="footer-item">\r
85                                                                 <h2>ドキュメント</h2>\r
86                                                                 <ul>\r
87                                                                         <li>作家向けドキュメント</li>\r
88                                                                         <li>絵師向けドキュメント</li>                                                 \r
89                                                                         <li><a href="http://sourceforge.jp/projects/pettanr/wiki/ForDevelopers" rel="me">開発者向けドキュメント</a></li>\r
90                                                                         <li><a href="http://sourceforge.jp/projects/pettanr/wiki/ForWebmasters" rel="me">編集長向けドキュメント</a></li>\r
91                                                                 </ul>\r
92                                                         </div>\r
93                                                 </div>\r
94                                                 <div class="footer-item-wrapper">\r
95                                                         <div class="footer-item">\r
96                                                                 <h2>プロトタイプ</h2>\r
97                                                                 <ul>\r
98                                                                         <li>pettanr</li>\r
99                                                                         <li><a href="../work.html" rel="editor">js editor</a></li>\r
100                                                                 </ul>\r
101                                                                 <h2>Ajax contents</h2>\r
102                                                                 <ul>\r
103                                                                         <li><a href="../help/jp.xml">help | jp</a></li>\r
104                                                                 </ul>\r
105                                                         </div>\r
106                                                 </div>\r
107                                                 <div class="footer-item-wrapper" style="width:170px;">\r
108                                                         <div class="footer-item" style="padding-right:0;">\r
109                                                                 <h2>ぺったんRチーム</h2>\r
110                                                                 <ul>\r
111                                                                         <li>わたしたちについて</li>\r
112                                                                         <li>ミッション</li>\r
113                                                                         <li><a href="itozyun.xml">itozyun's diary</a></li>\r
114                                                                         <li>個人情報保護方針</li>\r
115                                                                         <li>作品の取り扱い</li>\r
116                                                                         <li>お問い合わせ</li>\r
117                                                                 </ul>\r
118                                                         </div>\r
119                                                 </div>\r
120                                         </div>\r
121                                         <div id="copyright">\r
122                                                 Copyright (c) 2011-2012 pettanR team, some rights reserved.\r
123                                         </div>\r
124                                 </div>\r
125                         </div>\r
126                         <script type="text/javascript" src="../common.js"></script>\r
127                 </body>\r
128         </html>\r
129 </xsl:template>\r
130 \r
131     <xsl:template match="entry">\r
132                 <xsl:for-each select=".">\r
133                         <h3><xsl:value-of select="@pubdate"/></h3>\r
134                         <pre><xsl:apply-templates/></pre>\r
135                 </xsl:for-each>         \r
136     </xsl:template>\r
137 \r
138 </xsl:stylesheet>