[Linkbat-devel] Re: about Glossary pages
Brought to you by:
jimmo
From: James M. <lin...@ji...> - 2003-05-14 18:53:03
|
On Wednesday 14 May 2003 00:36, Feng Xie wrote: > If it has not much to do with XML parsing (I am not familiar with XML), I > can take it. I will keep you in mind. It does require a little experience wth XML. > >What I think we should do now in terms of the static code for the glossary > >is > >define the actual mechanism of how the page is displayed. I think the best > >thing is to a have a new window pop up. The link is something like > > > >/cgi-bin/display_glossary.pl?word_to_define > > > >where the display_glossary.pl simply creates the framework for the page > > and inserts the contents of an already created glossary page. Something > > similar would also be done for the command glossary and file glossary. > > The set of glossary files could be in a seperate directory what the > >display_glossary.pl > >knows about and knows what file to load based on "word_to_define". > > Yes, using display_glossary.pl instead of display.pl is faster and makes > the codes easier to maintain. But the problem is that by this way, people > who try to download the site can't not see the glossary pages because they > are generated dynamically. Of course, if you don't think it's important > for those downloading the site to see everything in static pages, just > ignore it. Well, the glossary pages do not necessarily need to be generated dynamically. We could create them in advance and then display_glossary.pl just creates the framework and inserts the *completed* glossary page. What I would like is the ability to download a complete set of pages and have as much info as possible, include glossary, commands and files. The user could have a choice between a set that is installed as a web server or stand-alone. However, we should not loose track of the primary goal here and that is to save as much time as possible loading the files on the Internet. > I am thinking about developing the parse_page.pl into a tool which is used > to generate the corresponding ebook(totally consists of static pages, like > stuffs for CCNA,CCNP etc) of the linux-tutorial site. That way, everytime > major changes happen on the site, you can use the tool to generate a zipped > package (with versions of course) and put it to the download page. Just a > idea. That is definately one of the goals. I would like to a tool set that will display the material dynamically, create static pages and create a document that you convert to PDF, DocBook or some other similar format. Regards, Jim -- --------------------------------------- "Be more concerned with your character than with your reputation. Your character is what you really are while your reputation is merely what others think you are." -- John Wooden --------------------------------------- Be sure to visit the Linux Tutorial: http://www.linux-tutorial.info |