OZONE Asylum
Forums
Mad Scientists' Laboratory
Automod-bot - the next step (calling Tyberius Prime)
This page's ID:
27954
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
TP. I am trying to understand what you are offering _Mauro. Would he have a REST style API that he could access? Does this need to be developed? Last time I looked into the source (about a year ago) this was not in there. I see it only needing two url's for inspection, and maybe another URL to send the results to. http://www.ozoneasylum.com/sink - returns a list 100 thead ids [GET] - accepts a list of id's and a flag which sets (P,D,U) perserve|delete|undecided for the id. [POST] http://www.ozoneasylum.com/[id] - returns a list of the thread's posts (uid,uname,postcount,content) [PUT] I would that this information should be stored in the bot's local database so that it can be re-examined at any time without needing to hit the asylum. There would have to be an authentication step based on the inmate's username/password I would believe. I would reccommend that the URL have some sort of throttle associated with it (the bot running away and clobbering the server would not make anyone happy), and in inital production the bots recomendations get put into a holding area that requires manual user authorization when starting this out. Ultimately the bot would have a lot of work to do in the beginnig as there are a ton (10k?) of threads that need to be examined, but after the initial run the bot might only need to be run on a weekly basis to pick up the remaining threads. I believe providing a webservice for this would be in the best interest of all concerned. Providing just an XML representation would definately save the asylum on bandwidth and would speed up things on _Mauro's end as parsing a structured XML file is going to be a number of magnitudes faster than parsing the asylums XHTML structure. If this needs to be implemented let me know via email. Dan @ [url=http://www.codetown.org]Code Town[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »