diff options
author | Bill <bill@billserver.senders.io> | 2022-12-31 21:14:51 -0500 |
---|---|---|
committer | Bill <bill@billserver.senders.io> | 2022-12-31 21:14:51 -0500 |
commit | b5b85066bc8bfa6db6eaa33e3f14c0eaafafe5af (patch) | |
tree | 892d12491371353e35702de396a12b82bb57f580 /templates | |
parent | 44da246fa5e373c86373889b53263f52af84d525 (diff) |
RSS Blog and Generate RSS Feed!
Diffstat (limited to 'templates')
-rw-r--r-- | templates/blog-footer.html | 3 | ||||
-rw-r--r-- | templates/page-footer.html | 11 | ||||
-rw-r--r-- | templates/rss-header.xml | 21 | ||||
-rw-r--r-- | templates/rss/rss-footer.xml | 2 | ||||
-rw-r--r-- | templates/rss/rss-header.xml | 11 | ||||
-rw-r--r-- | templates/rss/rss-item-footer.xml | 3 | ||||
-rw-r--r-- | templates/rss/rss-item-header.xml | 7 |
7 files changed, 29 insertions, 29 deletions
diff --git a/templates/blog-footer.html b/templates/blog-footer.html index 2786723..c321a37 100644 --- a/templates/blog-footer.html +++ b/templates/blog-footer.html @@ -3,10 +3,9 @@ <i>BLOG_DATE</i> </div> <div id='copyright'> - <small>© 2023 senders dot io - + © 2023 senders dot io - <a rel="license external noopener noreferrer" target="_blank" href="https://creativecommons.org/licenses/by/4.0/">CC BY-SA 4.0</a> unless otherwise noted. - </small> </div> </body> </html> diff --git a/templates/page-footer.html b/templates/page-footer.html index 78d35f6..a969ce9 100644 --- a/templates/page-footer.html +++ b/templates/page-footer.html @@ -1,9 +1,8 @@ - </div> - <div id='copyright'> - <small>© 2023 senders dot io - - <a rel="license external noopener noreferrer" target="_blank" href="https://creativecommons.org/licenses/by/4.0/">CC BY-SA 4.0</a> - unless otherwise noted. - </small> + <div id='copyright'> + © 2023 senders dot io - + <a rel="license external noopener noreferrer" target="_blank" href="https://creativecommons.org/licenses/by/4.0/">CC BY-SA 4.0</a> + unless otherwise noted. + </div> </div> </body> </html> diff --git a/templates/rss-header.xml b/templates/rss-header.xml deleted file mode 100644 index c38d6f0..0000000 --- a/templates/rss-header.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<rss version="2.0"> -<channel> - <title>senders.io - Blog</title> - <description>senders.io's blog feed</description> - <link>https://www.senders.io/</link> - <copyright>2023 - CC-BY-SA 4.0 - senders.io </copyright> - <lastBuildDate>Mon, 6 September 2010 00:01:00 +0000</lastBuildDate> - <pubDate>Sun, 6 September 2009 16:20:00 +0000</pubDate> - <ttl>1800</ttl> - - <item> - <title>Example entry</title> - <description>Here is some text containing an interesting description.</description> - <link>http://www.example.com/blog/post/1</link> - <guid isPermaLink="false">7bd204c6-1655-4c27-aeee-53f933c5395f</guid> - <pubDate>Sun, 6 September 2009 16:20:00 +0000</pubDate> - </item> - -</channel> -</rss> diff --git a/templates/rss/rss-footer.xml b/templates/rss/rss-footer.xml new file mode 100644 index 0000000..3a9dbde --- /dev/null +++ b/templates/rss/rss-footer.xml @@ -0,0 +1,2 @@ +</channel> +</rss> diff --git a/templates/rss/rss-header.xml b/templates/rss/rss-header.xml new file mode 100644 index 0000000..7eb169d --- /dev/null +++ b/templates/rss/rss-header.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<rss version="2.0"> +<channel> + <title>senders.io - Blog</title> + <description>senders.io's blog feed</description> + <link>https://www.senders.io/</link> + <copyright>2023 senders dot io - CC BY-SA 4.0</copyright> + <language>en-US</language> + <ttl>60</ttl> + <lastBuildDate>#BUILDDATE</lastBuildDate> + <pubDate>#PUBDATE</pubDate> diff --git a/templates/rss/rss-item-footer.xml b/templates/rss/rss-item-footer.xml new file mode 100644 index 0000000..d1a2e8b --- /dev/null +++ b/templates/rss/rss-item-footer.xml @@ -0,0 +1,3 @@ + ]]> + </description> + </item> diff --git a/templates/rss/rss-item-header.xml b/templates/rss/rss-item-header.xml new file mode 100644 index 0000000..ce5113b --- /dev/null +++ b/templates/rss/rss-item-header.xml @@ -0,0 +1,7 @@ + <item> + <title>#TITLE</title> + <link>#LINK</link> + <guid isPermaLink="true">#PERMALINK</guid> + <pubDate>#PUBDATE</pubDate> + <description> + <![CDATA[ |