Dec 27 2009

Mini Bots PHP Class

admin @ 11:49 pm

HISTORY:
ver.1.5, modified twitterInfo, fixed private functions, addedd facebook status method.
ver.1.4, added twitterInfo, wepage2txt and url2pdf methods.
ver.1.3, added url_exists and getUrlInfo methods.

This php class it’s a growing collection of small spiders that go out on the web and make some small usefull work. I’ve decided to raise it to the top level menu beacuse I think it’s a nice project, and I will explain the functions in the blog. Actually the mini bots can do those things:

Version 1.5 includes:

  1. search Google and get the spelling suggest
  2. search Google and retrieve the meteo information for a place
  3. search Bank Of Italy service to get exchange rates for a specified currency
  4. search GeoIpTool to retrieve geographical information from a specified IP address
  5. contact any mail server to validate email address through smtp protocol
  6. call tinyurl.com to get a tiny url of a specified long url
  7. decode any small url to the original long url
  8. url checker to see if a url exists
  9. get url infos to get data about a page (title, description, favicon, images)
  10. retrieves all the text from a url
  11. convert a url to a pdf and save it to a local file
  12. get some stats data from a twitter user NEW v.1.5
  13. change facebook status NEW v.1.5

Here is a demo and here there is another page of demos.

Here is the source v.1.5.
Here is another demo that mixes two mini bots to make localized meteo service.

  • Share/Bookmark

6 Responses to “Mini Bots PHP Class”

  1. seeal says:

    love this class thx :D

  2. Matteo says:

    Great class , thanks :)

  3. Greg Avola says:

    Great work dude – way to go.

  4. uberVU - social comments says:

    Social comments and analytics for this post…

    This post was mentioned on Twitter by deliciobot: #DelicioBot : Mini Bots PHP Class http://bit.ly/5sfw5Q…

  5. holyguard says:

    Utilissimo!!!

    Puoi usare l’exchange rate di Google invece di quello della banca d’Italia, che te ne pare?

  6. Tod Wedge says:

    Just landed on this place via Google seek. I love it. This post change my percept and I am taking the RSS feeds. Cheers Up.

Leave a Reply