678 |
ourself. Don't set this option to true if you have dynamic IP." |
ourself. Don't set this option to true if you have dynamic IP." |
679 |
bool_option false |
bool_option false |
680 |
|
|
681 |
let web_infos = define_option current_section |
let web_infos = define_option current_section ["web_infos"] |
682 |
["web_infos"] "A list of lines to download on the WEB: each line has |
"A list of lines to download on the WEB: each line has |
683 |
the format: (kind, period, url), where kind is either |
the format: (kind, period, url), where kind is either |
684 |
'server.met' for a server.met file containing ed2k server, or |
'server.met' for a server.met file (also in gz/bz2/zip format) |
685 |
|
containing ed2k server, or |
686 |
'comments.met' for a file of comments, or |
'comments.met' for a file of comments, or |
687 |
'guarding.p2p' for a blocklist file (also in gz/bz2/zip format), or |
'guarding.p2p' for a blocklist file (also in gz/bz2/zip format), or |
688 |
'ocl' for file in the ocl format containing overnet peers, or |
'ocl' for file in the ocl format containing overnet peers, or |
689 |
'contact.dat' for an contact.dat file containing overnet peers, |
'contact.dat' for an contact.dat file containing overnet peers, |
690 |
and period is the period between updates (in hours), |
and period is the period between updates (in hours), |
691 |
|
a period of zero means the file is only loaded once on startup, |
692 |
and url is the url of the file to download. |
and url is the url of the file to download. |
693 |
IMPORTANT: Put the URL and the kind between quotes. |
IMPORTANT: Put the URL and the kind between quotes. |
694 |
EXAMPLE: |
EXAMPLE: |
704 |
[ |
[ |
705 |
("guarding.p2p", 96, |
("guarding.p2p", 96, |
706 |
"http://www.bluetack.co.uk/config/antip2p.txt"); |
"http://www.bluetack.co.uk/config/antip2p.txt"); |
707 |
("server.met", 24, |
("server.met", 0, |
708 |
"http://ocbmaurice.dyndns.org/pl/slist.pl/server.met?download/server-best.met"); |
"http://www.gruk.org/server.met.gz"); |
709 |
("contact.dat", 168, |
("contact.dat", 168, |
710 |
"http://download.overnet.org/contact.dat"); |
"http://download.overnet.org/contact.dat"); |
711 |
] |
] |
1294 |
|
|
1295 |
let options_version = define_expert_option current_section ["options_version"] |
let options_version = define_expert_option current_section ["options_version"] |
1296 |
"(internal option)" |
"(internal option)" |
1297 |
int_option 4 |
int_option 5 |
1298 |
|
|
1299 |
|
|
1300 |
(*************************************************************************) |
(*************************************************************************) |
1714 |
]; |
]; |
1715 |
update 4 |
update 4 |
1716 |
|
|
1717 |
|
| 4 -> |
1718 |
|
web_infos_remove |
1719 |
|
[ |
1720 |
|
("server.met", 24, |
1721 |
|
"http://ocbmaurice.dyndns.org/pl/slist.pl/server.met?download/server-best.met"); |
1722 |
|
]; |
1723 |
|
web_infos =:= !!web_infos @ [ |
1724 |
|
("server.met", 0, |
1725 |
|
"http://www.gruk.org/server.met.gz"); |
1726 |
|
]; |
1727 |
|
update 5 |
1728 |
|
|
1729 |
| _ -> () |
| _ -> () |