IM Away Message auto post to PHP website...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    #1

    IM Away Message auto post to PHP website...

    This does a little beyond PHP, but I'm looking for a script to use on
    a php website that will grab my current away message from either AIM,
    IRC, ICQ, Jabber, Yahoo, or MSN; as I use trillian pro I'm on all of
    these services constantly, I'm not sure they all have built in away
    message support but AIM and IRC definetly do. Anyway, set the php
    task either as a cron job and write the message to file, or if it's
    fast enough to run when the site is accessed. I'm just wondering if
    anyone has any implementation ideas...

    John
  • Michael Vilain

    #2
    Re: IM Away Message auto post to PHP website...

    In article <1886ac96.04091 82043.743b04ac@ posting.google. com>,
    nobodyuknow@pos t.com (John) wrote:
    [color=blue]
    > This does a little beyond PHP, but I'm looking for a script to use on
    > a php website that will grab my current away message from either AIM,
    > IRC, ICQ, Jabber, Yahoo, or MSN; as I use trillian pro I'm on all of
    > these services constantly, I'm not sure they all have built in away
    > message support but AIM and IRC definetly do. Anyway, set the php
    > task either as a cron job and write the message to file, or if it's
    > fast enough to run when the site is accessed. I'm just wondering if
    > anyone has any implementation ideas...[/color]

    First off, do you know how to contact all these services to find out
    what your current status is? Is there a published API that will allow
    you to do a network connect through a socket to find this information
    out. php's strength is doing dynamic web pages. Why do you think it's
    the right tool to this task?

    Unless you have a php interpeter for the command line, you'll only be
    able to use it through the web server. You'll probably be better off
    with perl as there are _lots_ of CPAN modules already available to do
    all sorts of things. Maybe someone's already written this code for you.

    --
    DeeDee, don't press that button! DeeDee! NO! Dee...



    Comment

    • Tim Van Wassenhove

      #3
      Re: IM Away Message auto post to PHP website...

      In article <1886ac96.04091 82043.743b04ac@ posting.google. com>, John wrote:[color=blue]
      > This does a little beyond PHP, but I'm looking for a script to use on
      > a php website that will grab my current away message from either AIM,
      > IRC, ICQ, Jabber, Yahoo, or MSN; as I use trillian pro I'm on all of
      > these services constantly, I'm not sure they all have built in away
      > message support but AIM and IRC definetly do. Anyway, set the php
      > task either as a cron job and write the message to file, or if it's
      > fast enough to run when the site is accessed. I'm just wondering if
      > anyone has any implementation ideas...[/color]

      Just write a trillian plugin that stores all the messages in a database.
      And then let your php script just access that database.

      Both parts are quite easy to implement.

      --
      Tim Van Wassenhove <http://www.timvw.info>

      Comment

      • Manuel Lemos

        #4
        Re: IM Away Message auto post to PHP website...

        Hello,

        On 09/19/2004 01:43 AM, John wrote:[color=blue]
        > This does a little beyond PHP, but I'm looking for a script to use on
        > a php website that will grab my current away message from either AIM,
        > IRC, ICQ, Jabber, Yahoo, or MSN; as I use trillian pro I'm on all of
        > these services constantly, I'm not sure they all have built in away
        > message support but AIM and IRC definetly do. Anyway, set the php
        > task either as a cron job and write the message to file, or if it's
        > fast enough to run when the site is accessed. I'm just wondering if
        > anyone has any implementation ideas...[/color]

        There are a few IM interface classes here that may do what you are
        looking for:

        http://www.phpclasses.org/browse/class/66.html

        --

        Regards,
        Manuel Lemos

        PHP Classes - Free ready to use OOP components written in PHP
        http://www.phpclasses.org/

        PHP Reviews - Reviews of PHP books and other products
        http://www.phpclasses.org/reviews/

        Metastorage - Data object relational mapping layer generator

        Comment

        Working...