Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBScript Parser system for MSN Messenger (MEWS)

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,26540
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> VBScript Parser system for MSN Messenger (MEWS)
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 VBScript Parser system for MSN Messenger (MEWS) - 9/29/2005 1:47:27 AM   
  Juzzi

 

Posts: 2
Score: 0
Joined: 9/29/2005
Status: offline
Hi there,

I'm not really sure what forum I had to post this in, so feel free to move it to a more appropiate one.
Anyway, I think this might be interesting to VBScripters and users of MSN Messenger (and Messenger Plus).


I created a plugin for Messenger Plus (a famous addon for MSN Messenger), called Messenger Web Services (MEWS).
This plugin can obtain all kinds of information from the internet and send it to your MSN buddies. For example, you can type '/xmews dictionary emoticon'. MEWS will then obtain the meaning of 'emoticon' from www.dictionary.com, and send the meaning to your contacts, as shown here:


What does this have to do with visual basic script?
The nice thing is, is this plugin uses so-called 'parsers', little .vbs files, each supplying a different webservice. The parser above is obviously called 'dictionary'.
Because of the MEWS API (application programming interface), it's very easy to write your own parsers. The dictionary parser just takes a few lines:

      

It looks up the right search url at dictionary.com. MEWS then sends a DOMDocument (XML) object to the 'parse(xml)' function. The parse function filters the right text from the document, (at dictionary.com, the explanation seems to be the 'table' node after the first 'h2' element.
That's all! I wrote an API tutorial at http://www.msgweb.nl/en/MSN_Projects/MEWS/Tutorial/ , there you can learn all about writing your own parsers. More information about the plugin is available here.
Remember it's a plugin for Messenger Plus, which can be found at http://www.msgplus.net

< Message edited by Juzzi -- 9/29/2005 1:48:31 AM >
 
 
Post #: 1
 
 RE: VBScript Parser system for MSN Messenger (MEWS) - 9/29/2005 3:55:25 AM   
  mbouchard


Posts: 1804
Score: 12
Joined: 5/15/2003
From: USA
Status: online
Very interesting.  I am not a Messenger user, so would not be able to use this, but the parse and run subs could be useful.  Do you by any chance have an example of using them in a stand alone script?

_____________________________

Mike

For useful Scripting links see the Read Me First stickey!

Always remember Search is your friend.

(in reply to Juzzi)
 
 
Post #: 2
 
 RE: VBScript Parser system for MSN Messenger (MEWS) - 9/30/2005 4:35:35 AM   
  Juzzi

 

Posts: 2
Score: 0
Joined: 9/29/2005
Status: offline
quote:

ORIGINAL: mbouchard

Very interesting.  I am not a Messenger user, so would not be able to use this, but the parse and run subs could be useful.  Do you by any chance have an example of using them in a stand alone script?

Unfortunately there's no stand alone version of MEWS available at this moment. I'm quite busy at the moment, but I might release a standalone version later on.

(in reply to mbouchard)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> VBScript Parser system for MSN Messenger (MEWS) Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts