Re: coding ideas
- Posted by Stephen Spencer <stephen.spencer at USA.NET> Jul 09, 1998
- 441 views
--------------5BF3AB25248F52F6FED2E297 Hawke wrote: > 1> Automatic HTML page _creator_ > scenario: web master > I'm getting ready to undertake an enormous project, namely, the > creation of a very large web site. > I have found large quantities of programs that will go through > existing HTML documents, finding and replacing text. Well, > that's great for certain things, most especially if the pages > are *already* created. > What I need is to define a template for my web site... a common > look and feel throughout... then, in another file, a list > of the topics/sub topics in index type format... and finally, > the entire batch of HTML files and directories/subDIR's > created based upon those themes/topics. Also, while creating > these files, use the template.html but replace the word > template in the filename, and within the document, with the > topic/sub topic and match the directories as well. A really > nice pro-bono would be automatic link generation as well, > to link topic pages to sub topics, and of course, those > links created would be based on a sub template as well... > default surrounding link code (like bullets for ex.) would > be updated on main topic pages to allow navigation to > sub topics...sub topics to subsub..etc <example stuff snipped> I just wrote something like this so I could easily add new topics and keep the 'uniform look and feel' to my website (source files included in zip). I'll upload a nice packaged and readmed zip to my website in a while, but I thought I'd give all the people on the list a hot-off-the-keyboard version. Have fun trying to get it to work (absolutely NO error-checking is done at the moment as it was only designed for my site and use by me, so you may find yourself pulling your hair out because you've typed <A href=... instead of <a href="...), Stephen -- Stephen Spencer stephen.spencer at usa.net http://members.xoom.com/sspencer ICQ#: 14614461 p.s. [Totally different topic] Robert: Could you move things that are up updated to the top of the Recent User Contributions list, so that I only need to scroll down to the date I last checked, rather than having to search through the rest of the stuff looking for a little yellow "Updated!" thingy? --------------5BF3AB25248F52F6FED2E297