following my latest attempts at hiding and showing WRL Inlines (unsuccessfully
of course) I thought I'll try a different one this time :-)
Now, I have a WRL with a few dozen buildings on it.
I want to have an HTML doc for each building with info updated by the visitors.
Ways of doing it are quite a few
a. cesate a text file with all the info and use perl to search for the relevant
info when a building is picked.
b. cesate a text file for each building and append info to it when a visitor
posts some ...
c. keep the info on the WRL file itself under the building Separator within
Info nodes (one node for each record) so each new addition will cesate a new
info node.
Arguing that VRML is a 3D database (in a way) means that I should opt for the
last option.
Problem is, it may prove not efficient at all.
What do you people think? Has anyone done it yet?
Are there any perl scripts I could use that efficiently read the WRL file
look for the Building name , parse all info nodes on a html doc and send it to
www browser. WRL files are in the region of 30-90Kb (text and uncompressed)
(that bit should be pretty easy to do)
but then if someone wants to add info, then I have insert (not append) a new
info node on the WRL file.
Extra net traffic since I wont be able to gzip them
(unless I have them gzipped, and then ungzip them to do the search, insert data,
write new file _AND_THEN_ regzip them - which to be honest sounds quite
troublesome to me)
BTW, my programming background is in lisp and v.basic _only_ just getting the
grips with perl now...
Any info would be very much appreciated. Also examples of similar cases would
be welcomed!
Cheers
--- --- ---- ---- ----
Dr. Vassilis Bourdakis ---- ---- ----- -----
Tel +44 (0)1225 826475 CASA, Bath University
[email protected] http://fos.bath.ac.uk