Repos / hi.imnhan.com / 3ec12d0454
commit 3ec12d04546a7d45ab68c4a55f55a01a7a01ce61
Author: nhanb <thanhnhan483@gmail.com>
Date:   Wed Feb 5 10:44:04 2014 +0700

    Enable both atom and RSS feeds

diff --git a/pelicanconf.py b/pelicanconf.py
index 8a5e753..532a84c 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -57,11 +57,13 @@
 AUTHOR_SLUG = "nhanb"
 
 # Social widget
-SOCIAL = (('Github', 'https://github.com/nhanb'),
-          ('Facebook', 'https://www.facebook.com/thanhnhanb'),
-          ('Google+',
-           'https://plus.google.com/114388334309097537564?rel=author'),
-          )
+SOCIAL = (
+    ('Atom', '/feeds/atom.xml'),
+    ('Github', 'https://github.com/nhanb'),
+    ('Facebook', 'https://www.facebook.com/thanhnhanb'),
+    ('Google+',
+     'https://plus.google.com/114388334309097537564?rel=author'),
+)
 
 ## Blogroll
 #LINKS = (('Pelican', 'http://getpelican.com/'),
@@ -76,3 +78,9 @@
 )
 
 PLUGIN_PATH = '/home/nhanb/open-source/pelican-plugins'
+
+FEED_DOMAIN = SITEURL
+FEED_ALL_ATOM = 'feeds/all.atom.xml'
+FEED_ATOM = 'feeds/atom.xml'
+FEED_RSS = 'feeds/rss.xml'
+CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
diff --git a/publishconf.py b/publishconf.py
index 73a87df..9e7dc2f 100644
--- a/publishconf.py
+++ b/publishconf.py
@@ -13,11 +13,6 @@
 SITEURL = 'http://blog.nerdyweekly.com'
 RELATIVE_URLS = False
 
-FEED_DOMAIN = SITEURL
-FEED_ALL_ATOM = 'feeds/all.atom.xml'
-FEED_ATOM = 'feeds/atom.xml'
-CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
-
 DELETE_OUTPUT_DIRECTORY = True
 
 # Following items are often useful when publishing