2021-08-20 15:44:19 +00:00
|
|
|
<?php
|
2021-09-02 19:08:55 +00:00
|
|
|
/**
|
|
|
|
* @brief fac, a plugin for Dotclear 2
|
|
|
|
*
|
|
|
|
* @package Dotclear
|
|
|
|
* @subpackage Plugin
|
|
|
|
*
|
|
|
|
* @author Jean-Christian Denis and Contributors
|
|
|
|
*
|
|
|
|
* @copyright Jean-Christian Denis
|
|
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
*/
|
2021-08-20 15:44:19 +00:00
|
|
|
|
|
|
|
if (!defined('DC_RC_PATH')) {
|
2021-08-20 16:39:12 +00:00
|
|
|
return null;
|
2021-08-20 15:44:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
$this->registerModule(
|
2021-09-02 19:08:55 +00:00
|
|
|
'Feed after content',
|
2021-08-20 16:39:12 +00:00
|
|
|
'Add RSS/Atom feeds after entries content',
|
|
|
|
'Jean-Christian Denis and Contributors',
|
2021-08-25 20:08:37 +00:00
|
|
|
'0.9.2',
|
2021-08-20 16:39:12 +00:00
|
|
|
[
|
2021-09-02 19:08:55 +00:00
|
|
|
'requires' => [['core', '2.19']],
|
2021-08-20 16:39:12 +00:00
|
|
|
'permissions' => 'usage,contentadmin',
|
|
|
|
'type' => 'plugin',
|
2021-08-23 21:02:45 +00:00
|
|
|
'support' => 'https://github.com/JcDenis/fac',
|
2021-08-25 19:36:44 +00:00
|
|
|
'details' => 'https://plugins.dotaddict.org/dc2/details/fac',
|
2021-08-25 20:08:37 +00:00
|
|
|
'repository' => 'https://raw.githubusercontent.com/JcDenis/fac/master/repository.xml',
|
2021-08-25 19:36:44 +00:00
|
|
|
'settings' => [
|
|
|
|
'blog' => '#params.fac_params'
|
|
|
|
]
|
2021-08-20 16:39:12 +00:00
|
|
|
]
|
|
|
|
);
|