all repos — archive/homestead @ 7bf25f232569aa62edf1c88e7014a9f3c1b37014

My future indieweb platform

feat: Create feed handler for root

Alan Pearce
commit

7bf25f232569aa62edf1c88e7014a9f3c1b37014

parent

a62fb1e7584ffa53a256ff8ce4d6a451ca542f20

1 file changed, 24 insertions(+), 0 deletions(-)

changed files
A src/templates/feed.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?> +<feed xmlns="http://www.w3.org/2005/Atom"> + <title>Example Feed</title> + <link href="http://example.org/"/> + <id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id> + <updated>2003-12-13T18:30:02Z</updated> + + <entry> + <title>Atom-Powered Robots Run Amok</title> + <link rel="alternate" type="text/html" href="http://example.org/2003/12/13/atom03.html"/> + <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> + <updated>2003-12-13T18:30:02Z</updated> + <summary>Some text.</summary> + <content type="xhtml"> + <div xmlns="http://www.w3.org/1999/xhtml"> + <p>This is the entry content.</p> + </div> + </content> + <author> + <name>John Doe</name> + </author> + </entry> + +</feed>