[crossfire] chat-embeddable in webpage

Andrew Fuchs fuchs.andy at gmail.com
Thu Oct 20 18:31:23 CDT 2005


On 10/20/05, Lord Youkai <
     lordyoukai at gmail.com
     > wrote:
>
      I've been wondering if there was a way to embed a read-only view of chat
     >
      into a server's webpage.
     >
      For example,
     >
      DeviantArt has a readonly view of the shoutbox in a sidebar, when your not
     >
      logged in.
     >
      It updates only when you refresh (unless your in the shoutbox itself) the
     >
      page.
     >
      Perhaps a neat feature to add along with inter-server chat could be an
     >
      ability to embed a view of the current
     >
      chats on a server.
     >
      Server -> web page communication has been done, as Mikee has proved with his
     >
      "Most richest players list"..
     >
      Just wondering.
     
Not quite.  Those are static pages from scripts, that prases the
player, and unique-map data.
There is one script in the server distribution, that generates a page,
showing player's scores.

To implement this, you would need to store recent chats somewhere. 
Most likely this would be in a file.

Ultimately, implementing this seems kind of hackish, but may be
posible to use scripts for the python plugin, that can be installed on
a per-server basis.

--
Andrew Fuchs

    


More information about the crossfire mailing list