From 6d71d1155f60b834607c8ee559ad58eaa79720ab Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 16 Mar 2025 15:26:32 +0000 Subject: [PATCH] imagemagick update, and EXIF gps - online edit of handbook/computing/log-blog-parsing.html --- handbook/computing/log-blog-parsing.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handbook/computing/log-blog-parsing.html b/handbook/computing/log-blog-parsing.html index 26366d478..56c28f146 100644 --- a/handbook/computing/log-blog-parsing.html +++ b/handbook/computing/log-blog-parsing.html @@ -56,6 +56,9 @@ it is handy to print out this page and tick off the steps as you do them.

The UK Caving Blog regularly upgrades its software which completely changes the hidden structure of the posts. They did this sometime between the 2017 and 2018 expos. When they do it again, the function parser_blog(year, expedition, txt, sq="") in troggle/parsers/logbooks.py will need to be completely re-written. It is currently 102 lines long and uses several regular expression recognizers. +

GPS/EXIF Gotcha

+

If at all possible, we want to ensure that we preserve the GPS locations of the photos, if they are present as EXIF data in the .jpg files. But we also want to preserve the textual context. So, directly accessing the blog on the blog website, see if you can download a photograph directly and see if it has any EXIF/gps data in it. If so, contact a nerd who will help you extract and preserve it. (The code that adds uploaded images to Cave Description pages does this correctly, in troggle file editor_helpers.py .) +

Saving the Blog