ivoba-oxid/oxid-sitemap

There is no license information available for the latest version (3.1.0) of this package.

generate a SiteMap

Installs: 3 743

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 6

Open Issues: 1

Type:oxideshop-module

3.1.0 2022-01-19 10:19 UTC

This package is auto-updated.

Last update: 2024-12-09 10:25:00 UTC


README

Build Status

Requirements

  • Oxid eShop >= 6.2
  • PHP >= 7.1

Installation

Install via composer:

composer require ivoba-oxid/oxid-sitemap

Activate the plugin:

vendor/bin/oe-console oe:module:activate ivoba_sitemap

Usage

Recommended is usage as console command.

Console

Run:

vendor/bin/oe-console ivoba-oxid:sitemap:generate

Browser

Post installation:

  • copy 'sitemap_xml.php' from /vendor/ivoba-oxid/oxid-sitemap/copy_this to /source/ directory:
    cp vendor/ivoba-oxid/oxid-sitemap/copy_this/sitemap_xml.php source/sitemap_xml.php
  • take care that your target file is writeable by the webserver
  • create a cronjob that calls http://yourshop.biz/sitemap_xml.php

Sitemap generation can be adjusted by overriding service definition in a module or your projects services.yaml.

Todo

  • password protect generate page via browser
  • compress sitemap
  • option to split sitemap, create sitemap_split_xml.php

Credits

based on https://github.com/OXIDprojects/google_sitemap

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.