Skip to content

Commit 6e7737f

Browse files
committed
GitHub defaults /feed -> /feed.xml; change to feed-template.xml
1 parent a73252b commit 6e7737f

File tree

2 files changed

+33
-32
lines changed

2 files changed

+33
-32
lines changed

feed-template.xml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<feed xmlns="http://www.w3.org/2005/Atom">
3+
<title>$feed.title$</title>
4+
<subtitle>$feed.subtitle$</subtitle>
5+
<link rel="alternate" type="text/html" href="$canonical$" />
6+
<link rel="self" type="application/atom+xml" href="$canonical$$feed.file$" />
7+
<id>$feed.id-prefix$</id>
8+
$if(feed.updated)$<updated>$feed.updated$</updated>$endif$
9+
<author>
10+
<name>$feed.author-name$</name>
11+
<email>$feed.author-email$</email>
12+
</author>
13+
14+
$for(entry)$
15+
<entry>
16+
<title>$entry.title$</title>
17+
<link rel="alternate" type="text/html" href="$canonical$$entry.id$" />
18+
<id>$feed.id-prefix$$entry.id$</id>
19+
<published>$entry.published$</published>
20+
<updated>$if(entry.updated)$$entry.updated$$else$$entry.published$$endif$</updated>
21+
<author>
22+
<name>$entry.author-name$</name>
23+
</author>
24+
$for(category)$<category term="$entry.category$" />$endfor$
25+
<content type="html" xml:lang="en" xml:base="$canonical$">
26+
<![CDATA[
27+
$entry.body$
28+
]]>
29+
</content>
30+
</entry>
31+
$endfor$
32+
</feed>

feed.xml

-32
This file was deleted.

feed.xml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
feed.atom

0 commit comments

Comments
 (0)