How to include an HTML doc in another HTML doc

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Long

    How to include an HTML doc in another HTML doc

    How to include an HTML doc in another HTML doc

    Problem: to insert the body section of an HTML doc in another HTML document
    at a specific location.

    One possible way is to add a WebCharm tag like this:

    <%@charm:html 20 0 my_services.htm %>

    When the HTML template is processed by a WebCharm-aware web server, the
    content (everything between <BODY> </BODY> tag) of my_services.htm is
    inserted at the tag location.

    This tag is an alternative to the @charm:text tag. It is specialized for including
    another HTML document so that a well formed HTML document can
    be generated from the template. It allows the include HTML document to be
    perserved in its' original form so that it may be viewed and/or modified normally.

    Visit edgesoft.ca web site for more information on WebCharm template and tags.
    In particular, www.edgesoft.ca/go/index.html?top=wc

    --
    Long On
    Edgesoft Consulting Inc.
    webcharmer @ www.edgesoft.ca/go/member/index.html





  • Steve Pugh

    #2
    Re: How to include an HTML doc in another HTML doc

    "Long" <longNOSPAMs2i@ rogers.com> wrote:
    [color=blue]
    >How to include an HTML doc in another HTML doc[/color]

    Didn't you post this spam just 12 hours ago?

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

    Comment

    • Long

      #3
      Re: How to include an HTML doc in another HTML doc

      "Steve Pugh" <steve@pugh.net > wrote in message news:lp8dpvsgt3 7t6ppf7jsucqbhk lg6ck5j1s@4ax.c om...
      : "Long" <longNOSPAMs2i@ rogers.com> wrote:
      :
      : >How to include an HTML doc in another HTML doc
      :
      : Didn't you post this spam just 12 hours ago?
      :
      How so? I am providing a how-to series to solve specific problems relating
      to authoring HTML. The material is meant to be informative and open people
      to new ideas.

      --
      Long On
      Edgesoft Consulting Inc.
      webcharmer @ www.edgesoft.ca/go/member/index.html






      : Steve
      :
      : --
      : "My theories appal you, my heresies outrage you,
      : I never answer letters and you don't like my tie." - The Doctor
      :
      : Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>


      Comment

      • Brian

        #4
        Re: How to include an HTML doc in another HTML doc

        Long wrote:[color=blue]
        > How to include an HTML doc in another HTML doc
        > One possible way is to add a[/color]

        Hmm. I'm experiencing déjà vu. Or déjà spammed.

        --
        Brian
        follow the directions in my address to email me

        Comment

        • Brian

          #5
          Re: How to include an HTML doc in another HTML doc

          Long wrote:[color=blue]
          > "Steve Pugh" <steve@pugh.net > wrote[color=green]
          >> "Long" <longNOSPAMs2i@ rogers.com> wrote:[color=darkred]
          >>>
          >>>How to include an HTML doc in another HTML doc[/color]
          >>
          >> Didn't you post this spam just 12 hours ago?[/color]
          >
          > How so?[/color]

          What are you arguing about? You posted the same message twice.

          lWllb.2919$h61. 704@news01.bloo r.is.net.cable. rogers.com

          Texlb.13397$h61 .5258@news01.bl oor.is.net.cabl e.rogers.com
          [color=blue]
          > I am providing a how-to series to solve specific problems relating
          > to authoring HTML. The material is meant to be informative and open
          > people to new ideas.[/color]

          I don't care how you try to spin it. You posted the same message in
          less than 1 day. The message is promoting some commercial product.
          That makes it look like spam. And the last bit -- "material...mea nt
          to be informative and open people to new ideas" -- well that's just
          insulting our intelligence.

          --
          Brian
          follow the directions in my address to email me

          Comment

          • Long

            #6
            Re: How to include an HTML doc in another HTML doc

            "Brian" <usenet1@juliet remblay.com.inv alid-remove-this-part> wrote in message
            news:n0zlb.8551 71$uu5.152624@s ccrnsc04...
            : Long wrote:
            : > "Steve Pugh" <steve@pugh.net > wrote
            : >> "Long" <longNOSPAMs2i@ rogers.com> wrote:
            : >>>
            : >>>How to include an HTML doc in another HTML doc
            : >>
            : >> Didn't you post this spam just 12 hours ago?
            : >
            : > How so?
            :
            : What are you arguing about? You posted the same message twice.
            :
            Same message, twice?

            How does including an external file (any file) vs. external HTML be
            considered the same? If you use #include on an HTML doc, you
            would get a malformed (eventhough some browsers are more forgiving)
            generated result right?

            : lWllb.2919$h61. 704@news01.bloo r.is.net.cable. rogers.com
            :
            : Texlb.13397$h61 .5258@news01.bl oor.is.net.cabl e.rogers.com
            :
            : > I am providing a how-to series to solve specific problems relating
            : > to authoring HTML. The material is meant to be informative and open
            : > people to new ideas.
            :
            : I don't care how you try to spin it. You posted the same message in
            : less than 1 day. The message is promoting some commercial product.
            : That makes it look like spam. And the last bit -- "material...mea nt
            : to be informative and open people to new ideas" -- well that's just
            : insulting our intelligence.
            :
            No insults intended. I am promoting the use of the product. Not so that
            you will buy it. The product is best made available through ISPs. In which
            it will cost web authors and designers next to nothing to use it.

            Long




            Comment

            • Beauregard T. Shagnasty

              #7
              Re: How to include an HTML doc in another HTML doc

              Brian pounced upon this pigeonhole and pronounced:[color=blue]
              > Long wrote:[color=green]
              > > How to include an HTML doc in another HTML doc
              > > One possible way is to add a[/color]
              >
              > Hmm. I'm experiencing déjà vu. Or déjà spammed.[/color]

              Yep, he's trying to promote the same thing in alt.html.webedi t under the
              guise of solving a minor authoring question. Now I'm convinced it is spam.

              --
              -bts
              -This space intentionally left blank.

              Comment

              • Beauregard T. Shagnasty

                #8
                Re: How to include an HTML doc in another HTML doc

                Beauregard T. Shagnasty pounced upon this pigeonhole and pronounced:[color=blue]
                > Brian pounced upon this pigeonhole and pronounced:[color=green]
                > > Long wrote:[color=darkred]
                > > > How to include an HTML doc in another HTML doc
                > > > One possible way is to add a[/color]
                > >
                > > Hmm. I'm experiencing déjà vu. Or déjà spammed.[/color]
                >
                > Yep, he's trying to promote the same thing in alt.html.webedi t under the
                > guise of solving a minor authoring question. Now I'm convinced it is spam.[/color]

                Sorry, it was alt.html, not the webedit subgroup.

                --
                -bts
                -This space intentionally left blank.

                Comment

                • Long

                  #9
                  Re: How to include an HTML doc in another HTML doc


                  "Beauregard T. Shagnasty" <a.nony.nous@ex ample.invalid> wrote in message
                  news:mmzlb.4616 2$Sc7.42247@twi ster.nyroc.rr.c om...
                  : Beauregard T. Shagnasty pounced upon this pigeonhole and pronounced:
                  : > Brian pounced upon this pigeonhole and pronounced:
                  : > > Long wrote:
                  : > > > How to include an HTML doc in another HTML doc
                  : > > > One possible way is to add a
                  : > >
                  : > > Hmm. I'm experiencing déjà vu. Or déjà spammed.
                  : >
                  : > Yep, he's trying to promote the same thing in alt.html.webedi t under the
                  : > guise of solving a minor authoring question. Now I'm convinced it is spam.
                  :
                  : Sorry, it was alt.html, not the webedit subgroup.
                  :
                  bts, I really appreciated your help with the site review, but now you (and others)
                  are singling me out as spam? Don't you have better things to do?

                  Regards,

                  Long



                  Comment

                  • Beauregard T. Shagnasty

                    #10
                    Re: How to include an HTML doc in another HTML doc

                    Long pounced upon this pigeonhole and pronounced:[color=blue]
                    >
                    > "Beauregard T. Shagnasty" <a.nony.nous@ex ample.invalid> wrote in message
                    > news:mmzlb.4616 2$Sc7.42247@twi ster.nyroc.rr.c om...
                    > : Beauregard T. Shagnasty pounced upon this pigeonhole and pronounced:
                    > : > Brian pounced upon this pigeonhole and pronounced:
                    > : > > Long wrote:
                    > : > > > How to include an HTML doc in another HTML doc
                    > : > > > One possible way is to add a
                    > : > >
                    > : > > Hmm. I'm experiencing déjà vu. Or déjà spammed.
                    > : >
                    > : > Yep, he's trying to promote the same thing in alt.html.webedi t under the
                    > : > guise of solving a minor authoring question. Now I'm convinced it is spam.
                    > :
                    > : Sorry, it was alt.html, not the webedit subgroup.
                    > :
                    > bts, I really appreciated your help with the site review, but now you (and others)
                    > are singling me out as spam?[/color]

                    Yes, I was just thinking a minute ago about your request for site
                    critique. Was it another subtle spam? 'Twas odd that you post a request
                    for review of your site, then within hours promote the site as a non-free
                    solution to a couple of requests for help.
                    [color=blue]
                    > Don't you have better things to do?[/color]

                    Not until the World Series starts. <g> [American baseball]

                    --
                    -bts
                    -This space intentionally left blank.

                    Comment

                    • Long

                      #11
                      Re: How to include an HTML doc in another HTML doc

                      "Beauregard T. Shagnasty" <a.nony.nous@ex ample.invalid> wrote in message
                      news:JVzlb.4618 0$Sc7.6909@twis ter.nyroc.rr.co m...
                      : Long pounced upon this pigeonhole and pronounced:
                      : >
                      : > "Beauregard T. Shagnasty" <a.nony.nous@ex ample.invalid> wrote in message
                      : > news:mmzlb.4616 2$Sc7.42247@twi ster.nyroc.rr.c om...
                      : > : Beauregard T. Shagnasty pounced upon this pigeonhole and pronounced:
                      : > : > Brian pounced upon this pigeonhole and pronounced:
                      : > : > > Long wrote:
                      : > : > > > How to include an HTML doc in another HTML doc
                      : > : > > > One possible way is to add a
                      : > : > >
                      : > : > > Hmm. I'm experiencing déjà vu. Or déjà spammed.
                      : > : >
                      : > : > Yep, he's trying to promote the same thing in alt.html.webedi t under the
                      : > : > guise of solving a minor authoring question. Now I'm convinced it is spam.
                      : > :
                      : > : Sorry, it was alt.html, not the webedit subgroup.
                      : > :
                      : > bts, I really appreciated your help with the site review, but now you (and others)
                      : > are singling me out as spam?
                      :
                      : Yes, I was just thinking a minute ago about your request for site
                      : critique. Was it another subtle spam? 'Twas odd that you post a request
                      : for review of your site, then within hours promote the site as a non-free
                      : solution to a couple of requests for help.
                      :
                      No, it was a genuine request. Your critique was on a second revision of our web
                      site. The first release was on Oct 13th and it bombed badly. You can google
                      comp.lang.small talk for the posts if you are interested.

                      Our product is brand new and we are anxious to get the words out. It is so
                      hard to be heard these days.

                      : > Don't you have better things to do?
                      :
                      : Not until the World Series starts. <g> [American baseball]
                      :
                      What kinds of other baseball are out there? Perhaps Canadian baseball <g>

                      Long



                      Comment

                      • Beauregard T. Shagnasty

                        #12
                        Re: How to include an HTML doc in another HTML doc

                        Long pounced upon this pigeonhole and pronounced:[color=blue]
                        > "Beauregard T. Shagnasty" <a.nony.nous@ex ample.invalid> wrote in message
                        > news:JVzlb.4618 0$Sc7.6909@twis ter.nyroc.rr.co m...
                        > ...[/color]
                        [color=blue]
                        > : Not until the World Series starts. <g> [American baseball]
                        > :
                        > What kinds of other baseball are out there? Perhaps Canadian baseball <g>[/color]

                        Did you see the TV movie "The Comrades of Summer" ? 1992, Joe Mantegna



                        --
                        -bts
                        -This space intentionally left blank.

                        Comment

                        • Brian

                          #13
                          Re: How to include an HTML doc in another HTML doc

                          Long wrote:[color=blue]
                          >
                          > No insults intended. I am promoting the use of the product. Not so
                          > that you will buy it.[/color]

                          No, I would not. I don't like spam.

                          bye

                          --
                          Brian
                          follow the directions in my address to email me

                          Comment

                          • Long

                            #14
                            Re: How to include an HTML doc in another HTML doc

                            "Beauregard T. Shagnasty" <a.nony.nous@ex ample.invalid> wrote in message
                            news:jjAlb.4618 9$Sc7.8695@twis ter.nyroc.rr.co m...
                            : Long pounced upon this pigeonhole and pronounced:
                            : > "Beauregard T. Shagnasty" <a.nony.nous@ex ample.invalid> wrote in message
                            : > news:JVzlb.4618 0$Sc7.6909@twis ter.nyroc.rr.co m...
                            : > ...
                            :
                            : > : Not until the World Series starts. <g> [American baseball]
                            : > :
                            : > What kinds of other baseball are out there? Perhaps Canadian baseball <g>
                            :
                            : Did you see the TV movie "The Comrades of Summer" ? 1992, Joe Mantegna
                            :
                            : http://imdb.com/title/tt0103997/
                            :
                            No, but I was being sarcastic...




                            Comment

                            • Stan Brown

                              #15
                              Re: How to include an HTML doc in another HTML doc

                              In article
                              <mFxlb.13670$h6 1.6410@news01.b loor.is.net.cab le.rogers.com> in
                              comp.infosystem s.www.authoring.html, Long <longNOSPAMs2i@ rogers.com>
                              wrote:
                              (when called on posting multiple ads)[color=blue]
                              >I am providing a how-to series to solve specific problems relating
                              >to authoring HTML. The material is meant to be informative and open people
                              >to new ideas.[/color]

                              Please send me your home telephone number. I have an exciting
                              opportunity I'd like to make you aware of, to help you solve
                              specific problems. But I won't post it here because it's about
                              something other than HTML.

                              Is 3 am an okay time to call?

                              --
                              Stan Brown, Oak Road Systems, Cortland County, New York, USA

                              HTML 4.01 spec: http://www.w3.org/TR/html401/
                              validator: http://validator.w3.org/
                              CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
                              2.1 changes: http://www.w3.org/TR/CSS21/changes.html
                              validator: http://jigsaw.w3.org/css-validator/

                              Comment

                              Working...