[Expo-tech] Logbook parsing?

Philip Sargent (Gmail) philip.sargent at gmail.com
Wed Mar 27 17:24:04 GMT 2019


So probably better to remove that "functionality" then ?

-----Original Message-----
From: Expo-tech [mailto:expo-tech-bounces at lists.wookware.org] On Behalf Of Sam Wenham
Sent: 27 March 2019 16:37
To: expo-tech at lists.wookware.org
Subject: Re: [Expo-tech] Logbook parsing?

The cause of this is that the tags on the weird looking one are all in
caps. Change them to lowercase and it will work better.

I'm not sure the edit link would even work. Changing the entry in the
database is easy but changing a sub section of a file that is badly
formatted without rewriting the rest of the file sounds like a recipe
for disaster. If you want to do that you need a real file standard we
actually stick to.

Sam

On 27/03/2019 13:27, Philip Sargent (Gmail) wrote:
> This is all new to me. Looking at http://expo.survex.com/expedition/2018
> some of the logbook entries are properly parsed, such as
> http://expo.survex.com/logbookentry/2018-08-15/fgh-derig
> and others make a mess of the HTML, such as
> http://expo.survex.com/logbookentry/2018-08-08/top-camp-surface-prospecting-
> old-new-caves-85-hour 
> 
> OK, so not a big deal. No doubt will get fixed in due course, either by
> improving the parser or by editing the logbook.
> 
> 
> But what really puzzles me is the link to edit in-situ the logbook entry in
> the header:
> 
> Website home | You are logged in as expo sort your profile . | Log out Edit
> logbook entry 2018-08-08: (Top Camp - Surface Prospecting - Old & New Caves
> - 8.5 hours)
> i.e. the link to http://expo.survex.com/admin/core/logbookentry/16/
> which seems to be editing the database entry for the logbook. But won't any
> edits here just get overwritten when the database is next regenerated from
> the master logbook file? (Looks very powerful though.)
> 
> Should this functionality be retired?
> 
> 
> _______________________________________________
> Expo-tech mailing list
> Expo-tech at lists.wookware.org
> https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech
> 

_______________________________________________
Expo-tech mailing list
Expo-tech at lists.wookware.org
https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech




More information about the Expo-tech mailing list