Generating HTML pages

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Generating HTML pages

    how would i go about creating a CFML template to loop through a list and create an HTML file for each item inthe list? is this possible with CF?
    bdee2 Guest

  2. Similar Questions and Discussions

    1. Generating html pages from a database.
      A few years ago I ran across a behavior for Ultradev that would insert a recordset into your html documents. This made it possible to make a catalog...
    2. building HTML pages from CFM pages
      Does CF have a function that could be used to build static pages from dynamic pages? I realize I could just save the HTML that it outputs as an...
    3. Importing textfile generating multiple PDF pages
      I have a problem! Would like to extract information from another program to a textfile and then import this to Acrobat generating multiple PDF...
    4. I need help generating an image alongside other html
      I have been searching various boards trying to figure out how to generate an image along with other html. I intend to put the image in a table, but...
    5. I need help generating an image along with other html
      I have been searching various boards trying to figure out how to generate an image along with other html. I intend to put the image in a table, but...
  3. #2

    Default Re: Generating HTML pages

    On 2005-06-21 08:07:06 -0500, "bdee2" <webforumsuser@macromedia.com> said:
    > how would i go about creating a CFML template to loop through a list
    > and create an HTML file for each item inthe list? is this possible
    > with CF?
    Not sure exaclty what you're trying to do, but you could easily use
    cffile to write out html files.

    Matt
    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion

    mpwoodward *TMM* Guest

  4. #3

    Default Re: Generating HTML pages

    just experimenting really. so if i wanted to have a template that woudl create
    an hatml file called myfile.html in the same folder as the template with the
    following contents how would i do that?

    <html>
    <head><title>My Page</title></head>
    <body>hello World</body>
    </html>

    bdee2 Guest

  5. #4

    Default Re: Generating HTML pages

    <cfset information = '<html>
    <head><title>My Page</title></head>
    <body>hello World</body>
    </html> '>

    <cffile action="write" file="myfile.html" output="#information#">

    get more information on the cffile tag
    [url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p27.htm[/url]

    Syncopation Guest

  6. #5

    Default Re: Generating HTML pages

    wow that IS really easy - thank you for the info!
    bdee2 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139