External file loading question

Discussion in 'HTML' started by M, Aug 3, 2007.

  1. M

    M Guest

    Periodically, the question arises about how to insert text from an external
    source into a file. Typically this is common text has to be repeated
    throughout a site (such as a menu I suppose. . .).

    Typically, the answer is HTML pre-processor (which sounds like a fancy name
    for a search-and-replace to me -- I'm guessing this is done before the files
    are uploaded) or using some sort of server-side scripting.

    Why not an I-frame? What is the big disadvantage of an i-frame compared to
    the above techniques?

    M
    M, Aug 3, 2007
    #1
    1. Advertising

  2. M

    Ed Mullen Guest

    M wrote:
    > Periodically, the question arises about how to insert text from an external
    > source into a file. Typically this is common text has to be repeated
    > throughout a site (such as a menu I suppose. . .).
    >
    > Typically, the answer is HTML pre-processor (which sounds like a fancy name
    > for a search-and-replace to me -- I'm guessing this is done before the files
    > are uploaded) or using some sort of server-side scripting.
    >
    > Why not an I-frame? What is the big disadvantage of an i-frame compared to
    > the above techniques?
    >
    > M
    >
    >

    http://www.google.com/search?query=iframes evil&num=50

    --
    Ed Mullen
    http://edmullen.net
    http://mozilla.edmullen.net
    http://abington.edmullen.net
    Old dog still learning - please don't shoot yet
    Ed Mullen, Aug 3, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Scott Allen
    Replies:
    8
    Views:
    10,907
    Scott Allen
    May 2, 2004
  2. mr_burns

    loading a string from an external file

    mr_burns, Apr 4, 2004, in forum: Javascript
    Replies:
    1
    Views:
    91
    Brian Genisio
    Apr 5, 2004
  3. Mellow Crow
    Replies:
    6
    Views:
    410
    Richard Cornford
    Nov 4, 2005
  4. Replies:
    0
    Views:
    92
  5. FBro
    Replies:
    2
    Views:
    137
    Thomas 'PointedEars' Lahn
    Feb 3, 2008
Loading...

Share This Page