Frédéric Demians > Koha-Contrib-Tamil-0.031 > koha-sitemap

Download:
Koha-Contrib-Tamil-0.031.tar.gz

Annotate this POD

View/Report Bugs
Source   Latest Release: Koha-Contrib-Tamil-0.034

NAME ^

koha-sitemap - Creates sitemap files for a whole Koha DB

VERSION ^

version 0.031

DESCRIPTION ^

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.

A file name sitemapindex.xml is generated. It contains references to Sitemap multiples files. Each file contains at most 50,000 urls, and is named sitemapXXXX.xml.

The files must be stored on Koha OPAC root directoty, ie <koha-root/koha-tmpl/>. Place also in this directory a robots.txt file like this one:

 Sitemap: sitemapindex.xml
 User-agent: *
 Disallow: /cgi-bin/

USAGE ^

koha-sitemap [--verbose|--help] --url=Koha OPAC base URL

PARAMETERS ^

--url=Koha OPAC base URL
--verbose|-v

Enable script verbose mode.

--help|-h

Print this help page.

AUTHOR ^

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2013 by Fréderic Démians.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007
syntax highlighting: