xlr8or/big-brother-bot — Issue #71: ADV plugin : get messages from a remote text file
Author: courgette
Created: 2012-01-09 00:31:49+00:00
State: open

The ADV plugin already knows how to get the messages of a local text file (although this feature is not documented in the plugin config file) and [it was suggested](forum.bigbrotherbot.net/plugins/plugin_adv-is-it-possible-to-retrieve-data-from-http/msg31911/) to get the messages of a remote text file over HTTP or FTP.

This should not be to difficult to implement as a similar feature already exists in B3 or B3 plugins (banlist plugin for instance)

Maybe a new xml tag could be created for making more clear how to use files to hold messages. What about the `` tag ? A config file could then be :

```xml

2

http://forum.bigbrotherbot.net/news-2/?type=rss;action=.xml
5
News:

^2Big Brother Bot is watching you... www.BigBrotherBot.net
@feed
server watched by @admins
/spam#rule1
@time
@admins
@feed
^2Do you like B3? Consider donating to the project at www.BigBrotherBot.net
@nextmap
@topstats
C:\somewhere\b3-ads.txt
FTP://myuser:mypassword@11.22.33.44/somewhere/b3-ads.txt
HTTP://11.22.33.44/somewhere/b3-ads.txt

```