If this template is included on a page, DrTrigonBot modifies the page content according to given criteria and inserts text from aribrary sources (if they have changed). In case of problems, please leave a hint on this page (in English or German please). This template was derived from Template:Auto archiving notice an simplified.

Supported are all (plain) text sources, HTML sources by using regex and BeautifulSoup (thus partial XML support also) as well as RSS sources (through online RSS2HTML conversion, alternative with feed2html and Universal Feed Parser on the TS). Those sources may be ZIP compressed too. Last it is possible to use pure Wikipedia sources also.

One thing to be aware of and keep in mind upon using external sources is the copyright - the external page used as source, has to be either available under a free license - like it is the case for Identi.ca and blog.wikimedia.de - or the user has to show probable cause to be the author of the contents used from there. The choice has to be done carefully (e.g. avoid pages containing lots of advertising).

Usage

[edit]

regex mode (default)

[edit]
((User:DrTrigonBot/Subster
|url=...
|regex=...
|value=abc
))
...
<!--SUBSTER-abc--><!--SUBSTER-abc-->

Beautiful-Soup mode

[edit]
((User:DrTrigonBot/Subster
|url=...
|beautifulsoup=True
))
...
<!--SUBSTER-BS:body--><!--SUBSTER-BS:/-->

simple mode

[edit]
((User:DrTrigonBot/Subster
|simple=((xyz|...))
|value=abc
))
...
<!--SUBSTER-abc--><!--SUBSTER-abc-->

where the template (eg. xyz) has following format

(((())xyz

|url=...
|regex=...
(())))

here arbitrary variables eg. (everything known from Help:Magic words#Parser functions) can be used.

Parameter

[edit]

optional:

regex mode (default)

[edit]

optional:

Beautiful Soup mode

[edit]

MagicWords mode

[edit]

Simple mode

[edit]

Simulation

[edit]

Because the bot is not running continously yet (just daily), here the most simple method to test and check the settings and parameter of the template and chose the properly. The tool calls in fact directly the bot code, thus it is a simulation using the real bot (the productive environment).

DrTrigonBot subster simulation panel

Mail

[edit]

The bot is able to recive mails also. Those are stored and used as data source. The mails can also be viewed in order to be able to see what information can be extracted and how.

To access recived mails in the parameter url the following syntax has to be used:

mail://sender@server.bla/all

for the whole mail text (body) or '/attachment' for attachments.

DrTrigonBot subster mail queue: drtrigon+subster@toolserver.org

Examples

[edit]

My appologies for not translating this yet, but you can have a look at w:de:Benutzer:DrTrigonBot/Subster/Doku#Beispiele.

more

[edit]

Dynamical/fast updates (irc channel daemon)

[edit]

A part of the bot runs permanent or continously (as Daemon) and reacts on some specific edits by users.

this bot part was not activated on enwiki yet!

See also

[edit]