Search This Blog

Monday, April 08, 2019

1900 lines

Well that's it. It is done. More about that in moment.

It was late start to the morning for the Gorse Fox... nearly eight before he woke up. On a work day too! Oh no, he lies... it's not a work day. Retirement is such a pleasure.

There were some domestic chores to get out of the way first thing, but they didn't take too long and all the floors are gleaming again now. Then there were several phone calls to complete. One to the airline regarding access to the planes - now sorted; and one to the Travel Insurance company.

The thing about insurance, and travel insurance is a case in point, is that the insurers seem to find so many ways to avoid paying out. With travel insurance, the common get out clause is regarding medical conditions. It is not really a matter of whether the condition is relevant to your claim, it is the fact that you went to the doctor for some treatment and didn't inform them. The Gorse Fox was not going to fall foul of this so called up and informed them of anything in which they might have an interest. To be fair they asked if anything was relevant when we actually booked the holiday - and the Gorse Fox said no, it's been booked for a year now. They said it was no problem - we're fully covered as we were unaware of any conditions when the holiday was booked. Fair enough.

Back to the code. It has taken over 1900 lines of code - none of which is likely to be re-used. The code now extracts and reformats all of the old Google Plus posts, links to any relevant photos (where Google actually extracted them), and embed any check-ins or maps. The second stage of the code runs through the extract and plugs the relevant information into the databases. Et Voila... over a thousand new entries have been added to the test version of the private blog - and in 30 minutes time, they should similarly have been added to the production version.

There is some tidying up required where GPlus generated some daft titles or failed to extract the photos - but that can be handled over time.


No comments: