| 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! |
| An automatic posting code? | |
|---|---|
| Tweet Topic Started: May 18 2008, 10:34 PM (719 Views) | |
| skiingiggy | May 18 2008, 10:34 PM Post #1 |
|
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. |
![]() |
|
| Viral | May 20 2008, 05:07 PM Post #2 |
|
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. |
![]() |
|
| skiingiggy | May 20 2008, 05:21 PM Post #3 |
|
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.
|
![]() |
|
| FusedLove | May 20 2008, 06:17 PM Post #4 |
|
Member
![]() ![]() ![]()
|
i would also like this. one that would be called "anime news bot" and grab news from http://www.animenewsnetwork.com/ |
![]() |
|
| skiingiggy | May 20 2008, 08:57 PM Post #5 |
|
Member
![]() ![]() ![]() ![]()
|
Ah but that is not an RSS feed..... |
![]() |
|
| Viral | May 21 2008, 01:19 PM Post #6 |
|
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. |
![]() |
|
| skiingiggy | May 21 2008, 08:50 PM Post #7 |
|
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 |
![]() |
|
| slaytanist | May 23 2008, 01:05 AM Post #8 |
|
Agnostic Mooncheese-Disbeliever
![]() ![]() ![]() ![]() ![]()
|
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.
|
![]() |
|
| Arrogant | May 23 2008, 03:47 PM Post #9 |
![]()
Vote Choco and Nicola!
![]() ![]() ![]() ![]() ![]()
|
lol. ![]() You could even use JS, if you're grabbing an XML file. (IE 8 Supports native X-Domain Requests, by the way :p) |
![]() |
|
| .DeleTeD. | May 23 2008, 06:28 PM Post #10 |
![]()
Member
![]() ![]() ![]() ![]() ![]()
|
Try google to find what you want. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Coding & Modifications · Next Topic » |




![]](http://z3.ifrm.com/static/1/pip_r.png)






7:27 PM Jul 10