|
|
Joined: Jul 2002
Posts: 12
Newbie
|
Newbie
Joined: Jul 2002
Posts: 12 |
What we used to do before we crossed to Threads (so in our Classic time) was download all CGI files and batch them through Word to format them nicely and get each thread in a separate document.
What I'd like to do now, is somehow produce an archive of all threads that were active after a certain date. So all posts, now or old, that had replies (or which started) after a given date. I don't care how, for all that matters it may just spit it out in one go on the screen, but I do need all posts to be organized according to forum and thread.
So... enter date 2002/12/25 - it spits out all threads active starting then:
[General Forum] --------------- "I have a problem" Davy: I need some help on a problem blahblah Kayjey: Well tell us.... Whoever: I don't care if you...
"Second thread" Some guy: blahblah Another: Response
[Another Forum] "..."
...
If anybody could help me out? We need this to build our FAQ. Thanks in advance.
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
Joined: Dec 2000
Posts: 1,471 |
You'll need to write a script for that, it shouldn't be that complicated.
1. Make a form where you can enter a date 2. Grab alle threads that where active after a certain date 3. Output the threads in an adequate way (maybe like the print thread sites?)
It would be easiest to use HTML as the output format, cause the posts are stored in html. But it should be possible to output rtf or even some xml also. This would regquire some additional parsing, but it is possible.
Maybe you can provide an example what structure these threads and the FAQ have.
|
|
|
|
Joined: Jul 2002
Posts: 12
Newbie
|
Newbie
Joined: Jul 2002
Posts: 12 |
No specific requirements regarding layout or anything, just need to spit out all posts/threads (grouped by category and thread and sorted by date) that were active in one single file. We go through all of that by hand to build our FAQ. Just need it in a readable format. The .Classic cgi files were easy to convert/read. But in threads I need a few lines of code that does it.
|
|
|
|
Joined: Jul 2002
Posts: 12
Newbie
|
Newbie
Joined: Jul 2002
Posts: 12 |
|
|
|
|
Joined: Jun 2003
Posts: 1,025
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 1,025 |
Sorry, it's over my head. I don't have the time to dive into it yet.
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
Joined: Dec 2000
Posts: 1,471 |
As is said you could use the print-thread script and enhance it to display more than one thread, sorted by category and date.
You might want to post that request in the developers for hire forum or contact me via PM if nobody wants to code that for free.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|