aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-03-25 14:22:56 +0100
committerStefan Ritter <xeno@thehappy.de>2009-03-25 14:22:56 +0100
commita034b1c737cde983cad64762d81b2275657770dd (patch)
tree132e82ac96e2153a5e7b24d3ce64b8a9c7b3cf02
parentd285703e7cbb4a5c10e01dc9b50141c831565300 (diff)
Feeds:
* Added graphics for rss and atom * Added links below title to rss and atom
-rwxr-xr-xblogthon.cgi4
-rw-r--r--styles/.blogthon.css.swpbin0 -> 12288 bytes
-rw-r--r--styles/blogthon.css6
-rw-r--r--styles/images/atom.pngbin0 -> 179 bytes
-rw-r--r--styles/images/rss.pngbin0 -> 1567 bytes
5 files changed, 10 insertions, 0 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 376e3dd..58411ae 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -149,6 +149,10 @@ else:
print ' </head>'
print ' <body>'
print ' <div class="title"><a href="?" class="title">' + blog_title + '</a></div>'
+ print ' <div class="feeds">'
+ print ' <a href="?feed=rss"><img src="styles/images/rss.png" alt="rss"></a>'
+ print ' <a href="?feed=atom"><img src="styles/images/atom.png" alt="atom"></a>'
+ print ' </div>'
print ' <div class="screen"><div class="sidebar">'
diff --git a/styles/.blogthon.css.swp b/styles/.blogthon.css.swp
new file mode 100644
index 0000000..5b9424f
--- /dev/null
+++ b/styles/.blogthon.css.swp
Binary files differ
diff --git a/styles/blogthon.css b/styles/blogthon.css
index 378385e..4adb10d 100644
--- a/styles/blogthon.css
+++ b/styles/blogthon.css
@@ -98,4 +98,10 @@ input#submit {
width: 120px;
}
+.feeds {
+ position: absolute;
+ top: 4px;
+ right: 5px;
+}
+
# vim: set tw=0 ts=4:
diff --git a/styles/images/atom.png b/styles/images/atom.png
new file mode 100644
index 0000000..9ff5fa7
--- /dev/null
+++ b/styles/images/atom.png
Binary files differ
diff --git a/styles/images/rss.png b/styles/images/rss.png
new file mode 100644
index 0000000..7490bbb
--- /dev/null
+++ b/styles/images/rss.png
Binary files differ