]> git.koha-community.org Git - koha.git/commit
Bug 11190: sitemap.pl -- Generate a Catalog sitemap
authorFrédéric Demians <f.demians@tamil.fr>
Sun, 3 Nov 2013 16:05:38 +0000 (17:05 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 26 Aug 2015 14:05:24 +0000 (11:05 -0300)
commitca341f6840ad7eb9170ce49f1ed6869b3e468297
treed282e7760a4ca6e92a31bd8f1ddc0c13051125d0
parentcc79ab3cdd42513fa46a7f78c03282625543d6f5
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 <magnus@enger.priv.no>
All options to the script work as expected and the output looks
good. Nice enhancement!

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
I signed-of my own patch after fixing various QA errors.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended patch: replace tabs with spaces.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Installer/PerlDependencies.pm
Koha/Sitemapper.pm [new file with mode: 0644]
Koha/Sitemapper/Writer.pm [new file with mode: 0644]
misc/cronjobs/sitemap.pl [new file with mode: 0755]
t/db_dependent/Sitemapper.t [new file with mode: 0755]