gnu-social/plugins/Sitemap
Alexei Sorokin 26115482ef [SCHEMA] Improve timestamp storage
Avoid the use of deprecated MariaDB "zero dates" globally. If they're present
as attribute defaults somewhere, they will be replaced with NULL implicitly.
The existing "zero dates" in MariaDB storage will be left intact and this
should not present any issues.

The "timestamp" type in table definitions now corresponds to DATETIME in
MariaDB with "DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP", which
should be close enough to the original behaviour for compatibility purposes.
It is now the recommended type for "modified" attributes, because of the
update trigger on MariaDB. But there is no such trigger implemented on
PostgreSQL as of this moment.
2021-07-16 19:44:37 +01:00
..
actions [DATABASE] Start transactions with START TRANSACTION 2021-07-16 19:44:36 +01:00
classes [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
locale [PLUGINS] Removed GeoURL as the service doesn't exist anymore 2021-07-16 19:44:34 +01:00
scripts [SCRIPTS] Set PUBLICDIR in plugin scripts as well 2021-07-16 19:44:35 +01:00
README Add plugin READMEs 2016-02-08 17:48:37 +00:00
SitemapPlugin.php [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 2021-07-16 19:44:36 +01:00

The Sitemap plugin creates a dynamic sitemap for Bing, Yahoo! and Google

Installation
============
add "addPlugin('Sitemap');"
to the bottom of your config.php

Settings
========
googlekey: The key provided by Google
yahookey: The key provided by Yahoo!
bingkey: The key provided by Bing

Example
=======
$config['sitemap']['googlekey'] = 'GOOGLE_KEY';
$config['sitemap']['yahookey'] = 'YAHOO_KEY';
$config['sitemap']['bingkey'] = 'BING_KEY';
addPlugin('Sitemap');