From: Benjamin Mako Hill Date: Wed, 9 Nov 2011 00:31:22 +0000 (-0500) Subject: update scripts for new location of planet X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/d2664b6caaf10ea56412f6c79ecc7bad3942fa5f?ds=sidebyside update scripts for new location of planet --- diff --git a/templates/config.ini b/templates/config.ini index 6c9fa7e..3d44f00 100644 --- a/templates/config.ini +++ b/templates/config.ini @@ -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 diff --git a/update-bloggers b/update-bloggers index d246338..7ea28dd 100755 --- a/update-bloggers +++ b/update-bloggers @@ -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