Web infos
aus MLdonkey, der freien Wissensdatenbank
| web_infos | |
| Speicherort: | Downloads.ini |
| Defaultwert: | web_infos = [ ("server.met", 0, "http://www.gruk.org/server.met.gz"); |
| Helptext in Downloads.ini: |
A list of lines to download on the WEB: each line has
the format: (kind, period, url), where kind is either
'server.met' for a server.met file (also in gz/bz2/zip format)
containing ed2k server, or
'comments.met' for a file of comments, or
'guarding.p2p' for a blocklist file (also in gz/bz2/zip format), or
'ocl' for file in the ocl format containing overnet peers, or
'contact.dat' for an contact.dat file containing overnet peers,
'nodes.gzip' for a fasttrack nodes.gzip,
and period is the period between updates (in hours),
a period of zero means the file is only loaded once on startup,
and url is the url of the file to download.
IMPORTANT: Put the URL and the kind between quotes.
EXAMPLE:
web_infos = [
("server.met", 0, "http://www.gruk.org/server.met.gz");
("hublist", 0, "http://dchublist.com/hublist.config.bz2");
("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz");
("ocl", 24, "http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl");
("contact.dat", 168, "http://download.overnet.org/contact.dat");
("geoip.dat", 168, "http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz");
]
|
| Beispiel: |
web_infos = [
("server.met", 0, "http://www.gruk.org/server.met.gz");
("hublist", 0, "http://dchublist.com/hublist.config.bz2");
("guarding.p2p", 96, "http://www.bluetack.co.uk/config/level1.gz");
("ocl", 24, "http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl");
("contact.dat", 168, "http://download.overnet.org/contact.dat");
("geoip.dat", 168, "http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz");
]
Wichtiger Hinweis: zum ändern der Option in der Downloads.ini muss der MLDonkey vorher beendet werden |
| Option setzen: | urladd guarding.p2p 24 http://www.meine.blockliste/guarding.p2p |
| Beschreibung: | Der MLDonkey verfügt mit den web_infos über einen Automatisierten Mechanismus mit dem man verschiedene Dateitypen in bestimmten Intervallen aus dem netz Aktualisieren kann. Dazu muss man nur einen entsprechenden Eintrag z.b. mit urladd in den web_infos machen, dieser muss folgende Informationen beinhalten: "Kind, Period, Url" Als Kind muss man den jeweiligen Dateityp eintragen (guarding.p2p, server.met, etc.), Period ist in Stunden anzugeben und gibt den Intervall an in den die jeweilige Url auf eine neue Dateiversion überprüft und ggf. geladen wird, und Url bedarf wohl keiner weiteren Erklärung ;) Die jeweiligen Dateien können auch in einem Archiv als gz/bz2 oder zip komprimiert sein. |
siehe auch
- vwi - Listet web_infos auf, im Webinterface auch hinzufügen/entfernen von Einträgen
- urladd - Eintrag in den web_infos hinzufügen
- urlremove - Entfernt einen Eintrag aus den web_infos
- force_web_infos - Einträge in web_infos unabhängig des Intervall's sofort laden
- update_server_list_server_met - Option ob die Server.met upgedated werden soll
