buro9
03-21-2002, 07:03 AM
Created hack called the Cache Cannon, which fires hundreds of small files onto the docroot to act as:
1) an archive.
2) search engine optimised files.
Everything is working fine, but I want to be able to give these files the forum default style for guest users.
What I specifically want to do is constrcut a *.css file based upon the guest users replacementset and then simply use applicable class names in my other templates.
Because this is all being turned into static files, I need to generate the standalone .css file rather than create font and style tags in the normal files... as with 10,000+ files this would make a substantial saving on disk space.
Anyhow, question is:
How do I get hold of the guest user default style and replacement set?
What do I then need to do to create a stylesheet out of this? Something like dovars() I guess.
Cheers
David K
PS: If you want to view the hack in it's current state it's in the beta forum here: https://vborg.vbsupport.ru/showthread.php?s=&threadid=36000
1) an archive.
2) search engine optimised files.
Everything is working fine, but I want to be able to give these files the forum default style for guest users.
What I specifically want to do is constrcut a *.css file based upon the guest users replacementset and then simply use applicable class names in my other templates.
Because this is all being turned into static files, I need to generate the standalone .css file rather than create font and style tags in the normal files... as with 10,000+ files this would make a substantial saving on disk space.
Anyhow, question is:
How do I get hold of the guest user default style and replacement set?
What do I then need to do to create a stylesheet out of this? Something like dovars() I guess.
Cheers
David K
PS: If you want to view the hack in it's current state it's in the beta forum here: https://vborg.vbsupport.ru/showthread.php?s=&threadid=36000