Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Merging of Two HTML files

Merging of Two HTML files

Scheduled Pinned Locked Moved C / C++ / MFC
html
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krishnakumartm
    wrote on last edited by
    #1

    AIM: Merging of two HTML documents of Mozilla fire fox 2.0.0.16 Process i did: Parsed into data base and then reconstructing. Is there any way to merge two files Thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    T D L 3 Replies Last reply
    0
    • K krishnakumartm

      AIM: Merging of two HTML documents of Mozilla fire fox 2.0.0.16 Process i did: Parsed into data base and then reconstructing. Is there any way to merge two files Thanks in advance

      ---------------------------- KRISHNA KUMAR T M

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      krishnakumartm wrote:

      Is there any way to merge two files

      Aside from doing something like:

      copy file1.htm + file2.htm newfile.htm

      "Love people and use things, not love things and use people." - Unknown

      "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

      T 1 Reply Last reply
      0
      • K krishnakumartm

        AIM: Merging of two HTML documents of Mozilla fire fox 2.0.0.16 Process i did: Parsed into data base and then reconstructing. Is there any way to merge two files Thanks in advance

        ---------------------------- KRISHNA KUMAR T M

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #3

        all depends what you mean by "merging"... if you want a basic "text-files-merge", you should be able to find some sources on the web (WinMerge is a perfect open source project of that kind). but if you want to merge tag-by-tag, you probably need to use an XML Parser to explode the DOM, and them iterate through it comparing both tags trees...

        [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

        K 1 Reply Last reply
        0
        • D David Crow

          krishnakumartm wrote:

          Is there any way to merge two files

          Aside from doing something like:

          copy file1.htm + file2.htm newfile.htm

          "Love people and use things, not love things and use people." - Unknown

          "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          At first, I understood like you (say, concatenate 2 files). but merging is something different, isn't it ?

          [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

          D 1 Reply Last reply
          0
          • T toxcct

            At first, I understood like you (say, concatenate 2 files). but merging is something different, isn't it ?

            [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            toxcct wrote:

            but merging is something different, isn't it ?

            Concatenating is merging one file to the end of another. Whether that is what the OP wanted or not is up to him.

            "Love people and use things, not love things and use people." - Unknown

            "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

            1 Reply Last reply
            0
            • K krishnakumartm

              AIM: Merging of two HTML documents of Mozilla fire fox 2.0.0.16 Process i did: Parsed into data base and then reconstructing. Is there any way to merge two files Thanks in advance

              ---------------------------- KRISHNA KUMAR T M

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #6

              krishnakumartm wrote:

              Is there any way to merge two files

              Yes. People generally hire programmers to accomplish task such as that.

              led mike

              1 Reply Last reply
              0
              • T toxcct

                all depends what you mean by "merging"... if you want a basic "text-files-merge", you should be able to find some sources on the web (WinMerge is a perfect open source project of that kind). but if you want to merge tag-by-tag, you probably need to use an XML Parser to explode the DOM, and them iterate through it comparing both tags trees...

                [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

                K Offline
                K Offline
                krishnakumartm
                wrote on last edited by
                #7

                Yes you got my point what exactly i want is File 1 -------- same file modified as bellow child 2 deleted , child 3 added File 2 ------ After synchronize look like File 3 -------- i don't know XML using in VC 6.0 so let me know any other way modified on Tuesday, November 18, 2008 12:31 PM

                T 1 Reply Last reply
                0
                • K krishnakumartm

                  Yes you got my point what exactly i want is File 1 -------- same file modified as bellow child 2 deleted , child 3 added File 2 ------ After synchronize look like File 3 -------- i don't know XML using in VC 6.0 so let me know any other way modified on Tuesday, November 18, 2008 12:31 PM

                  T Offline
                  T Offline
                  toxcct
                  wrote on last edited by
                  #8

                  edit you message and check the "Ignore HTML tags in this message (good for code snippets)" checkbox at the bottom of the text area... (because your tags are invisible because they've been interpreted as HTML Tags by the browser). [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups