Home » Questions » Computers [ Ask a new question ]

How to stitch (paged) web pages together into one page for printing

How to stitch (paged) web pages together into one page for printing

Is there a way to stitch (paged) web pages together?

Asked by: Guest | Views: 238
Total answers/comments: 2
Guest [Entry]

"If you don't want to bother with addons, you can try and see if there is a version of the site that will dump out everything for a print version.
For most forums, there is often a lofi version which will remove the paging and display the entire thread on the one page. The trick is to find the page/directory for that particular forum software.
In your case, HealthBoards is running on vBulletin, and the lofi path to that is /archive/. This should be the new path after the directory to the boards themselves and will look like this:

http://www.healthboards.com/boards/archive/index.php

From there you can navigate back to the thread and see all the posts on a single page.
The quick grab version of a vBulletin thread:
The original thread is here:

http://www.healthboards.com/boards/showthread.php?t=296667

Quick way is to grab that value just after the t= (and before the next ampersand (&) in the URL) and replace as necessary in the below:

http://www.healthboards.com/boards/archive/index.php/t-296667.html"
Guest [Entry]

"this solution works for unix, but i'm sure you can find equivalents for vista.

first, use wget to download the files:

wget -nd -k -p ""http://www.healthboards.com/boards/printthread.php?t=296667&pp=20&page=""{1,2,3,4,5,6,7,8,9,10} --wait 5

then use cat to concatenate them. i don't know the windows equivalent of this command, but there surely must be one:

cat ""printthread.php?t=296667&pp=20&page=""* > hello.html

the file hello.html will be one big file with all the thread pages. you might get annoyed by the fact that all the pages have that vbulletin logo though!

edit: here is wget for windows. of course, you could use some other download manager

and here is how to concatenate files on windows."