-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.rdf
35 lines (31 loc) · 1.06 KB
/
template.rdf
1
2
3
4
5
6
7
8
9
10
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
Content-Type: text/xml; charset=UTF-8
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns="http://purl.org/rss/1.0/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
xml:lang="ja">
<channel rdf:about="<%=serverRoot%><%=home%>/index.rdf">
<title><%=title%></title>
<link><%=serverRoot%><%=home%></link>
<items>
<rdf:Seq>
<% entries foreach(entry, %>
<rdf:li rdf:resource="<%=serverRoot%><%=home%><%=entry name%>" />
<% ) %>
</rdf:Seq>
</items>
</channel>
<% entries foreach(entry, %>
<item rdf:about="<%=serverRoot%><%=home%><%=entry name%>">
<title><%=entry title%></title>
<link><%=serverRoot%><%=home%><%=entry name%></link>
<dc:creator><%=creator%></dc:creator>
<dc:date><%=entry date format("%Y-%m-%dT%H:%M:%S%Z")%></dc:date>
<content:encoded><%=entry body join%></content:encoded>
</item>
<% ) %>
</rdf:RDF>