Hi,

I was reading an article on the Northern CFUG website about generating static pages from dynamic pages and noticed the use of the Evaluate and DE functions in order to read any vars in the string. I have also read on this and several other lists about the performance problems of using these two functions.

Are these functions really that slow and if so what is the alternative? If for example I have a site which is content-driven from a db and I want to generate a static version what is the best way to handle any dynamic content?

Also, if I have html pages in a db and the links are all of the form index.cfm?fuseaction=content.display&menuid=2&contentid=50 then what is the best way to read through all of the html and find the links and read the contentid so that I can then get the page title and assign it as the name of the html file? I then need to read through the links in the content and convert them all into static links so the above link might become: www.yoursite.com/menu2/page50.htm. Is there an easy way to do this or do I need to do some serious regex?

Cheers

Dave


============================================
Phipps CF Development
Oxford, Oxfordshire.
Telephone: +44(0)7718 896696
http://www.phipps-cf.co.uk
============================================


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to