Was just thinking it would be nice to be able to convert some old build threads into PDF files, to have an offline copy. I know there are tools out there that can convert an html page to PDF, but that'd only be one page at a time. Some of my old threads are 25+ pages long.
It's pretty computationally expensive to do PDF exports on the server side, but having a one-page reading mode would make it easy to print the page as a PDF on the client side with no extra load on the server (other than possibly having to load a ton of images from the GRM AWS bucket at once).
wae
PowerDork
7/11/22 3:55 p.m.
You could use wget to pull everything down for a local copy, but you'd still need to print each page individually. In Windows, get the latest version of wget and then use powershell:
Using the build thread for der Scheißwagen as a test:
for ($num=1;$num -le 26;$num++){.\wget.exe -p https://grassrootsmotorsports.com/forum/build-projects-and-project-cars/they-said-it-cant-be-fixed-journey-inside-mercedes/142999/page$num/}
I get a directory for each page with the index.html.
With some sed or perl work, I could probably figure a way to stitch those all together as a single page.... hmm
wae said:
You could use wget to pull everything down for a local copy, but you'd still need to print each page individually. In Windows, get the latest version of wget and then use powershell:
Using the build thread for der Scheißwagen as a test:
for ($num=1;$num -le 26;$num++){.\wget.exe -p https://grassrootsmotorsports.com/forum/build-projects-and-project-cars/they-said-it-cant-be-fixed-journey-inside-mercedes/142999/page$num/}
I get a directory for each page with the index.html.
With some sed or perl work, I could probably figure a way to stitch those all together as a single page.... hmm
Yeah, come to think of it, each thread page is a predictable name, isn't it?
Copy & paste to MS Word or Google Doc?