walkhighlands

Check this board for announcements about new features and content on Walkhighlands

Backing up Walk Reports

Backing up Walk Reports


Postby emjga » Tue Jul 06, 2021 7:53 pm

In the very unlikely event of Walk Highlands having a catastrophic failure
All your Walk Blogs would be lost for ever.

Is there a way to try and backup the Personal Walk Blogs ?

If you click on the Email / Print it only gives you a little bit of the info.
Does not include the all important Data / miles (KM)

Any thoughts

Matt
emjga
Walker
 
Posts: 28
Munros:65   Corbetts:4
Grahams:2   
Sub 2000:2   Hewitts:3
Joined: Jun 2, 2020

Re: Backing up Walk Reports

Postby Mal Grey » Tue Jul 06, 2021 8:43 pm

One option might simply to go to Edit your report, and copy the whole thing before pasting into word or similar.
I think this will only work if you use links to photos hosted elsewhere though, not uploaded directly. Also not sure if formatting will remain.
I generally host my images on Flickr, and write reports in Word, so I already have a copy saved, it just doesn’t show images, only the link urls.
User avatar
Mal Grey
Wanderer
 
Posts: 3862
Munros:112   Corbetts:20
Grahams:9   
Sub 2000:3   Hewitts:113
Wainwrights:71   Islands:5
Joined: Dec 1, 2011
Location: Surrey, probably in a canoe! www.wildernessisastateofmind.co.uk

Re: Backing up Walk Reports

Postby kmai1961 » Thu Jul 08, 2021 10:01 am

There's also a "print view" icon in the top right corner whilst you're editing or even just looking at a report. You can use this icon to either print a hard copy, or to PDF. (I keep telling myself that I'm going to start doing this -- the PDF option -- every time I post a report, but I haven't yet :roll: :lol: ).

Like Mal, I also write my reports elsewhere (Word) before posting them and inserting the pics (also from Flickr for me). So I've got copies of the text, and the photos, but they're filed separately. If I were to print PDFs using the print icon, I'd have an archived copy of the entire thing. (Overkill, anyone? :lol: )
kmai1961
Wanderer
 
Posts: 569
Munros:282   Corbetts:148
Grahams:69   Donalds:63
Sub 2000:34   Hewitts:25
Wainwrights:30   Islands:24
Joined: Aug 12, 2012
Location: nr Glasgow

Re: Backing up Walk Reports

Postby emjga » Thu Jul 08, 2021 6:00 pm

Folks

Good idea's on doing the report in Word

I did find another option and that is using Wget
You may not have it installed on a Windows machine by default.

https://eternallybored.org/misc/wget/

Then a simple batch file to download the Walk Blogs

Change emjga to your username

Code: Select all
@echo off
REM Use wget to get the main index page with the walk blogs
C:\Users\uosa\Desktop\wget_test\wget.exe https://www.walkhighlands.co.uk/blogs/emjga

REM The Wget index page ëmjga" has string "viewtopic"
REM It has delinator = at token 4
REM This gives viewtopic ID number plus some other text
REM Saves in a file called tmpfile

for /f "tokens=4 delims==" %%a in ('"type emjga|findstr viewtopic" ') do echo %%a >> tmpfile

REM Takes the tmpfile and delinator & at token 1
REM Then echo out the http url to file viewtopic_url

for /f "tokens=1 delims=&" %%a in ('"type tmpfile" ') do echo https://www.walkhighlands.co.uk/Forum/viewtopic.php?f=9^&t=%%a >> viewtopic_url

REM delete the tmpfile
del tmpfile

REM Now dump the Walk Blogs but keep the .html so you can open with your browser
REM take the URL from the file viewtopic_url
REM -E adds .html
REM -nc No Clobber if the file exists all ready

C:\Users\uosa\Desktop\wget_test\wget.exe -i viewtopic_url -E -nc

REM Now tidy up
del emjga
del viewtopic_url



You then have a load of HTML files which you can open with your browser
For some reason there is a whole load of stuff at the start of the HTML file
At the end you should find your walk report.

It is a crude way of doing it but seems to work for me at least.
emjga
Walker
 
Posts: 28
Munros:65   Corbetts:4
Grahams:2   
Sub 2000:2   Hewitts:3
Joined: Jun 2, 2020




Walkhighlands community forum is advert free


Your generosity keeps this site running.
Can you help support Walkhighlands and the online community by donating by direct debit?



Return to Walkhighlands announcements and feedback

Who is online

Users browsing this forum: No registered users and 1 guest