Get lyrics for any song using XMPP and PHP right into your IM – Add [email protected]

Posted 18 CommentsPosted in XMPP
XMPP is soon finding it's way into real time applications other than just chat. I have combined JAXL (Jabber XMPP client library written in PHP) and the API from lyricsfly.com to build a real time chat bot which can assist you with lyrics for any song. You can start using it by simply adding [email protected] to your IM account (e.g. Gtalk, Jabber etc). In this blog post, I will explain in brief the working of lyricsfly bot and how you can integrate XMPP into your own application. Try out [email protected] Follow the following steps to get the bot working for...

How to broadcast a message to your Gtalk friends using JAXL?

Posted 14 CommentsPosted in XMPP
In this era of social media we all look forward to easy and utility tools to easily market our site and blogs. In this post I will demonstrate a ready to use script, which will help you broadcast your message to everyone on your gtalk friend list in one go. jaxl4broadcast.class.php jaxl4broadcast.class.php is an extension of JAXL library. This extension simply saves all your buddy list in an array while connecting with Gtalk servers, and then send out your custom message to all of them in one go. The code that will do the task: function setStatus() { $this->sendStatus($this->status); print...

How to get dzone feeds as IM using JAXL? Add [email protected]

Posted 9 CommentsPosted in XMPP
The most funny part of knowing XMPP protocol is that you can execute all your daily web needs using it. Be it playing anagram online or achieving your status messages. And your life gets easy if you are using an XMPP Client Library like JAXL. Here I have tried to create a simple bot which allows you to read newest links posted on dzone category wise. Simply add [email protected] in your gtalk messenger and start by typing options. Available options are: frontpage: Will send you latest links on frontpage. queue: Will send you latest links in queue. tag: Send in...

Introducing JAXL – Open Source Jabber XMPP Library

Posted 97 CommentsPosted in Open Source
Introduction JAXL stands for "Jabber XMPP Library". For fun, it stands for "Just Another XMPP Library" This library currently supports following features: Connect to a Jabber Server (e.g. Gtalk) TLS Encryption DIGEST-MD5 and PLAIN authentication mechanisms Roster Support Library comes with the following class files: config.ini.php : Holds your jabber account and mysql connection information mysql.class.php : Basic MySQL connection class used to insert received messages and presence into MySQL database logger.class.php : A very basic logger class which allows you to log all XML stanza's send and received from jabber server xmpp.class.php : Base XMPP class library which implements...

What happens before you finally viewed this page?

Posted 8 CommentsPosted in PHP
Since past 1 week or so I am trying to make a small tiny light weight web server of my own, and for the same I have been referring to dozens of papers, websites, people and what not. I still haven't finished making one, I am still toggling between Java and Python, since both seems to satisfy my needs and unfortunately I am master in none. While I was digging deep into the theory of how can I make a web server, I cleared many other concepts of mine, which finally leads to this post. "What happens before you finally...

[email protected] – Online gaming enabled on Gtalk

Posted 3 CommentsPosted in XMPP
Anagram, many of you might be familiar with it or even played many a times back in school and colleges. Its a simple text based game, where you are given a jumbled word and you need to re-arrange it. E.g. You will be given huldos and you need to quickly identify that as should. So getting bored back in college or office, add [email protected] and type anagram to start gaming. Play and score well. Your score will turn up on the Gtalkbots front page. They have kept this game open for the world i.e. one can play this game even...

Save your and your friend’s status messages. Share and promote your website through your status

Posted 1 CommentPosted in XMPP
Hello Everyone, http://gtalkbots.com Here is this new website which help you save your and your friends Gtalk status messages. It also provides a social bookmarking feature with a different edge. Are you fed up with posting your website and blogs at digg.com, delicious, stumble or any other such site there. If not, you must surely be fed up with the hard work you need to do to make sure your link reach out to millions out there. Well through this site, you just need to put your blog and site link as your gtalk status message and this site will ...

GTalk Status Message Collector

Posted 6 CommentsPosted in XMPP
Hello Everyone, I have started http://gtalkbots.com , based on the example demonstrated here. Try out and Help spreading the word. I am not a big fan of twitter, but after I heard they do something similar to what I will be demonstrating here. I thought of building this one out. So here is my demo application, also known as GTalk Chat Bot. Do the following things to get started: Add [email protected] in your GTalk Messenger. It will collect your status messages as and when you change them. You can view all your status messages by visiting this URL : http://abhinavsingh.com/webdemos/chatbot/...