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?
November 22, 2008, 12:33: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] 2   Go Down
« previous next »
Print
Author Topic: Who's Online RSS Feed  (Read 1358 times)
0 Members and 1 Guest are viewing this topic.
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



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: 414



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: 414



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: 414



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: 841



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: 414



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
Barbapappan
Freshman
*
Offline Offline

Posts: 3


Re: Who's Online RSS Feed
« Reply #13 on: November 07, 2008, 05:52:40 PM »

hi! sorry to dig up this oldie but im trying to make this work on v0.5.4 and learning as I go. First when I put the module in the \custom\modules folder I got an error when I startet Bebot that it couldnt write to the database. I edited the onlinerss.php to write to botname_settings instead of settings since it looked like there's been some changes in table names. Now i get no errors and default settings is written as it should. But i cant use the onlinerss commands. Bebot doenst recognize it as a valid command.

any ideas? or is this module so old its a lost cause =)
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



Re: Who's Online RSS Feed
« Reply #14 on: November 07, 2008, 06:00:43 PM »

Quote from: Barbapappan on November 07, 2008, 05:52:40 PM
or is this module so old its a lost cause =)

That about sums it up. Buddy tracking, settings, security, etc. have all been redone since 0.2. Modules for 0.2 would need some code heavy updating to work in 0.5.
Logged
Pages: [1] 2   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
Change text in remember "...
by gerborg
[November 21, 2008, 05:14:57 PM]

Log playtime from buddys ...
by Temar
[November 20, 2008, 10:33:57 AM]

Vote Core module and Simp...
by Temar
[November 19, 2008, 09:26:52 AM]

Restrict access for one m...
by Organizer
[November 19, 2008, 03:21:19 AM]

Custom / Revised Modules ...
by Elesar1
[November 17, 2008, 03:51:46 PM]

TWC
by Temar
[November 16, 2008, 11:39:12 AM]

Are there any FUN modules...
by Elesar1
[November 15, 2008, 07:39:15 PM]

Call to a member function...
by exxie
[November 15, 2008, 09:29:31 AM]

Ported Modules
by Alreadythere
[November 14, 2008, 06:10:07 PM]

cURL and other non-defaul...
by Temar
[November 14, 2008, 04:11:44 PM]
Stats
Members
Total Members: 1235
Latest: DDDepressionnn
Stats
Total Posts: 11037
Total Topics: 1496
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 4
Guests: 20
Total: 24
xlDanek
Temar
Stealth
gerborg

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