diff options
-rw-r--r-- | data/templates/atom-item.xml | 4 | ||||
-rw-r--r-- | data/templates/atom.xml | 6 | ||||
-rw-r--r-- | data/templates/rss-item.xml | 4 | ||||
-rw-r--r-- | data/templates/rss.xml | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/data/templates/atom-item.xml b/data/templates/atom-item.xml index 10d9b79..6d0e28f 100644 --- a/data/templates/atom-item.xml +++ b/data/templates/atom-item.xml @@ -1,7 +1,7 @@ <entry> <title>$title</title> - <link href="$absolute/$url" /> - <id>$absolute/$url</id> + <link href="$root$url" /> + <id>$root$url</id> <updated>$timestamp</updated> <summary type="html"><![CDATA[$description]]></summary> </entry> diff --git a/data/templates/atom.xml b/data/templates/atom.xml index a0b30ef..a2b7a2b 100644 --- a/data/templates/atom.xml +++ b/data/templates/atom.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>$title</title> - <link href="$absolute/$url" rel="self" /> - <link href="$absolute" /> - <id>$absolute/$url</id> + <link href="$root$url" rel="self" /> + <link href="$root" /> + <id>$root$url</id> <author> <name>$authorName</name> </author> diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml index e04864e..ddfd975 100644 --- a/data/templates/rss-item.xml +++ b/data/templates/rss-item.xml @@ -1,7 +1,7 @@ <item> <title>$title</title> - <link>$absolute/$url</link> + <link>$root$url</link> <description><![CDATA[$description]]></description> <pubDate>$timestamp</pubDate> - <guid>$absolute/$url</guid> + <guid>$root$url</guid> </item> diff --git a/data/templates/rss.xml b/data/templates/rss.xml index bbdfc7e..36f3abd 100644 --- a/data/templates/rss.xml +++ b/data/templates/rss.xml @@ -2,9 +2,9 @@ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>$title</title> - <link>$absolute</link> + <link>$root</link> <description><![CDATA[$description]]></description> - <atom:link href="$absolute/$url" rel="self" + <atom:link href="$root$url" rel="self" type="application/rss+xml" /> <lastBuildDate>$timestamp</lastBuildDate> $body |