]> projects.mako.cc - iron-blogger/commitdiff
update scripts for new location of planet
authorBenjamin Mako Hill <mako@atdot.cc>
Wed, 9 Nov 2011 00:31:22 +0000 (19:31 -0500)
committerBenjamin Mako Hill <mako@atdot.cc>
Wed, 9 Nov 2011 00:37:27 +0000 (19:37 -0500)
templates/config.ini
update-bloggers

index 6c9fa7e7b515c2ec6cdf6b0a9dcce2632e8fe644..3d44f00d45de1ba1a0cd53801837e46e5f7808f8 100644 (file)
@@ -14,12 +14,12 @@ owner_email = mako@atdot.cc
 # cache_directory: Where cached feeds are stored
 # new_feed_items: Number of items to take from new feeds
 # log_level: One of DEBUG, INFO, WARNING, ERROR or CRITICAL
-cache_directory = /home/mako/websites/iron-blogger/planet-cache
+cache_directory = cache
 new_feed_items = 2
 log_level = DEBUG
 
 # template_files: Space-separated list of output template files
-template_files = iron-blogger/index.html.tmpl iron-blogger/atom.xml.tmpl iron-blogger/rss20.xml.tmpl iron-blogger/rss10.xml.tmpl iron-blogger/opml.xml.tmpl iron-blogger/foafroll.xml.tmpl
+template_files = templates/index.html.tmpl templates/atom.xml.tmpl templates/rss20.xml.tmpl templates/rss10.xml.tmpl templates/opml.xml.tmpl templates/foafroll.xml.tmpl
 
 # The following provide defaults for each template:
 # output_dir: Directory to place output files
@@ -33,7 +33,7 @@ template_files = iron-blogger/index.html.tmpl iron-blogger/atom.xml.tmpl iron-bl
 # locale: locale to use for (e.g.) strings in dates, default is taken from your
 #         system. You can specify more locales separated by ':', planet will
 #         use the first available one
-output_dir = /home/mako/websites/iron-blogger/planet-output
+output_dir = out
 items_per_page = 15
 days_per_page = 0
 date_format = %B %d, %Y %I:%M %p
index d24633832e058191b0054b9918dce4c96663052e..7ea28dd39ecf4aad7ce4b4517483d3519472a720 100755 (executable)
@@ -1,7 +1,8 @@
 #!/bin/sh
 HERE=$(dirname "$0")
 $HERE/import-feeds.py
-$HERE/render.py $HERE/templates/config.ini > /mit/nelhage/planet/iron-blogger/config.ini
+$HERE/render.py $HERE/templates/config.ini > $HERE/../iron-blogger-planet/config.ini
 $HERE/update-participants.py
-cp "$HERE/bloggers.yml" /mit/nelhage/web_scripts/iron-blogger/
-chmod 777 /mit/nelhage/web_scripts/iron-blogger/bloggers.yml
+
+# cp "$HERE/bloggers.yml" /mit/nelhage/web_scripts/iron-blogger/
+# chmod 777 bloggers.yml

Benjamin Mako Hill || Want to submit a patch?