commit 26cdbc94ebfef845fd3a50bbfdf0cdd91590f7f4
parent 2d679f8b3c88c425a8d3ab8ae6408bcb90bffa45
Author: Sam Kingston <sam@sjkwi.com.au>
Date: Wed, 17 Sep 2008 10:19:29 +1000
Needs less hardcoding values and more shebangs :-P
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/templates/_commonwrapper.xml b/templates/_commonwrapper.xml
@@ -10,8 +10,8 @@
<py:match path="head">
<head profile="http://gmpg.org/xfn/11" py:attrs="select('@*')" py:with="title = unicode(select('title[1]/text()'))">
${select('./*[local-name() != "title"]')}
- <title py:if="title">${title} - djc</title>
- <title py:if="not title">djc</title>
+ <title py:if="title">${title} - ${config.get('global', 'name')}</title>
+ <title py:if="not title">${config.get('global', 'name')}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="constance" />
<link rel="stylesheet" type="text/css" href="${environ.get('SCRIPT_NAME', '')}/static/css/common.css" />
diff --git a/tools/export_wp.py b/tools/export_wp.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import os, time, re, urllib, uuid, codecs
import MySQLdb