imagemagick update, and EXIF gps - online edit of handbook/computing/log-blog-parsing.html

This commit is contained in:
2025-03-16 15:26:32 +00:00
committed by Expo on server
parent a038a10871
commit 6d71d1155f

View File

@@ -56,6 +56,9 @@ it is handy to print out this page and tick off the steps as you do them.
<p>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
<var>parser_blog(year, expedition, txt, sq="")</var> in <var>troggle/parsers/logbooks.py</var> will need to be completely re-written. It is currently 102 lines long and uses several regular expression recognizers.
<h3 id="exif">GPS/EXIF Gotcha</h3>
<p>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 <a href="https://expo.survex.com/repositories/troggle/.git/tree/core/views/editor_helpers.py">editor_helpers.py</a> .)
<h3 id="save">Saving the Blog</a></h3>
<img src="blog-pages.jpg" hspace="20" align="right">
<ul>