feldon23
Wed 2nd Apr '08, 10:59pm
I am just curious if any work has been done on a standalone PHP script to harvest 3rd party forum posts and turn them into vBulletin posts.
So far, vBulletin has one example of this. Specifically an EZBoard type harvester which I was very thankful for the existence of many years ago. The code behind this is not available to the public.
It seems that rather than a reduction (and eventual elimination) in free forums that hold your data prisoner, there has instead been an influx of more of these shady operators who install a modified copy of phpBB that can handle thousands of boards, collect the ad revenue, and meanwhile refuse any request for the post data -- regardless of how much money is offered.
For a couple of years now, I have been considering trying to write a script on my own that would trawl a forum, grab the threads and posts, and repost them to an empty vBulletin forum. After having to literally copy and paste hundreds of posts from a ForumCo forum, I made my mind up to try to write something!
Essentially it is a matter of identifying the start and end of each post in a thread, and further identifying HTML snippets which can be converted to bbCode. I have written some test code that correctly identifies each post (and its author) in a thread plus the name and ID of the thread. It would not be too many steps further to use some of the example code (http://www.vbulletin.org/forum/showthread.php?t=62613) at vBulletin.org to make the script post into an empty vBulletin forum. Then the User-Post Associator (http://www.vbulletin.org/forum/showthread.php?t=100615) script can be used to marry all those posts back to users as they sign up on the new forum.
The original [How-To] Create Threads (http://www.vbulletin.org/forum/showthread.php?t=97283) thread (mentioned here (http://www.vbulletin.org/forum/showthread.php?t=99570)) seems to have vanished without a trace. But fortunately I found How To Create a Post (http://www.vbulletin.org/forum/showthread.php?t=102418#post1036332) and How to Create a Thread (http://www.vbulletin.org/forum/showthread.php?t=102418&page=3#39).
Is there enough interest in a script like this? I know some people have asked for Yuku and ProBoards importers and this type of script would be perfect for this. It is really just a question of how much time do I invest?
Also, ideally, the config file would use RegExes but I am not so good with those...
So far, vBulletin has one example of this. Specifically an EZBoard type harvester which I was very thankful for the existence of many years ago. The code behind this is not available to the public.
It seems that rather than a reduction (and eventual elimination) in free forums that hold your data prisoner, there has instead been an influx of more of these shady operators who install a modified copy of phpBB that can handle thousands of boards, collect the ad revenue, and meanwhile refuse any request for the post data -- regardless of how much money is offered.
For a couple of years now, I have been considering trying to write a script on my own that would trawl a forum, grab the threads and posts, and repost them to an empty vBulletin forum. After having to literally copy and paste hundreds of posts from a ForumCo forum, I made my mind up to try to write something!
Essentially it is a matter of identifying the start and end of each post in a thread, and further identifying HTML snippets which can be converted to bbCode. I have written some test code that correctly identifies each post (and its author) in a thread plus the name and ID of the thread. It would not be too many steps further to use some of the example code (http://www.vbulletin.org/forum/showthread.php?t=62613) at vBulletin.org to make the script post into an empty vBulletin forum. Then the User-Post Associator (http://www.vbulletin.org/forum/showthread.php?t=100615) script can be used to marry all those posts back to users as they sign up on the new forum.
The original [How-To] Create Threads (http://www.vbulletin.org/forum/showthread.php?t=97283) thread (mentioned here (http://www.vbulletin.org/forum/showthread.php?t=99570)) seems to have vanished without a trace. But fortunately I found How To Create a Post (http://www.vbulletin.org/forum/showthread.php?t=102418#post1036332) and How to Create a Thread (http://www.vbulletin.org/forum/showthread.php?t=102418&page=3#39).
Is there enough interest in a script like this? I know some people have asked for Yuku and ProBoards importers and this type of script would be perfect for this. It is really just a question of how much time do I invest?
Also, ideally, the config file would use RegExes but I am not so good with those...