php forum
php mysql forum
php mysql smarty
 
Topic Options
#260847 - 10/16/03 06:27 PM Converting forum to static HTML pages
3DSHROOM_dup1 Offline
Journeyman

Registered: 04/17/02
Posts: 108
Loc: Texas
I've seen the subject brought up before.. It would be really handy if you had a script that could spider your forums, saving the pages locally on the server as static HTML pages. This would allow users to browse a super fast copy or you could make CD-R's of your site which are browseable offline. I know there are programs out there to save webpages but they never seem to work all that well with forums.. <br /> <br />The script would have to: <br />* Modify the links in the pages to point to other static pages instead of the usual links to the dynamic site. <br />* Save images locally that are linked to and change the corresponding img tags. <br />etc.. <br /> <br />It would be quite a project but could be done.. Ideas?
_________________________
SacredShrooms.org

Top
#260848 - 10/16/03 08:45 PM Re: Converting forum to static HTML pages [Re: AleksejVL]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
this is what your looking for<br /><br />http://www.ubbdev.com/forum/showflat...5/o/all/fpart/1
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260849 - 10/17/03 01:32 AM Re: Converting forum to static HTML pages [Re: sf49rminer]
3DSHROOM_dup1 Offline
Journeyman

Registered: 04/17/02
Posts: 108
Loc: Texas
To me it looks like that just converts the URL to a spider friendly one and doesn't actually save a new copy of each page as an HTML file... am I wrong? Their page doesn't exactly list what all features it includes.. <br /> <br />I guess it would make it easier to spider with archiving software but I would hate to have to buy that as well as the archiving software..
_________________________
SacredShrooms.org

Top
#260850 - 10/17/03 07:56 AM Re: Converting forum to static HTML pages [Re: AleksejVL]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
I beleive it converts the pages to html through this hack<br /><br />Here is a link from Allen's board which uses this<br /><br />http://www.praisecafe.org/boards/ubb-get_topic-f-9-t-000240.html
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#260851 - 10/17/03 11:17 AM Re: Converting forum to static HTML pages [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
No I think it just uses rewrite to make them "appear" as HTML pages. I have not ever seen a hack that physically exports the pages to HTML so that you could download and browse offline etc....
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#260852 - 10/17/03 11:32 AM Re: Converting forum to static HTML pages [Re: AleksejVL]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
[]3DSHROOM said:<br />To me it looks like that just converts the URL to a spider friendly one and doesn't actually save a new copy of each page as an HTML file... am I wrong? Their page doesn't exactly list what all features it includes.. <br /><br />I guess it would make it easier to spider with archiving software but I would hate to have to buy that as well as the archiving software.. [/]<br /><br />You can get more info on this here http://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=10;t=002400;p= and if you write the developer, Micah []info@totalwebpackage.com[/] he will most likely be happy to answer your questions.

Top
#260853 - 10/17/03 02:04 PM Re: Converting forum to static HTML pages [Re: AleksejVL]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I suppose it is possible that one could construct a script that would scan forum pages that are open to the public, extract links and then send a GET request for those links and then store the returned information as an html file.<br /><br />What a nightmare that would be. lol
_________________________
~Dave
ChattersOnline.com

Top
#260854 - 10/17/03 03:42 PM Re: Converting forum to static HTML pages [Re: sjsaunders]
3DSHROOM_dup1 Offline
Journeyman

Registered: 04/17/02
Posts: 108
Loc: Texas
heh, yeah<br /><br /> <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
SacredShrooms.org

Top
#260855 - 10/18/03 12:08 PM Re: Converting forum to static HTML pages [Re: AleksejVL]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
wget is your friend.<br /><br />Type this in a unix shell account:<br />
Code:
wget -Ekpmnv http://www.threadsdev.com
<br /><br /><br />And you will have a complete working local copy of threadsdev. After a while, it'll take some time downloading everything. =]<br /><br />If you are on windows, you could use something like cygwin to use the wget program. Don't ask me how cygwin works though, because I don't know that.<br /><br />There is a windows gui available on this site: http://www.jensroesner.de/wgetgui/
_________________________
/Gardener | Complete list of my mods

Top
#260856 - 10/22/03 12:44 PM Re: Converting forum to static HTML pages [Re: c0bra]
MTO Offline
Addict

Registered: 01/31/00
Posts: 1524
Loc: Burgos, Spain.
A nice thing of archiving would be that once archived database could trimeed, reducing server load. <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" /><br /><br />Garderner, out of curiosity... so you are saying wget could be run on the server side? I sort of tested wget (never worked for me) on my Firebird, as an extension, but it needed some updating so it didnt work... But being on the server side sounds very interesting. <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Mateo Byler
CruceDeCaminos.com

Top
#260857 - 10/24/03 01:15 AM Re: Converting forum to static HTML pages [Re: D_Wolfwood]
3DSHROOM_dup1 Offline
Journeyman

Registered: 04/17/02
Posts: 108
Loc: Texas
wget seems to have a few problems converting the urls to ones that are valid filenames.. you can't have question marks in the filenames... using the Spider script, wget would probably work quite well.. and yes he probably means server side, although it could be done from any machine..
_________________________
SacredShrooms.org

Top
#260858 - 10/24/03 10:07 AM Re: Converting forum to static HTML pages [Re: AleksejVL]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Well, I ran wget with the arguments I gave and I got a complete local copy of my own site. It changes all links so that they work with the saved files, whether there are question marks or not.<br /><br />It's not really server side, since wget is a http client (like a browser) but I ran it on the same machine as the site was on. But as long as you have wget you can run it from any place you want to download the files, it'll just take a bit longer to transfer everything over internet.
_________________________
/Gardener | Complete list of my mods

Top


Who's Online
0 registered (), 28 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by blaaskaak
Today at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks