]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Generate sitemaps using google's sitemap_gen.py
authorOleg Broytman <phd@phdru.name>
Wed, 11 Jun 2014 12:04:16 +0000 (16:04 +0400)
committerOleg Broytman <phd@phdru.name>
Wed, 23 Dec 2015 15:54:10 +0000 (18:54 +0300)
sitemaps/make-all [new file with mode: 0755]
sitemaps/phdru.name-config.xml [new file with mode: 0644]
sitemaps/zope.phdru.name-config.xml [new file with mode: 0644]

diff --git a/sitemaps/make-all b/sitemaps/make-all
new file mode 100755 (executable)
index 0000000..93b2f31
--- /dev/null
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+umask 022
+     sitemap_gen.py --config=phdru.name-config.xml &&
+exec sitemap_gen.py --config=zope.phdru.name-config.xml
diff --git a/sitemaps/phdru.name-config.xml b/sitemaps/phdru.name-config.xml
new file mode 100644 (file)
index 0000000..c2e98c3
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  sitemap_gen.py configuration script for phdru.name
+-->
+
+ <site
+  base_url="http://phdru.name/"
+  store_into="/home/phd/Internet/WWW/htdocs/phdru.name/sitemap.xml"
+  default_encoding="koi8-r"
+  verbose="1"
+  sitemap_type="web"
+  suppress_search_engine_notify="1"
+ >
+
+  <directory
+     url="http://phdru.name/"
+     path="/home/phd/Internet/WWW/htdocs/phdru.name"
+     default_file="index.html"
+  />
+
+  <!-- Exclude URLs within UNIX-style hidden files or directories       -->
+  <filter action="drop" type="regexp"   pattern="/\.[^/]*"     />
+
+</site>
diff --git a/sitemaps/zope.phdru.name-config.xml b/sitemaps/zope.phdru.name-config.xml
new file mode 100644 (file)
index 0000000..5fd08ed
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  sitemap_gen.py configuration script for zope.phdru.name
+-->
+
+ <site
+  base_url="http://zope.phdru.name/"
+  store_into="/home/phd/Internet/WWW/htdocs/zope.phdru.name/sitemap.xml"
+  default_encoding="koi8-r"
+  verbose="1"
+  sitemap_type="web"
+  suppress_search_engine_notify="1"
+ >
+
+  <directory
+     url="http://zope.phdru.name/"
+     path="/home/phd/Internet/WWW/htdocs/zope.phdru.name"
+     default_file="index.html"
+  />
+
+  <!-- Exclude URLs within UNIX-style hidden files or directories       -->
+  <filter action="drop" type="regexp"   pattern="/\.[^/]*"     />
+
+</site>