Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-24-2002, 05:23 PM   #1
MrPopup
Confirmed User
 
Join Date: Aug 2002
Location: on the internet
Posts: 3,783
Combining 100's of HTML pages into 1. Ideas?

Just looking to see if anyone has any creative ideas....

I have a directory with about 200 standard HTML pages that I am trying to append into one BIG page.

Any thoughts on how I can do this quickly and easily?
__________________
<table cellspacing="0" cellpadding="3" border="1" bgcolor="#008000"><tr><td><font size=3>Gone</font></td></tr></table>
MrPopup is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 05:47 PM   #2
NitroPhil
Confirmed User
 
Join Date: Jun 2002
Location: Lightspeed Sorority
Posts: 103
The quick and dirty method is to use the unix "cat" command...

ex/ cat *.htm >output.htm

This will take all contents from all .htm files and put them in output.htm

A simple perl script could do something similar and you could format the output so you don't have a billion extra HTML tags.
__________________
<a href="http://www.lightspeedcash.com"> Make money at the speed of light!</a><br>
- Wouldn't it be cool to own a retarded monkey?
NitroPhil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 05:52 PM   #3
Choder
Confirmed User
 
Join Date: Jul 2002
Location: Los Angeles, CA
Posts: 446
Print all the pages out and tape them together from top to bottom, forming one long page. Then buy text recognition software and a scanner that supports it. Buy a feeder that will slide the now 100-page long paper through your scanner, slow enough to recognize the text.

Then take the text that has been scanned and convert it into html (you'll need to remember what was bold and everything, and use those tags).

And as an added bonus, you'll have a 100 foot long "rope" if you will, of taped paper. Fold it up carefully and keep it on your nightstand. In case of a fire, drop it out your window and climb to safety.
__________________
Make money with your exit/404 traffic - hit up ICQ 26910698
<br>
"My eyes! The goggles do nothing!"

Last edited by Choder; 09-24-2002 at 05:57 PM..
Choder is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 05:58 PM   #4
MrPopup
Confirmed User
 
Join Date: Aug 2002
Location: on the internet
Posts: 3,783
Quote:
Originally posted by Choder
And as an added bonus, you'll have a 100 foot long "rope" if you will, of taped paper. Fold it up carefully and keep it on your nightstand. In case of a fire, drop it out your window and climb down it to safety.
Idiot. You think I'm gonna trust a paper ladder in the event of a fire? Come on. Be serious for a second.

I'll just jump into your mama's gash. Im sure that'll be big enough to catch me.

Booo.... Mama Jokes.
__________________
<table cellspacing="0" cellpadding="3" border="1" bgcolor="#008000"><tr><td><font size=3>Gone</font></td></tr></table>
MrPopup is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 05:59 PM   #5
Satan
Confirmed User
 
Industry Role:
Join Date: Jun 2005
Location: Hell
Posts: 1,626
Quote:
Originally posted by Choder
Print all the pages out and tape them together from top to bottom, forming one long page. Then buy text recognition software and a scanner that supports it. Buy a feeder that will slide the now 100-page long paper through your scanner, slow enough to recognize the text.

Then take the text that has been scanned and convert it into html (you'll need to remember what was bold and everything, and use those tags).

And as an added bonus, you'll have a 100 foot long "rope" if you will, of taped paper. Fold it up carefully and keep it on your nightstand. In case of a fire, drop it out your window and climb to safety.
Thats not silly.... its fucking NUTS! but not silly
__________________
WHO THE FUCK ARE YOU?
Satan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 06:00 PM   #6
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
under windows you can use copy *.html+*.html output.html
( command mode )
Then with a text editor remove the html / html tags
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 06:06 PM   #7
Choder
Confirmed User
 
Join Date: Jul 2002
Location: Los Angeles, CA
Posts: 446
Quote:
Originally posted by MrPopup


Idiot. You think I'm gonna trust a paper ladder in the event of a fire? Come on. Be serious for a second.

I'll just jump into your mama's gash. Im sure that'll be big enough to catch me.

Booo.... Mama Jokes.
Yes...I'm the idiot all right...
__________________
Make money with your exit/404 traffic - hit up ICQ 26910698
<br>
"My eyes! The goggles do nothing!"
Choder is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 06:12 PM   #8
MrPopup
Confirmed User
 
Join Date: Aug 2002
Location: on the internet
Posts: 3,783
Quote:
Originally posted by Choder


Yes...I'm the idiot all right...
Okay fuck it...I'll go you one better. Yes, I am the idiot in question.
__________________
<table cellspacing="0" cellpadding="3" border="1" bgcolor="#008000"><tr><td><font size=3>Gone</font></td></tr></table>
MrPopup is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 06:14 PM   #9
Redbone
Confirmed User
 
Join Date: Mar 2002
Posts: 323
The "rope" could also be used to hang yourself.
__________________
Pffffffftttttttth. I'm done.
Redbone is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 06:22 PM   #10
Choder
Confirmed User
 
Join Date: Jul 2002
Location: Los Angeles, CA
Posts: 446
Quote:
Originally posted by MrPopup


Okay fuck it...I'll go you one better. Yes, I am the idiot in question.
Hmm...you win this round...
__________________
Make money with your exit/404 traffic - hit up ICQ 26910698
<br>
"My eyes! The goggles do nothing!"
Choder is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2002, 09:10 PM   #11
fnet
Confirmed User
 
Join Date: Jul 2002
Posts: 1,721
Quote:
Originally posted by MrPopup
Just looking to see if anyone has any creative ideas....

I have a directory with about 200 standard HTML pages that I am trying to append into one BIG page.

Any thoughts on how I can do this quickly and easily?
Without parsing it, no idea.

if you have cygwin installed, you could use the cygwin version of sed to pull the body text out of each file pipe, and map over each directory list element.

or you could use sed to grab the body elements of "cat *.html" as suggested and pipe the result to out.html.
__________________
the sound of one hand googlewhacking
fnet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.