Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
An automatic posting code?
Topic Started: May 18 2008, 10:34 PM (719 Views)
skiingiggy
Member Avatar
Member
[ *  * ]
Hey all. I was wondering if it would be at all possible for someone to create a code that would allow a certain user's account to make an automatic post in a certain forum that comes from an RSS feed? I am not requesting this, merely asking if it is possible before I try and hunt someone down to make it. I have a site that is supposed to have an AI on it, in other words they send the welcome PM and post some stuff from an RSS, but neither of those features are yet avaliable for ZB. So while it is really easy to make it seem like he's an AI, he really isn't. And while it looks and sounds good to the members and they would never know that it's just me posting, it would save me a lot of time. Just wondering if this would be at all possible.
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
It's possible. Make an account called AI Bot or whatever. Tell it to grab the feed, if it's different use AJAX to make a post in whatever forum necessary.
Offline Profile Quote Post Goto Top
 
skiingiggy
Member Avatar
Member
[ *  * ]
I have the user account, but I have no clue how to tell it to grab the feed and then post it....

Do you know anyone who can help me?
Edited by skiingiggy, May 20 2008, 05:21 PM.
Offline Profile Quote Post Goto Top
 
FusedLove
Member Avatar
Member
[ * ]
i would also like this. one that would be called "anime news bot"

and grab news from http://www.animenewsnetwork.com/
Offline Profile Quote Post Goto Top
 
skiingiggy
Member Avatar
Member
[ *  * ]
Ah but that is not an RSS feed.....
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
The only way I know of getting information from a webpage is using AJAX, but you can't use it to grab data off different hosts. It has been done so there must be another way.
Offline Profile Quote Post Goto Top
 
skiingiggy
Member Avatar
Member
[ *  * ]
Hmmmm. I know that there is one from the makers of VB that works with that software but I can't get a hold of it, its copywrited to their company. It could probably be replicated but I can't even get the code to see if it might work for ZB... Wouldn't want to because of copywrite but still
Offline Profile Quote Post Goto Top
 
slaytanist
Member Avatar
Agnostic Mooncheese-Disbeliever
[ *  *  * ]
Viral
 
The only way I know of getting information from a webpage is using AJAX, but you can't use it to grab data off different hosts. It has been done so there must be another way.

PHP will do it, or sockets in just about any language. I wrote one for IF in C but after a member of my board took the concept to its logical conclusion I'm loath to release anything else along these lines.

EDiT> Naturally you'd need a cronjob to do it in php. If your host doesn't support these you can work around by storing the last time the script was run and including it if a certain delay had passed (an image might be a good hook for this script.) There is also a site which will run them for you, although I've had no joy with it in the past.
Edited by slaytanist, May 23 2008, 01:15 AM.
Offline Profile Quote Post Goto Top
 
Arrogant
Member Avatar
Vote Choco and Nicola!
[ *  *  * ]
slaytanist
May 23 2008, 01:05 AM
I wrote one for IF in C but after a member of my board took the concept to its logical conclusion I'm loath to release anything else along these lines.
lol. :D

You could even use JS, if you're grabbing an XML file.
(IE 8 Supports native X-Domain Requests, by the way :p)
Offline Profile Quote Post Goto Top
 
.DeleTeD.
Member Avatar
Member
[ *  *  * ]
Try google to find what you want.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Coding & Modifications · Next Topic »
Add Reply