first commit
[community-lisp-ru.git] / rulisp / src / rulisp.xml
blob4caa27b073057e57ddc0259caac18836b0d4ca74
1 <?xml version="1.0" encoding="utf-8"?>\r
2 \r
3 <restas:location xmlns:restas="restas://restas/"\r
4                  xmlns:xi="http://www.w3.org/2003/XInclude"\r
5                  url="">\r
6     \r
7     <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\r
8     <!-- statis -->\r
9     <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\r
11     <restas:route url="css/:(file).css">\r
12         <restas:get>\r
13             <restas:stage type="file">${skin}/css/${file}.css</restas:stage>\r
14         </restas:get>\r
15     </restas:route>\r
17     <restas:route url="css/image/:(file)">\r
18         <restas:get>\r
19             <restas:stage type="file">${skin}/css/image/${file}</restas:stage>\r
20         </restas:get>\r
21     </restas:route>\r
22     \r
24     <restas:route url="js/:(file).js">\r
25         <restas:get>\r
26             <restas:stage type="file">${skin}/js/${file}.js</restas:stage>\r
27         </restas:get>\r
28     </restas:route>\r
30     <restas:route url="image/:(file)">\r
31         <restas:get>\r
32             <restas:stage type="file">${skin}/image/${file}</restas:stage>\r
33         </restas:get>\r
34     </restas:route>\r
36     <restas:route url="favicon.ico">\r
37         <restas:get>\r
38             <restas:stage type="file">${skin}/favicon.ico</restas:stage>\r
39         </restas:get>\r
40     </restas:route>\r
42     <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\r
43     <!-- main page -->\r
44     <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\r
46     <restas:route url="">\r
47         <restas:get>\r
48             <restas:stage type="file">${content}/index.xml</restas:stage>\r
49             <restas:stage type="xsl" href="content.xsl" />\r
51             <restas:stage type="apply-overlay" master="${skin}/rulisp.html" />\r
52         </restas:get>\r
53     </restas:route>\r
56     <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\r
57     <!-- articles -->\r
58     <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\r
60     <restas:route url="articles/">\r
61         <restas:get>\r
62             <restas:stage type="file">${content}/articles/index.xml</restas:stage>\r
63             <restas:stage type="xsl" href="content.xsl" />\r
65             <restas:stage type="apply-overlay" master="${skin}/rulisp.html" />\r
66         </restas:get>\r
67     </restas:route>\r
68     \r
69     <restas:route url="articles/:(file).html">\r
70         <restas:get>\r
71             <restas:stage type="file">${content}/articles/${file}.xml</restas:stage>\r
72             <restas:stage type="xsl" href="articles.xsl" />\r
74             <restas:stage type="apply-overlay" master="${skin}/rulisp.html" />\r
75         </restas:get>\r
76     </restas:route>\r
77     \r
78 </restas:location>