Différences entre les versions de « Les listes de Proxy de Maxthon v2.0 »
Aller à la navigation
Aller à la recherche
Ligne 1 : | Ligne 1 : | ||
Version: 2.0.0 | Version: 2.0.0 | ||
Last Modified: 2006-07-24 5:10 PM | Last Modified: 2006-07-24 5:10 PM | ||
==Overview== | ==Overview== | ||
Maxthon Browser's new Proxy Auto-Update Feature is designed to bring a better user experience for users that require a proxy connection to browse internet. | Maxthon Browser's new Proxy Auto-Update Feature is designed to bring a better user experience for users that require a proxy connection to browse internet. | ||
Proxy Provider File is used to update user's proxy list. This file is based on XML file format. | Proxy Provider File is used to update user's proxy list. This file is based on XML file format. | ||
Note: | Note: Please save the XML file in Unicode(UTF-8) encoding. | ||
==Proxy Provider File Structure == | ==Proxy Provider File Structure== | ||
Below is a short example of what the file should looks like: | Below is a short example of what the file should looks like: | ||
<m2proxy version="1.0"> | <<span style="color: #000066;font-weight: bold;">m2proxy</span> <span style="color: #990000;">version</span><nowiki>=</nowiki><span style="color: #0000FF;">"1.0"</span>> | ||
<<span style="color: #000066;font-weight: bold;">proxylist</span> <span style="color: #990000;">provider</span><nowiki>=</nowiki><span style="color: #0000FF;">"http://www.proxylist.com"</span>> | |||
<<span style="color: #000066;font-weight: bold;">proxy</span> <span style="color: #990000;">name</span><nowiki>=</nowiki><span style="color: #0000FF;">"Untitled Proxy "</span> <span style="color: #990000;">address</span><nowiki>=</nowiki><span style="color: #0000FF;">"128.111.52.62:3128"</span>/> | |||
<<span style="color: #000066;font-weight: bold;">proxy</span> <span style="color: #990000;">name</span><nowiki>=</nowiki><span style="color: #0000FF;">"Local"</span> <span style="color: #990000;">address</span><nowiki>=</nowiki><span style="color: #0000FF;">"127.0.0.1:8080"</span> <span style="color: #990000;">type</span><nowiki>=</nowiki><span style="color: #0000FF;">"1"</span>/> | |||
<<span style="color: #000066;font-weight: bold;">proxy</span> <span style="color: #990000;">name</span><nowiki>=</nowiki><span style="color: #0000FF;">"Authentication Required"</span> <span style="color: #990000;">address</span><nowiki>=</nowiki><span style="color: #0000FF;">"123.33.2.21:998"</span> <span style="color: #990000;">type</span><nowiki>=</nowiki><span style="color: #0000FF;">"3"</span> <span style="color: #990000;">user</span><nowiki>=</nowiki><span style="color: #0000FF;">"test1"</span> <span style="color: #990000;">password</span><nowiki>=</nowiki><span style="color: #0000FF;">"1234"</span>/> | |||
</<span style="color: #000066;font-weight: bold;">proxylist</span>> | |||
</m2proxy> | </<span style="color: #000066;font-weight: bold;">m2proxy</span>> | ||
===<m2proxy>=== | ====<m2proxy>==== | ||
This is the root element of a Proxy Provider File. It's must be provided in the XML to make Maxthon Browser recognize the file format. | This is the root element of a Proxy Provider File. It's must be provided in the XML to make Maxthon Browser recognize the file format. | ||
Properties: | =====Properties:===== | ||
{| class="wikitable" border="1" cellspacing="0" cellpadding="5" | {| class="wikitable" border="1" cellspacing="0" cellpadding="5" | ||
| <span style="color: #000066;font-weight: bold;">version</span><nowiki>=</nowiki><span style="color: #0000FF;">"1.0"</span> | |||
| Version number of Proxy Provider File Format. Must be 1.0 at present. | |||
|} | |} | ||
===<proxylist>=== | ====<proxylist>==== | ||
Child node of <m2proxy>, can not nested. A <m2proxy> can contain more than one <proxylist>. | Child node of <<span style="color: #000066;font-weight: bold;">m2proxy</span>>, can not nested. A <<span style="color: #000066;font-weight: bold;">m2proxy</span>> can contain more than one <<span style="color: #000066;font-weight: bold;">proxylist</span>>. | ||
Properties: | =====Properties:===== | ||
{| class="wikitable" border="1" cellspacing="0" cellpadding="5" | {| class="wikitable" border="1" cellspacing="0" cellpadding="5" | ||
| <span style="color: #000066;font-weight: bold;">provider</span><nowiki>=</nowiki><span style="color: #0000FF;">"http://www.proxylist.com"</span> | |||
| The URL to the Website of Proxy Provider who mantains this Proxy List <span style="color:#996600;">(Optional) <br /></span>If present, Maxthon Browser will open this URL automatically when update Proxy List. | |||
If present, Maxthon Browser will open this URL automatically when update Proxy List. | |||
|} | |} | ||
===<proxy>=== | ====<proxy>==== | ||
Child node of <proxylist>. Define a Proxy Item in Porxy List. | Child node of <<span style="color: #000066;font-weight: bold;">proxylist</span>>. Define a Proxy Item in Porxy List. | ||
Properties: | =====Properties:===== | ||
{| class="wikitable" border="1" cellspacing="0" cellpadding="5" | {| class="wikitable" border="1" cellspacing="0" cellpadding="5" | ||
| <span style="color: #000066;font-weight: bold;">name</span><nowiki>=</nowiki><span style="color: #0000FF;">"My Proxy"</span> | |||
| The Title used to describe the Proxy Item. | |||
|- | |||
| <span style="color: #000066;font-weight: bold;">address</span><nowiki>=</nowiki><span style="color: #0000FF;">"127.0.0.1:8080"</span> | |||
| The Address of Proxy, with port number. If port is not specified, port 80 will be used. | |||
|- | |||
| <span style="color: #000066;font-weight: bold;">type</span><nowiki>=</nowiki><span style="color: #0000FF;">"2"</span> | |||
1 - Socks4a | | The Type of the Proxy Item <span style="color:#996600;">(Optional) <br /></span> - HTTP<br /><span style="color: #990000;">1</span> - Socks4a<br /><span style="color: #990000;">2</span> - Socks5<br /><span style="color: #990000;">3</span> - HTTPS<br /> If not specified, default is (HTTP). | ||
2 - Socks5 | |- | ||
3 - HTTPS | | <span style="color: #000066;font-weight: bold;">user</span><nowiki>=</nowiki><span style="color: #0000FF;">"usr"</span><br /><span style="color: #000066;font-weight: bold;">password</span><nowiki>=</nowiki><span style="color: #0000FF;">"pwdhere"</span> | ||
If not specified, default is | | Username and Password for authentication <span style="color:#996600;">(Optional) </span> | ||
|} | |} |
Version du 16 août 2006 à 16:31
Version: 2.0.0 Last Modified: 2006-07-24 5:10 PM
Overview
Maxthon Browser's new Proxy Auto-Update Feature is designed to bring a better user experience for users that require a proxy connection to browse internet.
Proxy Provider File is used to update user's proxy list. This file is based on XML file format.
Note: Please save the XML file in Unicode(UTF-8) encoding.
Proxy Provider File Structure
Below is a short example of what the file should looks like:
<m2proxy version="1.0"> <proxylist provider="http://www.proxylist.com"> <proxy name="Untitled Proxy " address="128.111.52.62:3128"/> <proxy name="Local" address="127.0.0.1:8080" type="1"/> <proxy name="Authentication Required" address="123.33.2.21:998" type="3" user="test1" password="1234"/> </proxylist> </m2proxy>
<m2proxy>
This is the root element of a Proxy Provider File. It's must be provided in the XML to make Maxthon Browser recognize the file format.
Properties:
version="1.0" | Version number of Proxy Provider File Format. Must be 1.0 at present. |
<proxylist>
Child node of <m2proxy>, can not nested. A <m2proxy> can contain more than one <proxylist>.
Properties:
provider="http://www.proxylist.com" | The URL to the Website of Proxy Provider who mantains this Proxy List (Optional) If present, Maxthon Browser will open this URL automatically when update Proxy List. |
<proxy>
Child node of <proxylist>. Define a Proxy Item in Porxy List.
Properties:
name="My Proxy" | The Title used to describe the Proxy Item. |
address="127.0.0.1:8080" | The Address of Proxy, with port number. If port is not specified, port 80 will be used. |
type="2" | The Type of the Proxy Item (Optional) - HTTP 1 - Socks4a 2 - Socks5 3 - HTTPS If not specified, default is (HTTP). |
user="usr" password="pwdhere" |
Username and Password for authentication (Optional) |