Brad--

How do you handle links within the page you just parsed?  I was thinking
about this, and all of your internal links need to be mapped to new static
pages if you want to actually use the static pages instead of one static
page that immediately links to all the dynamic pages...

I think that is a cool idea, though.  I'll be interested to see where it
goes.

David Huyck
[EMAIL PROTECTED]

| Just pass it a url with a fuseaction and the document name, like:
| http//mysite.com/createhtmldoc.cfm?fa=homepage&docname=index.html
|
| Instantly I have an html page with all the whitespace stripped out.
|
| <!--------------- CreateHtmlDoc.cfm --------------->
|
| <cfinclude template="globals/appfiles/app_globals.cfm">
| <cfparam name="form.docname">
| <cfparam name="form.fa">
|
| <cf_stripwhitespace>
| <cfinclude template="#request.self#"><!--- Inlclude index.cfm --->
| </cf_stripwhitespace>
|
| <cffile action="write" file="#request.physmap.root#\#form.docname#"
| output="#request.strippedoutput#">
| <cflocation url="#request.webmap.root#/#form.docname#">
|
| <!--------------- End CreateHtmlDoc.cfm --------------->
|
| Alan, I thought I send this directly to you since you mentioned this
| earlier.
|
| Brad




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to