robin: html pagination

hello!

i'm looking for a way to put multiple html documents in one big file.
my intention is to generate for example 3000 html-newsletters and put them in one big file using some kind of seperator. When the messages are going to be sent they should be seperated by that seperator again.

I think that there might be a standard for doing that in html. Do you know any? I looked at w3c and w3schools but could not find anything..

regards,
robin

  1. Hi,

    i'm looking for a way to put multiple html documents in one big file.

    Is the big file supposed to be HTML?

    If so, it is not simple - as each HTML document has exactly one html and one body element - but you would put multiple html elements into the file.
    You would have to remove the doctypes, the tags of the html element and the body element, the head elements (with all their contents).
    Of course you would have to add exactly ONE doctype and one head element.
    You should also add some separator (I'd suggest a hr element with a special class attribute, or if the separator should be invisible, a special comment).

    If the big file is supposed to be just a big file (not an HTML document), just put the files together - no special separator needed, as each single html document starts with a doctype, you can use the doctype as the position for splitting the file again.

    cu,
    Andreas

    --
    Warum nennt sich Andreas hier MudGuard?
    Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.
    1. Hi,

      Is the big file supposed to be HTML?

      If so, it is not simple - as each HTML document has exactly one html and one body element - but you would put multiple html elements into the file.
      You would have to remove the doctypes, the tags of the html element and the body element, the head elements (with all their contents).
      Of course you would have to add exactly ONE doctype and one head element.
      You should also add some separator (I'd suggest a hr element with a special class attribute, or if the separator should be invisible, a special comment).

      Just as I sent the posting, I remembered more complications:
      As id-values must be unique per document, you'd have to find a way to make them unique.
      Also fragment identifiers (as in <a name="fragmentid">) could be a problem if they are not unique any longer ...

      cu,
      Andreas

      --
      Warum nennt sich Andreas hier MudGuard?
      Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.
  2. Hallo,

    du bist in einem deutschen Forum.

    Mit freundlichen Grüßen

    André

    1. Hallo Zeromancer,

      Um auf Deine Frage im Titel zu antworten:

      < http://www.selfhtml.org/#en>

      Viele Grüße,
      Christian

      1. Hallo Christian,

        Um auf Deine Frage im Titel zu antworten:

        http://www.selfhtml.org/#en

        Cool!  ;-)

        Mit freundlichen Grüßen

        André

        1. Moinsen,

          Hallo Christian,

          Um auf Deine Frage im Titel zu antworten:

          http://www.selfhtml.org/#en

          Cool!  ;-)

          hmmm, ja, aber das forum gibts nur auf deutsch.
          und wenn man ins englishce selfhtml geht und auf forum klickt kommt man trotzdem ins deutsche forum...

          Gruss/Danke/Bitte
          mfg nuss

          --
          Learning by Doing - probieren geht ueber studieren!
          Haetten das die Leute frueher nicht gemacht haetten wir heute keine Computer ;-)
          (Wer kaempft kann verlieren, wer nicht kaempft, hat schon verloren!)
          1. Hi,

            hmmm, ja, aber das forum gibts nur auf deutsch.

            Nein. Zwar nicht auf Englisch, aber auch nicht nur auf Deutsch: http://forum.fr.selfhtml.org/

            cu,
            Andreas

            --
            Warum nennt sich Andreas hier MudGuard?
            Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.
            1. Moinsen,

              hmmm, ja, aber das forum gibts nur auf deutsch.

              Nein. Zwar nicht auf Englisch, aber auch nicht nur auf Deutsch: http://forum.fr.selfhtml.org/

              Du musst wohl immer alles ganz genau nehmen, gelle ;-)

              Gruss/Danke/Bitte
              mfg nuss

              --
              Learning by Doing - probieren geht ueber studieren!
              Haetten das die Leute frueher nicht gemacht haetten wir heute keine Computer ;-)
              (Wer kaempft kann verlieren, wer nicht kaempft, hat schon verloren!)