Skip to content

Commit

Permalink
updated to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbaseman committed Nov 18, 2018
1 parent cc923b1 commit 0b6e739
Show file tree
Hide file tree
Showing 8 changed files with 202 additions and 120 deletions.
57 changes: 57 additions & 0 deletions config.default.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?php
/**
*
* @category snippet
* @package rss feed all
* @version 0.3.0
* @authors Martin Hecht (mrbaseman)
* @copyright (c) 2018, Martin Hecht (mrbaseman)
* @link https://github.com/WebsiteBaker-modules/rss-feed-all
* @link http://forum.wbce.org/viewtopic.php?id=655
* @license GNU General Public License
* @platform WebsiteBaker 2.8.x
* @requirements PHP 5.4 and higher
*
**/


$RssFeedAll_limit = 15; // Change this if you need more or less items returned

// Ban urls with unwanted words, Array of unwanted words in the url
// e.g. array("privat", "intranet", "intern")
$RssFeedAll_exclude = array();

// Include some page_id's explicitly,
// Array of page_ids of pages you want to have posted e.g. array( 3, 5, 7);
$RssFeedAll_include = array();

// for members of the admin group you might want to add a few more pages,
// only the difference is needed, e.g. you might want to add page_id = 11
// and all private pages: array( 11, "private");
$RssFeedAll_include_admin = array();

// also the exclude list will be merged, you can remove entries from the list
// by prepending a '-': array("-privat");
$RssFeedAll_exclude_admin = array();

// and the same for the superadmin account, e.g. here we remove the page_ids
// from above, and add all other "visibilities", "private" is already in the list
// array( -3, -5, -7, "hidden", "registered", "none");
$RssFeedAll_include_superadmin = array();

// and also the exclude list, remove the stuff from above:
// array("-intranet", "-intern");
$RssFeedAll_exclude_superadmin = array();

// we may restrict the output to urls that include specific words
// array("aktuell", "posts", "news");
$RssFeedAll_restrict = array();

// Topics Module
$topics_mod_name = "topics"; // Name of the module

// OneForAll Module
$oneforall_mod_names = "oneforall"; // Names of the oneforall modules. Seperated by a comma.

//$oneforall_mod_names = "oneforall,projects,portfolio"; // Names of the oneforall modules.
// Seperated by a comma.
224 changes: 119 additions & 105 deletions include.php

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
*
* @category snippet
* @package rss feed all
* @version 0.2.1
* @version 0.3.0
* @authors Martin Hecht (mrbaseman)
* @copyright (c) 2016, Martin Hecht (mrbaseman)
* @copyright (c) 2018, Martin Hecht (mrbaseman)
* @link https://github.com/WebsiteBaker-modules/rss-feed-all
* @link http://forum.wbce.org/viewtopic.php?id=655
* @license GNU General Public License
* @platform WebsiteBaker 2.8.x
Expand Down
7 changes: 4 additions & 3 deletions info.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
*
* @category snippet
* @package rss feed all
* @version 0.2.1
* @version 0.3.0
* @authors Martin Hecht (mrbaseman)
* @copyright (c) 2016, Martin Hecht (mrbaseman)
* @copyright (c) 2018, Martin Hecht (mrbaseman)
* @link https://github.com/WebsiteBaker-modules/rss-feed-all
* @link http://forum.wbce.org/viewtopic.php?id=655
* @license GNU General Public License
* @platform WebsiteBaker 2.8.x
Expand All @@ -23,7 +24,7 @@
$module_directory = 'rss-feed-all';
$module_name = 'rss feed all';
$module_function = 'snippet';
$module_version = '0.2.1';
$module_version = '0.3.0';
$module_platform = 'WebsiteBaker 2.8.x';
$module_author = 'Martin Hecht (mrbaseman)';
$module_license = 'GNU General Public License';
Expand Down
9 changes: 6 additions & 3 deletions install.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@
*
* @category snippet
* @package rss feed all
* @version 0.2.1
* @version 0.3.0
* @authors Martin Hecht (mrbaseman)
* @copyright (c) 2016, Martin Hecht (mrbaseman)
* @copyright (c) 2018, Martin Hecht (mrbaseman)
* @link https://github.com/WebsiteBaker-modules/rss-feed-all
* @link http://forum.wbce.org/viewtopic.php?id=655
* @license GNU General Public License
* @platform WebsiteBaker 2.8.x
* @requirements PHP 5.4 and higher
*
**/

// no content in this file yet
if (!file_exists(WB_PATH."/modules/rss-feed-all/config.php"))
rename(WB_PATH."/modules/rss-feed-all/config.default.php",
WB_PATH."/modules/rss-feed-all/config.php");
5 changes: 3 additions & 2 deletions uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
*
* @category snippet
* @package rss feed all
* @version 0.2.1
* @version 0.3.0
* @authors Martin Hecht (mrbaseman)
* @copyright (c) 2016, Martin Hecht (mrbaseman)
* @copyright (c) 2018, Martin Hecht (mrbaseman)
* @link https://github.com/WebsiteBaker-modules/rss-feed-all
* @link http://forum.wbce.org/viewtopic.php?id=655
* @license GNU General Public License
* @platform WebsiteBaker 2.8.x
Expand Down
10 changes: 7 additions & 3 deletions upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@
*
* @category snippet
* @package rss feed all
* @version 0.2.1
* @version 0.3.0
* @authors Martin Hecht (mrbaseman)
* @copyright (c) 2016, Martin Hecht (mrbaseman)
* @copyright (c) 2018, Martin Hecht (mrbaseman)
* @link https://github.com/WebsiteBaker-modules/rss-feed-all
* @link http://forum.wbce.org/viewtopic.php?id=655
* @license GNU General Public License
* @platform WebsiteBaker 2.8.x
* @requirements PHP 5.4 and higher
*
**/

// no content in this file yet
if (!file_exists(WB_PATH."/modules/rss-feed-all/config.php"))
rename(WB_PATH."/modules/rss-feed-all/config.default.php",
WB_PATH."/modules/rss-feed-all/config.php");

5 changes: 3 additions & 2 deletions view.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
*
* @category snippet
* @package rss feed all
* @version 0.2.1
* @version 0.3.0
* @authors Martin Hecht (mrbaseman)
* @copyright (c) 2016, Martin Hecht (mrbaseman)
* @copyright (c) 2018, Martin Hecht (mrbaseman)
* @link https://github.com/WebsiteBaker-modules/rss-feed-all
* @link http://forum.wbce.org/viewtopic.php?id=655
* @license GNU General Public License
* @platform WebsiteBaker 2.8.x
Expand Down

0 comments on commit 0b6e739

Please sign in to comment.