Search This Blog

Saturday, September 08, 2012

Squeezing the Code

The Gorse Fox is making extraordinarily heavy weather out of some changes forced on him by a recent change in authentication for Google. A script that he regularly runs to strip the entries out of this blog and copy them to another has stopped working.

This means re-writing the authentication code for php, or re-writing the whole kit and caboodle in Python. The latter seemed like a good exercise - however GF floundering at the installation of the Google code libraries. He thinks he has followed the instructions... but when he tries to run the installation test scripts, they foobar.

2 comments:

Matt said...

No way of getting IFTTT to do the same?

The Gorse Fox said...

In essence that should be possible - but the problem is that the private blog where the entries get copied is not running all the time - I switch it on when needed and leave it off the rest of the time. Also, I want the entries to reflect the post dates from the original posts (which may not be the date they were actually created).
My current code handles all this.