diff --git a/Bridge_API/BridgeAbstract.html b/Bridge_API/BridgeAbstract.html index 8386d430..5cfb1c27 100644 --- a/Bridge_API/BridgeAbstract.html +++ b/Bridge_API/BridgeAbstract.html @@ -100,7 +100,7 @@
If you want to add a bridge that is not part of /bridges
, you can map a folder to the /config
folder of the rss-bridge
container.
/home/docker/rssbridge/config
)./home/docker/rssbridge/config
folder. You can also add your custom whitelist.txt file and your custom config.ini.php to this folder./home/docker/rssbridge/config
folder. Applies also to config.ini.php./config
inside the container. To do that, replace the </local/custom/path>
from the previous examples with /home/docker/rssbridge/config
To customise what bridges can be used if need, create a whitelist.txt
file in your fork and follow the instructions given here. You don’t need to do this if you’re fine with the default bridges.
To customise what bridges can be used if need, see here. You don’t need to do this if you’re fine with the default bridges.
Log in to Heroku and create a new app. The app name will be the URL of the RSS Bridge (appname.herokuapp.com)
diff --git a/For_Hosts/Installation.html b/For_Hosts/Installation.html index 1cabb524..336d4136 100644 --- a/For_Hosts/Installation.html +++ b/For_Hosts/Installation.html @@ -100,7 +100,7 @@RSS-Bridge supports whitelists in order to limit the available bridges on your web server.
-A default whitelist file (whitelist.default.txt
) is shipped with RSS-Bridge. Please do not edit this file, as it gets replaced when upgrading RSS-Bridge!
You should, however, use this file as template to create your own whitelist (or leave it as is, to keep the default bridges). In order to create your own whitelist perform following actions:
-whitelist.default.txt
in the RSS-Bridge root folderwhitelist.txt
-RSS-Bridge will automatically detect the whitelist.txt
and use it. If the file doesn’t exist it will default to whitelist.default.txt
automatically.
In order to specifically whitelist bridges, open whitelist.txt
and add one line for each bridge you want to show. Make sure you use normal line-feeds at the end of a line (LF not CRLF). The bridge name must match the filename of the bridge in the bridges folder (see folder structure). The name may or may not include the ‘Bridge’ part.
Examples:
-FacebookBridge
-WikipediaBridge
-TwitterBridge
+ Modify config.ini.php
to limit available bridges.
+
+ Enable all bridgesenabled_bridges[] = *
-or
-Facebook
-Wikipedia
-Twitter
+
+ Enable some bridgesenabled_bridges[] = TwitchBridge
+enabled_bridges[] = GettrBridge
-
- Global whitelistingIn order to globally whitelist all bridges, open the whitelist.txt
file, remove all contents and just write an asterisk *
into the file (only this one character).
-*
+
+ Enable all bridges (legacy shortcut)echo '*' > whitelist.txt
+
+
+ Enable some bridges (legacy shortcut)echo -e "TwitchBridge\nTwitterBridge" > whitelist.txt