Différences entre les versions de « Les listes de Proxy de Maxthon v2.0 »

De Wiki Francophone de Maxthon
Aller à la navigation Aller à la recherche
Ligne 13 : Ligne 13 :
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">
<m2proxy version="1.0">
  <proxylist provider="http://www.proxylist.com">
  <proxylist provider="http://www.proxylist.com">
    <proxy name="Untitled Proxy " address="128.111.52.62:3128"/>
    <proxy name="Untitled Proxy " address="128.111.52.62:3128"/>
    <proxy name="Local" address="127.0.0.1:8080" type="1"/>
    <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"/>
    <proxy name="Authentication Required" address="123.33.2.21:998" type="3" user="test1" password="1234"/>
  </proxylist>
  </proxylist>
</m2proxy>
</m2proxy>


   
   
Ligne 27 : Ligne 27 :


Properties:
Properties:
version="1.0" Version number of Proxy Provider File Format. Must be 1.0 at present.   
version="1.0" Version number of Proxy Provider File Format. Must be 1.0 at present.   


   
   
Ligne 35 : Ligne 35 :


Properties:
Properties:
provider="http://www.proxylist.com" The URL to the Website of Proxy Provider who mantains this Proxy List (Optional)  
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.   
If present, Maxthon Browser will open this URL automatically when update Proxy List.   


Ligne 43 : Ligne 43 :


Properties:
Properties:
name="My Proxy" The Title used to describe the Proxy Item.   
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.   
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)  
type="2" The Type of the Proxy Item (Optional)  
0 - HTTP
0 - HTTP
1 - Socks4a
1 - Socks4a
Ligne 51 : Ligne 51 :
3 - HTTPS
3 - HTTPS
If not specified, default is 0 (HTTP).   
If not specified, default is 0 (HTTP).   
user="usr"
user="usr"
password="pwdhere" Username and Password for authentication (Optional)
password="pwdhere" Username and Password for authentication (Optional)

Version du 15 août 2006 à 12:25

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) 

0 - HTTP 1 - Socks4a 2 - Socks5 3 - HTTPS If not specified, default is 0 (HTTP).

user="usr"
password="pwdhere" Username and Password for authentication (Optional)