L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 07, 2008, 10:41:35 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: Who's Online RSS Feed
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Who's Online RSS Feed  (Read 1134 times)
0 Members and 1 Guest are viewing this topic.
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 391



Who's Online RSS Feed
« on: July 17, 2006, 06:17:11 PM »

Download: OnlineRSS_v0.6.3.zip

This module writes an RSS v2.0 file with information on who is online in your guild and/or guest channel. I wrote it mostly for fun, but it should integrate well with any Content Mangment System that supports RSS feeds. (See http://andy.zibnet.us and look for the Campalot OnlineRSS block for an example). This module is for BeBot 0.2.X releases, it has not been developed for or tested on the 0.3.X code base.

Sample Output File: http://zibby.isa-geek.net/bebot/OnlineRSS/campalot.xml

The output file can be written to the local hard drive or uploaded to a remote server via FTP.

After installing the module, you will have to configure it before it will work. All configuration is done in game. 

Also, I have only tested this on Linux, but it should work on Windows.


The included helpfile fully documents all the commands and the setup. /tell botname !help !onlinerss for configuration instructions.

Have fun and good luck.
« Last Edit: July 20, 2006, 11:36:39 AM by Glarawyn » Logged
joey12344
Guest
Re: Who's Online RSS Feed
« Reply #1 on: July 18, 2006, 02:05:56 PM »

Fantastic Cheesy
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 391



Re: Who's Online RSS Feed
« Reply #2 on: July 19, 2006, 07:21:55 PM »

Updated to v0.6.0.

  • FTP Upload now works!
  • Lots of error checking has been added to the configuration.
  • The module should have proper feedback for all commands.
  • Fixed players being added to the output file when the !is command is used.
  • Cleaned up the settings display window.
  • Added more error checking in the file output functions

Logged
Sammajos
Freshman
*
Offline Offline

Posts: 9


Re: Who's Online RSS Feed
« Reply #3 on: July 19, 2006, 10:53:06 PM »

Nice.

r i have some Errors.

To [xxxx]: onlinerss set filename D:\mywebs\mybot\online.xml
[xxxx]: Output file must have a rdf, rss, txt, or xml extension.


To [xxxx]: onlinerss set method file
[xxxx]: Only FILE and FTP methods are supported.
To [xxxx]: onlinerss set method ftp
[xxxx]: Only FILE and FTP methods are supported.


Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 391



Re: Who's Online RSS Feed
« Reply #4 on: July 20, 2006, 01:02:09 AM »

Whoops, fixed and updated. Pretty sure I tested every option this time around.
Logged
joey12344
Guest
Re: Who's Online RSS Feed
« Reply #5 on: July 20, 2006, 09:14:35 AM »

Oh by the way glarawyn , I built a module for my CMS and implemented that feed , Now it shows it on my guilds site Smiley

Now only if somone can build a tell system on a website.....
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 391



Re: Who's Online RSS Feed
« Reply #6 on: July 20, 2006, 11:37:36 AM »

Blah, I'm talanted. I was trying to write files when the file couldn't be opened and spitting out errors when the file could be written. Wink

Anyway, fixed and updated.
Logged
Stelai
Freshman
*
Offline Offline

Gender: Male
Posts: 7


Re: Who's Online RSS Feed
« Reply #7 on: July 21, 2006, 03:52:42 AM »

Quote from: joey12344 on July 20, 2006, 09:14:35 AM
Oh by the way glarawyn , I built a module for my CMS and implemented that feed , Now it shows it on my guilds site Smiley

Now only if somone can build a tell system on a website.....

For telling (or pgroup/gc message) from a website you can still build a small piece of page for your website that inserts records in the auto_msg table, if you use the AutoMsg plugin, that is Smiley

Oh and btw first post \o/
BeBot owns Smiley
Logged
joey12344
Guest
Re: Who's Online RSS Feed
« Reply #8 on: July 21, 2006, 09:19:16 AM »

Good idea ... Il think about/look into that
Logged
Evereane
Freshman
*
Offline Offline

Posts: 9


Re: Who's Online RSS Feed
« Reply #9 on: August 10, 2006, 11:41:34 AM »

Found a slight error with the output..

About line 295-300
Code:
            // Online member items.
            $rss .= $this -> player_rss_items($this -> pgroup_online, TRUE);
        }
        $rss .= '</channel>';
        $rss .= $newline;


should read...
Code:
            // Online member items.
            $rss .= $this -> player_rss_items($this -> pgroup_online, TRUE);
            $rss .= '</channel>';
        }
        $rss .= $newline;

Else you will get an error when you turn PGroup off because it prints </channel> twice.  Grin Smiley
« Last Edit: August 10, 2006, 11:48:12 AM by Evereane » Logged
williamohms
Freshman
*
Offline Offline

Posts: 4


Re: Who's Online RSS Feed
« Reply #10 on: August 09, 2007, 09:27:15 PM »

I know this topic is old and all, I recently moved away from SMF and Tiny Portal which did a wonderful job doing the XML view and display however I'm attempting to write an area on my site to support this module.  I saw Glarawyn's site however my brain can't wrap around how he did it.

Does anyone have suggestions on how to do this?
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 702



WWW
Re: Who's Online RSS Feed
« Reply #11 on: August 09, 2007, 10:36:33 PM »

lol EXACTLY 1 Year to the day after last post :p
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 391



Re: Who's Online RSS Feed
« Reply #12 on: August 09, 2007, 10:41:40 PM »

Quote from: williamohms on August 09, 2007, 09:27:15 PM
Does anyone have suggestions on how to do this?

The XML feed has all you uneed. You just have to parse the XML, or use software that understands the RSS standard.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: Who's Online RSS Feed
« previous next »
 
Jump to:  

Recent
Help with online info in ...
by Barlyman
[Today at 07:56:24 PM]

BeBot v0.5.3 released (de...
by Temar
[Today at 07:51:18 PM]

Security
by Alreadythere
[September 06, 2008, 10:02:42 AM]

Probs with relay from gue...
by Temar
[September 06, 2008, 09:03:06 AM]

Raid spam in guild chat
by Temar
[September 06, 2008, 09:01:18 AM]

Org Relaying
by Nytridr
[September 06, 2008, 01:34:35 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]

How to find the guild ID?...
by Irinir
[September 03, 2008, 02:58:54 PM]
Stats
Members
Total Members: 965
Latest: morisey
Stats
Total Posts: 10414
Total Topics: 1413
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 5
Guests: 23
Total: 28
egrath
paranoiak
Zeephonz
Barlyman
Temar

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 2.543 seconds with 29 queries. (Pretty URLs adds 0.038s, 4q)
Loading...