Use wildfire and LINQ to integrate QQ, MSN, and Gtalk on a client.

Source: Internet
Author: User
Tags gmail password

Through wildfire and LINQ, Gtalk, MSN, and QQ can be combined in one client. The following are my operation steps:
You can also see:Http://lizongbo.googlepages.com/wildfire_linq 

Download this document in Word format (with a complete screenshot ):Http://lizongbo.googlepages.com/wildfire_linq.zip

The required software is:

A. JDK 1.5.0 _ 09
(Source:Http://java.sun.com/javase/downloads/index.jsp)
B. XMPP (jabber) server: Wildfire
(:
 Http://www.jivesoftware.org/downloadServlet? Filename = wildfire/wildfire_3_00001.zip
Address Source:Http://www.jivesoftware.org/downloads.jsp#wildfire)
C. Wildfire multi-protocol supported plug-ins
(:Http://www.jivesoftware.org/wildfire/plugins-beta/gateway.jar
Address Source:Http://www.jivesoftware.org/wildfire/plugins-beta.jsp)
D. XMPP (jabber) Client: LINQ
(:Http://jaist.dl.sourceforge.net/sourceforge/linq/LinQ-4.1.7-setup.exe
Address Source:Http://linq.sourceforge.net/)
E. Wildfire enhanced package:
(
Lumaqq's Java library can be used to support QQ:
 Http://lizongbo.googlepages.com/LumaQQLib.jar
Smack. With this function, you can directly use gatlk for only one time by logging on to LINQ:
 Http://lizongbo.googlepages.com/smack.jar
Http://lizongbo.googlepages.com/smackx.jar
Http://lizongbo.googlepages.com/smackx-debug.jar
(You can also download from the official address:
Http://www.jivesoftware.org/downloadServlet? Filename = smack/smack_2_1.zip
Source:Http://www.jivesoftware.org/downloads.jsp)
The most important thing is the gateway enhancement after I modified. I can use QQ and Gtalk only after I replaced it .:
Http://lizongbo.googlepages.com/plugin-gateway.jarIf the download fails. That's because I haven't uploaded it yet)

Installation steps:

A. Install JDK first:
Run jdk-rj5_0_09-windows-i586-p.exe and install it to the D:/Java directory. After installation, the directory is:
D:/Java/jdk1.5.0 _ 09
B. Set the java_home environment variable and add % java_home %/bin TO THE PATH environment variable,
 
Set Host Name
Use NotePad to open the hosts file (for example, C:/Windows/system32/Drivers/etc/hosts)
Add the XMPP service domain name (for example, lizongbo. Im) and the second-level domain name to be used, and then save the file
 
Install wildfire.
Decompress wildfire_3_1_1.zip to D:/XMPP. After decompression, the directory is D:/XMPP/Wildfire.
Copy gateway. jar to D:/XMPP/Wildfire/plugins /.
Configure wildfire:
Run: D:/XMPP/Wildfire/bin/wildfired.exe first.
After the command line window is started, the following content is displayed:
.........
Wildfire 3.1.1 [Nov 27,200 6 11:51:13 am]
Admin Console listening:
Http: // 127.0.0.1: 9090
Https: // MAID: 9091
Now start parameter settings:
1. Open it in a browserHttp: // 127.0.0.1: 9090

2. Select the language type: Select Chinese, and then continue.
 
3. Modify the domain to the lizongbo. Im configured in the hosts, and then continue
 
4. Because external databases can be used, select the embedded database and continue.
 
5. Select the default value for initial settings and continue.
 
6. Set the Administrator email address and account password, and then proceed.
 
7. Now that the installation is complete, log on to the console.

8. At the login location, the username is admin and the password is the password just set.
9. After logging on to the homepage, click "Settings" under "always ways" in the lower-left corner of the page ",
That isHttp: // localhost: 9090/plugins/gateway/gateway-settings.jsp
 
10. Hook up all protocol conversions ., Log out.
 
11. Close the command line window of wildfire.

C. Start to add QQ and Gtalk support.
1. Run the lumaqqlib. jar, smack. jar, smackx. jar, smackx-debug.jar,
Copy to D:/XMPP/Wildfire/plugins/gateway/lib and then change the modified plugin-gateway.jar
Copy to D:/XMPP/Wildfire/plugins/gateway/lib to replace the original plugin-gateway.jar.
2. Open D:/XMPP/Wildfire/plugins/gateway/i18n/gateway_i18n.properties in a text editor,
Add the following text at the end:

# QQ transport
Gateway. QQ. Alibaba service = QQ
Gateway. QQ. Service = QQ im
Gateway. QQ. Name = QQ Trans
Gateway. QQ. Username = QQ number
Gateway. QQ. Password = QQ Password
Gateway. QQ. Registration = Please enter your QQ number and password.

# Gatalk transport
Gateway. Gtalk. Container service = Gtalk
Gateway. Gtalk. Service = Google Talk
Gateway. Gtalk. Name = Gtalk Trans
Gateway. Gtalk. Username = Gmail address
Gateway. Gtalk. Password = Password
Gateway. Gtalk. Registration = Please enter your Gmail address and password.
Then save gateway_i18n.properties.

Save gateway_i18n.properties as a new file: gateway_i18n_zh_cn.properties,
That is, gateway_i18n.properties and gateway_i18n_zh_cn.properties exist simultaneously.
3. Run D:/XMPP/Wildfire/bin/wildfired.exe again. At this time, Wildfire not only supports aim, ICQ, ICQ, MSN, Yahoo! The protocol conversion of messenger and IRC also supports QQ and Gtalk.

Configure LINQ
1. Run linq-4.1.7-setup.exe for installation.
2. After the installation is complete, run LINQ and select "account settings" on the main panel of LINQ ". On the network connection panel set for the account, Hook "Use the specified server address" and enter 127.0.0.1 as the server address.
 
3. click "register new account" in the lower-right corner of the main panel of LINQ, and enter lizongbo in the server field. im is the previously configured domain. Enter test as the user name and password, and click "register". (If the user name and password do not respond after half a day of registration, perform the second step and reset the IP address, save the settings .)
 

4. After successful registration, use test @ lizongbo. Im to log on. (Login Failed. Please register an account again)
5. After logging on, click "Wildfire server" to expand the list of available services. Here you can see QQ and Gtalk,
 
Configure the QQ account:
1. Right-click "QQ. lizongbo. Im", select register on the service, and click "Next"
 
2. Due to some problems with server configuration, the title of the registration box may not be displayed. Enter the QQ number in the first text box above, enter the QQ password in the text box below, and click Next.
 
 
3. Click "complete" after the registration is successful ".
 
4. Send messages and chat to friends on QQ
;
;

Configure the Gtalk account:
5. Right-click "Gtalk. lizongbo. Im", select "register on service", and click "Next"
 
6. The title of the registration box is not displayed because of some problems with server configuration. Fill in the Gmail mailbox in the first text box above, enter the Gmail password in the text box below, and then click Next.
 
 
7. Click "complete" after the registration is successful ".
8. log on to another gatlk account and send a message to the Gtalk account that just logged on through LINQ.

;
Configure an MSN account:

9. Right-click "MSN. lizongbo. Im", select register on the service, and click "Next"
10. The title of the registration box is not displayed because of some problems with server configuration. Fill in the MSN account in the first text box above, fill in the MSN password in the text box below, and then click Next.
11. Click "complete" after the registration is successful ".
12. Send a message to an online colleague. After testing, the message has been successfully sent.
 
 
;

Thanks:
1.Http://www.jivesoftware.org/Thanks to jive for providing such excellent XMPP server and client library files.
2.Http://www.google.com/talk/intl/zh-CN/Thanks to Gtalk for its support for the XMPP protocol.
3.Http://linq.sourceforge.net/Excellent XMPP client.
4.Http://lumaqq.linuxsir.org/main/Excellent pure Java QQ client.
5. http://hi.baidu.com/jabber a good blog about XMPP.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.