]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 30 Nov 2015 09:11:45 +0000 (10:11 +0100)
commited166abbf3e4e0510d6fd14f9843b7fad1a5b686
treecb5720cfa8c9578ba33d04ad7770d11deffecf71
parent2f5b29ef19d85c40ed386be3fb4490387471d35c
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>
(cherry picked from commit ca341f6840ad7eb9170ce49f1ed6869b3e468297)
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]