Quantcast

plz help fast! i need a tool to merge html files!

Discussion in 'The Lounge' started by ALEXIS_DH, Sep 9, 2005.

  1. ALEXIS_DH

    ALEXIS_DH Tirelessly Awesome

    Rep/Likes:
    19 / 108
    Joined:
    Jan 30, 2003
    Messages:
    5,286
    Location:
    Lima, Peru, Peru
    hi, sorry to post this in the lounge but i got this problem.

    i have like 1200 files in html that i need to copy and paste some info from into excel. since opening, copying, pasting each of them would take me forever, i was wondering if somebody knows any program that can merge all those files into a single html, so that i can just copy and paste once????

    thanks
     
    #1 -   Sep 9, 2005

    Please register to disable this ad.

  2. splat

    splat Nam I am

    Rep/Likes:
    8 / 77
    Joined:
    Apr 27, 2002
    Messages:
    14,684
    Location:
    Well Maybe Windows is Bearable ! Unix Rules !
    if it is Unix it is ieasy !!!

    $ cat *.html >> newfile.mine
     
    #2 -   Sep 9, 2005
  3. binary visions

    binary visions The voice of reason

    Rep/Likes:
    83 / 361
    Joined:
    Jun 13, 2002
    Messages:
    21,640
    Location:
    NC
    It's easy if you want to merge the actual HTML of the files. Are you merging the HTML tags, or are you trying to merge the output of the HTML (i.e. what the user sees on a webpage)?

    If you want to merge the HTML of the files, go Start/Run, type "command" and hit enter to bring up a command prompt. Navigate to the directory that contains your html files. Then do this:

    type *.html > NewHTMLFileName.html

    Badda-bing.

    edit: Or do what Splat said if it's UNIX; I assume it's not, though :p
     
    #3 -   Sep 9, 2005
  4. ALEXIS_DH

    ALEXIS_DH Tirelessly Awesome

    Rep/Likes:
    19 / 108
    Joined:
    Jan 30, 2003
    Messages:
    5,286
    Location:
    Lima, Peru, Peru

    unix?? nope.
    i want to merge all output of the html (the webpages that i see on screen) into a single one. so that i can copy and paste.
    or, import all those 1200 to excel at once.

    more help?
     
    #4 -   Sep 9, 2005
  5. binary visions

    binary visions The voice of reason

    Rep/Likes:
    83 / 361
    Joined:
    Jun 13, 2002
    Messages:
    21,640
    Location:
    NC
    Heh.

    Good luck with that. I've got no answers. I've got serious doubts about the existance of a tool like that.

    What's wrong with doing what I said above, opening that new HTML file (so you can see the output), and copy and pasting that into a new file or directly into Excel?

    The new file contains all of the markup of the old files, so it should give you every file's "output" all in one page. Might take a while to load, though.
     
    #5 -   Sep 9, 2005
  6. SkaredShtles

    SkaredShtles I love NEWCASTLE and will ONLY drink NEWCASTLE!!!!

    Rep/Likes:
    253 / 2,013
    Joined:
    Sep 21, 2003
    Messages:
    46,916
    Location:
    In a van.... down by the river
    :stupid: :stupid: :stupid:

    Install Cygwin - then you'll be able to do all those Unix-y things in Windows. :thumb:
     
    #6 -   Sep 9, 2005
  7. binary visions

    binary visions The voice of reason

    Rep/Likes:
    83 / 361
    Joined:
    Jun 13, 2002
    Messages:
    21,640
    Location:
    NC
    Or, you can do a lot of the useful unix-y things in Windows with a command prompt, natively, without installing other applications. :p
     
    #7 -   Sep 9, 2005
  8. SkaredShtles

    SkaredShtles I love NEWCASTLE and will ONLY drink NEWCASTLE!!!!

    Rep/Likes:
    253 / 2,013
    Joined:
    Sep 21, 2003
    Messages:
    46,916
    Location:
    In a van.... down by the river
    Yeah - but then you have to figure out what the damned Windows command is. :p
     
    #8 -   Sep 9, 2005
  9. binary visions

    binary visions The voice of reason

    Rep/Likes:
    83 / 361
    Joined:
    Jun 13, 2002
    Messages:
    21,640
    Location:
    NC
    Oh, yeah, 'cause "cat" is real intuitive ;)
     
    #9 -   Sep 9, 2005
  10. splat

    splat Nam I am

    Rep/Likes:
    8 / 77
    Joined:
    Apr 27, 2002
    Messages:
    14,684
    Location:
    Well Maybe Windows is Bearable ! Unix Rules !
    Yeah But I can't live with out Grep!
     
  11. riderx

    riderx Monkey

    Rep/Likes:
    6 / 0
    Joined:
    Aug 14, 2001
    Messages:
    704
    Location:
    Fredrock
    You are f***ed. Go buy a dozen espressos and start cutting and pasting...
     
  12. pixelninja

    pixelninja Turbo Monkey

    Rep/Likes:
    4 / 0
    Joined:
    Jun 14, 2003
    Messages:
    2,131
    Location:
    Denver, CO
  13. SkaredShtles

    SkaredShtles I love NEWCASTLE and will ONLY drink NEWCASTLE!!!!

    Rep/Likes:
    253 / 2,013
    Joined:
    Sep 21, 2003
    Messages:
    46,916
    Location:
    In a van.... down by the river
    Ummmmm..... maybe not. But it's what I know. :thumb:
     
  14. peter6061

    peter6061 Turbo Monkey

    Rep/Likes:
    0 / 0
    Joined:
    Nov 19, 2001
    Messages:
    1,577
    Location:
    Kenmore, WA
    BV's method seemed to work very well for me. I don't know why you wouldn't just use that. I just merged 70 or so files and got the output on the same screen. Took all of about 30 seconds(mostly navigating in DOS, but not hard at all)