]> git.ipfire.org Git - ipfire.org.git/commitdiff
Added a news feed for our site.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jul 2008 14:03:09 +0000 (16:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jul 2008 14:03:09 +0000 (16:03 +0200)
www/data/feeds/main-en.rss [new file with mode: 0644]
www/de/index.shtml
www/en/index.shtml
www/header.shtml
www/images/feed.png [new file with mode: 0644]
www/style.css

diff --git a/www/data/feeds/main-en.rss b/www/data/feeds/main-en.rss
new file mode 100644 (file)
index 0000000..c2345ac
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rss version="2.0">
+
+       <channel>
+               <title>IPFire.org - News</title>
+               <link>http://www.ipfire.org/</link>
+               <description>Kurze Beschreibung des Feeds</description>
+               <language>en</language>
+               <copyright>Michael Tremer</copyright>
+               <pubDate>Thu, 8 Nov 2007 00:00:00 +0200</pubDate>
+               <!-- <image>
+                       <url>URL einer einzubindenden Grafik</url>
+                       <title>Bildtitel</title>
+                       <link>URL, mit der das Bild verknüpft ist</link>
+               </image> -->
+
+               <item>
+                       <title>Core Update 15</title>
+                       <link>http://www.ipfire.org/#news</link>
+                       <author>ms@ipfire.org (Michael Tremer)</author>
+                       <guid>http://www.ipfire.org/#news-03</guid>
+                       <pubDate>Thu, 24 Jul 2008 15:00:00 +0200</pubDate>
+                       <description>
+                               <![CDATA[
+                                       Today, we release the core update number 15.
+                                       This is an important update because it will fix
+                                       the latest dns vulnerabilities.
+                                       <a href="http://www.heise-online.co.uk/news/DNS-security-problem-details-released--/111145">Read this for more information.</a>
+                                       Please install this update as soon as possible.
+                               ]]>
+                       </description>
+               </item>
+
+               <item>
+                       <title>IPFire's first rss feed</title>
+                       <link>http://www.ipfire.org/#news</link>
+                       <author>ms@ipfire.org (Michael Tremer)</author>
+                       <guid>http://www.ipfire.org/#news-02</guid>
+                       <pubDate>Thu, 24 Jul 2008 12:00:00 +0200</pubDate>
+                       <description>
+                               <![CDATA[
+                                       Now, the ipfire project has got it's own rss feed.
+                                       This feed is for you, to keep you up on latest
+                                       security updates and releases.
+                               ]]>
+                       </description>
+               </item>
+
+               <item>
+                       <title>IPFire 2.1 is out</title>
+                       <link>http://www.ipfire.org/#news</link>
+                       <author>ms@ipfire.org (Michael Tremer)</author>
+                       <guid>http://www.ipfire.org/#news-01</guid>
+                       <pubDate>Thu, 8 Nov 2007 12:00:00 +0200</pubDate>
+                       <description>
+                               <![CDATA[
+                                       Today, we released the final version of
+                                       "IPFire 2.1".
+                               ]]>
+                       </description>
+               </item>
+
+       </channel>
+
+</rss>
index 2c98ba9d291d1dab4f0c8da6e761693b0d41c589..93fa1a2b8620677e0feeecfa6fa3194e0de1a6e3 100644 (file)
                                        aus einem Guss zu erstellen.
                                </p>
 
+                               <h4><span>RSS</span> feed</h4>
+                               <p>
+                                       <a class="feed" href="http://www.ipfire.org/data/feeds/main-en.rss">IPFire - News</a>
+                               </p>
+
                                <h4><span>Internet-Relay</span>-Chat</h4>
                                <p>
                                        <b>Server:</b> irc.freenode.net<br />
index 2cffabd77e22b769d6f3781c10b121edd84506e7..04bebc82e2bea7493337571b118fd3917c88acab 100644 (file)
                                        in one piece.
                                </p>
 
+                               <h4><span>RSS</span> feed</h4>
+                               <p>
+                                       <a class="feed" href="http://www.ipfire.org/data/feeds/main-en.rss">IPFire - News</a>
+                               </p>
+
                                <h4><span>Internet Relay</span> Chat</h4>
                                <p>
                                        <b>Server:</b> irc.freenode.net<br />
index 60f84254c49eb27492b52414b9f1a068f9bac543..2143deab4c3febe172d1b3a6609287d8367de2c8 100644 (file)
@@ -8,6 +8,7 @@
        <meta name="description" content="" />
        <meta name="verify-v1" content="2LEf3W8naILGWVy2dhedSVEHPXTpp2xFNVsHXZMH1JI=" />
        <link rel="stylesheet" type="text/css" href="../style.css" />
+       <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.ipfire.org/data/feeds/main-en.rss" />
 <!--[if lt IE 7]>
        <script type="text/javascript">
                function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
diff --git a/www/images/feed.png b/www/images/feed.png
new file mode 100644 (file)
index 0000000..0130180
Binary files /dev/null and b/www/images/feed.png differ
index b479b316da6ce2bca5c5a9a062f3898e9407372a..c6a2478c0c9adf15f9fade761c3c909308884154 100644 (file)
@@ -402,6 +402,12 @@ left: 60px; /*position where enlarged image should offset horizontally */
 
 }
 
+.feed {
+  margin-left: 3px;
+  padding: 0 0 0 19px;
+  background: url("images/feed.png") no-repeat 0 50%;
+}
+
 /* LAYOUT - 3 COLUMNS */
 
        /* Primary content */