|
Glarawyn
|
 |
« on: July 17, 2006, 06:17:11 PM » |
|
Download: OnlineRSS_v0.6.3.zipThis 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.xmlThe 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
|
 |
« Reply #1 on: July 18, 2006, 02:05:56 PM » |
|
Fantastic 
|
|
|
|
|
Logged
|
|
|
|
|
Glarawyn
|
 |
« 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
Posts: 9
|
 |
« 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
|
 |
« 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
|
 |
« 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  Now only if somone can build a tell system on a website.....
|
|
|
|
|
Logged
|
|
|
|
|
Glarawyn
|
 |
« 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. Anyway, fixed and updated.
|
|
|
|
|
Logged
|
|
|
|
Stelai
Freshman
Offline
Gender: 
Posts: 7
|
 |
« Reply #7 on: July 21, 2006, 03:52:42 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  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  Oh and btw first post \o/ BeBot owns 
|
|
|
|
|
Logged
|
|
|
|
|
joey12344
Guest
|
 |
« Reply #8 on: July 21, 2006, 09:19:16 AM » |
|
Good idea ... Il think about/look into that
|
|
|
|
|
Logged
|
|
|
|
Evereane
Freshman
Offline
Posts: 9
|
 |
« Reply #9 on: August 10, 2006, 11:41:34 AM » |
|
Found a slight error with the output.. About line 295-300 // Online member items. $rss .= $this -> player_rss_items($this -> pgroup_online, TRUE); } $rss .= '</channel>'; $rss .= $newline; should read... // 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. 
|
|
|
|
« Last Edit: August 10, 2006, 11:48:12 AM by Evereane »
|
Logged
|
|
|
|
williamohms
Freshman
Offline
Posts: 4
|
 |
« 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
|
 |
« Reply #11 on: August 09, 2007, 10:36:33 PM » |
|
lol EXACTLY 1 Year to the day after last post :p
|
|
|
|
|
Logged
|
|
|
|
|
Glarawyn
|
 |
« Reply #12 on: August 09, 2007, 10:41:40 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
Posts: 3
|
 |
« 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
|
 |
« Reply #14 on: November 07, 2008, 06:00:43 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
|
|
|
|
|