Read a topic off-line

Talk about anything and everything here within reason.
Post Reply
Rydon   100 W

100 W
Posts: 163
Joined: Aug 11 2016 5:26pm

Read a topic off-line

Post by Rydon » Feb 08 2019 7:38pm

Is it possible to download a topic on Endless Sphere (a phpBB forum) to read offline? I have some airplane time coming up and need to peruse a topic that is over 100 pages.

User avatar
neptronix   100 GW

100 GW
Posts: 13183
Joined: Jun 15 2010 5:56pm
Location: California refugee living in Utah, USA
Contact:

Re: Read a topic off-line

Post by neptronix » Feb 08 2019 8:04pm

AFAIK, the forum gives you no options for doing this.
If you try to use winhttrack, you're probably going to end up with >100gb of data that consists of everything on the forum.

You could use a screenshot tool that captures the whole page, or the web browser's 'save page' function and manually save everything. A bit tedious, but it would work.
Efficiency is everything :bolt:


My first major build: 8T MAC motor on a Trek 4500.
The new all-arounder: Leafmotor 1500w on a Turner O2 full suspension.
The monster scooter: ? on a Cannondale Semi Recumbent.

User avatar
amberwolf   100 GW

100 GW
Posts: 25997
Joined: Aug 17 2009 6:43am
Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group
Contact:

Re: Read a topic off-line

Post by amberwolf » Feb 09 2019 1:58am

DTS, DownloadThisSite (which I think uses winhttrack?) can be used for that sort of thing. Might take you a few tries to get it to download all of a thread including pics but not anything else. It has uplevel and downlevel controls, so you *can* narrow it down...just odn't know if you can do it to just one thread.

Or you could download the whole site using it, and have all the threads at the current state, at least.

mark5   100 kW

100 kW
Posts: 1232
Joined: Dec 28 2011 9:26pm
Location: USA

Re: Read a topic off-line

Post by mark5 » Feb 09 2019 6:27pm

I haven't tried it but the wkhtmltopdf program is supposed to be able to render a webpage and write to pdf from a Windows, Mac, or Linux command-line. So assuming it works ok all you'd have to do is generate 100 urls like:

Code: Select all

https://endless-sphere.com/forums/viewtopic.php?f=<forum #>&t=<topic #>
https://endless-sphere.com/forums/viewtopic.php?f=<forum #>&t=<topic #>&start=25
...
https://endless-sphere.com/forums/viewtopic.php?f=<forum #>&t=<topic #>&start=2450
into a file and feed it to wkhtmltopdf.

What is the topic, Rydon?

ETA: tried it; looks ok. Output file attached.
topiclastpage.pdf
(734.6 KiB) Downloaded 13 times

User avatar
neptronix   100 GW

100 GW
Posts: 13183
Joined: Jun 15 2010 5:56pm
Location: California refugee living in Utah, USA
Contact:

Re: Read a topic off-line

Post by neptronix » Feb 09 2019 7:40pm

Suddenly i'm grateful for all the work i did to the CSS on this site. Otherwise this would look pretty bad in a PDF. It's not too bad!
I never considered that the site would be printed to PDF when tweaking the CSS, so that's a stroke of luck, lol.
Efficiency is everything :bolt:


My first major build: 8T MAC motor on a Trek 4500.
The new all-arounder: Leafmotor 1500w on a Turner O2 full suspension.
The monster scooter: ? on a Cannondale Semi Recumbent.

Post Reply