Welcome to WebmasterWorld Guest from 174.129.151.95

Forum Moderators: phranque

Message Too Old, No Replies

Write static HTML from flatfile?

   
11:52 pm on Jun 13, 2000 (gmt 0)

WebmasterWorld Senior Member rcjordan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



A little over a year ago, I bastardized Gossamer Thread's "Links 2.0" (non SQL version) script to create static html pages by pouring a flatfile through a template. I remember that adding fields was a tedious task, and do not particularly want to revisit/relearn that IF there is some new, flashy script that is easier. Has anyone seen such a beast?

Something I liked about L2; besides specifying the directory and subdirectories (created on the fly) you could select whether the output pages were to be created as "index.html" or "index.shtml" --this was an all or none proposition, however.

10:21 am on Jun 15, 2000 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I've not heard of such a script. This may be a question to put to that guy that writes DBman. (the url completely escapes me). He has a flatfile system you can define and I believe there is a export to html option.
2:44 pm on Jun 15, 2000 (gmt 0)

WebmasterWorld Senior Member rcjordan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Good memory, but we're essentially talking the same script. DBman is also by Gossamer Threads, Links is an expansion of that script. (His name is Alex Krohn.) I guess I'll revisit my old scripts. It is a jaw-dropper to hit the "build" button, btw; 4000 directories and subs and as many index.shtml pages in 6 minutes, each with individual content. Lots of limitations, though.
2:37 am on Jun 29, 2000 (gmt 0)

WebmasterWorld Senior Member rcjordan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Looks like we're going to do it in house. As it turns out, I did the layout and design for a template-driven dynamic html-writer back in '96, and had it coded in C by a whiz. I'm going to have him adapt it by adding the path and extension of the file to be written, he says "piece of cake."