From e0a8173d10cc0f307dd95118e294c727c285e142 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Demians?= Date: Sun, 3 Nov 2013 17:05:38 +0100 Subject: [PATCH] Bug 11190: sitemap.pl -- Generate a Catalog sitemap Add a script sitemap.pl to process all biblio records from a Koha instance and generate Sitemap files complying with this protocol as described on http://sitemaps.org. The goal of this script is to be able to provide to search engines direct access to biblio records. It avoid leaving search engine browsing Koha OPAC and so generating a lot of traffic, and workload, for a bad result. Thanks Magnus for testing, and helping to improve the script design. [2015.04.16] Switch from Moose to Moo. [2015.08.20] Add complete (more) UT. Signed-off-by: Magnus Enger All options to the script work as expected and the output looks good. Nice enhancement! Signed-off-by: Frederic Demians I signed-of my own patch after fixing various QA errors. Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart Amended patch: replace tabs with spaces. Signed-off-by: Tomas Cohen Arazi (cherry picked from commit ca341f6840ad7eb9170ce49f1ed6869b3e468297) --- C4/Installer/PerlDependencies.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index 805bc1c777..e37b51a161 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -747,6 +747,11 @@ our $PERL_DEPS = { 'required' => '0', 'min_ver' => '0.614', }, + 'XML::Writer' => { + 'usage' => 'Command line scripts', + 'required' => '0', + 'min_ver' => '0.614', + }, }; 1; -- 2.39.5