O.P. Plugin Idea: Web Services
Just had a good idea for a plugin. It would be great if you could add commands with urls of webservices. I'll explain:
1) User downloads webservices plugin
2) User adds a webservice
3) User types /servicename [parameter] e.g /cinema Cardiff
4) Plugin Recognises commands and loads the appropriate url (not visible to user)
5) Plugin puts text in message and sends to contact.
This would mean that people providing information on the internet could easily provide the information to messenger users without the need to develop an individual plugin.
Example:
Prior to the conversation, Richard has added www.script.com/cinema.php?name= with the command /cinema into the plugin settings
Dave says:
What's on at the cinema tonight?
Richard says:
I'll check
--Richard types /cinema Leicester Square
--Plugin visits script www.script.com/cinema.php?name=Leicester%20Square
Richard says:
Film Choices:
Team America: World Police (15)
Saturday 18.00, 19.00, 20.15.
Assault On Precinct 13 (15)
Saturday 17.45, 20.30, 21.00
Cheesy example but it would be quite cool, trouble is the only programming skills I have are in php, so wouldn't know where to begin coding a plugin!
|