[geeklog-cvs] geeklog: Add the Polls plugin to the sitemap by default (part of...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Jun 7 15:25:27 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/05151f340a85
changeset: 7089:05151f340a85
user: Dirk Haun <dirk at haun-online.de>
date: Sun Jun 07 20:14:43 2009 +0200
description:
Add the Polls plugin to the sitemap by default (part of bug #0000898)
diffstat:
plugins/xmlsitemap/install_defaults.php | 8 +++++---
public_html/docs/history | 1 +
2 files changed, 6 insertions(+), 3 deletions(-)
diffs (44 lines):
diff -r 3a4524178456 -r 05151f340a85 plugins/xmlsitemap/install_defaults.php
--- a/plugins/xmlsitemap/install_defaults.php Sun Jun 07 20:04:45 2009 +0200
+++ b/plugins/xmlsitemap/install_defaults.php Sun Jun 07 20:14:43 2009 +0200
@@ -58,7 +58,7 @@
$_XMLSMAP_DEFAULT['mobile_sitemap_file'] = 'mobile_sitemap.xml';
// Content types
-$_XMLSMAP_DEFAULT['types'] = array('article', 'staticpages', 'calendar');
+$_XMLSMAP_DEFAULT['types'] = array('article', 'calendar', 'polls', 'staticpages');
// Plugins to exclude from sitemap
$_XMLSMAP_DEFAULT['exclude'] = array('links');
@@ -66,16 +66,18 @@
// Priorities (must be between 0.0 and 1.0; default value is 0.5)
$_XMLSMAP_DEFAULT['priorities'] = array(
'article' => 0.5,
- 'staticpages' => 0.5,
'calendar' => 0.5,
+ 'polls' => 0.5,
+ 'staticpages' => 0.5
);
// Frequencies (must be one of 'always', 'hourly', 'daily', 'weekly',
// 'monthly', 'yearly', 'never')
$_XMLSMAP_DEFAULT['frequencies'] = array(
'article' => 'daily',
- 'staticpages' => 'weekly',
'calendar' => 'daily',
+ 'polls' => 'daily',
+ 'staticpages' => 'weekly'
);
/**
diff -r 3a4524178456 -r 05151f340a85 public_html/docs/history
--- a/public_html/docs/history Sun Jun 07 20:04:45 2009 +0200
+++ b/public_html/docs/history Sun Jun 07 20:14:43 2009 +0200
@@ -31,6 +31,7 @@
XMLSitemap plugin
-----------------
+- Add the Polls plugin to the sitemap by default (part of bug #0000898) [Dirk]
- When manually adding or removing plugins, automatically add/remove
corresponding entries for priority and frequency (part of bug #0000898) [Dirk]
More information about the geeklog-cvs
mailing list