AutomatedGenealogy.com
http://192.168.88.137:81/phpBB3/

LAC linking: URL error.
http://192.168.88.137:81/phpBB3/viewtopic.php?f=23&t=6255
Page 1 of 1

Author:  mcmichel [ Mon Sep 04, 2017 1:05 pm ]
Post subject:  LAC linking: URL error.

Hello,

An attempt to link a LAC record will lead to an invalid URL, since LAC is generating a URL with 'https' while AG is expecting a 'http'. So a manual correction of the URL is presently required.

Thanks,

Michel Dubois, Quebec City.

Author:  Lindsay Patten [ Sat Sep 09, 2017 11:40 pm ]
Post subject:  Re: LAC linking: URL error.

mcmichel wrote:
An attempt to link a LAC record will lead to an invalid URL, since LAC is generating a URL with 'https' while AG is expecting a 'http'. So a manual correction of the URL is presently required.


If one starts with the LAC link in the linking centre https won't be used and everything works as expected. Are you just suggesting that it should accept either one?

Author:  mcmichel [ Mon Sep 11, 2017 12:29 pm ]
Post subject:  Re: LAC linking: URL error.

Hello Lindsay,

Here is the path I followed for the Octave Latulippe record on the following page in 1901:

http://automatedgenealogy.com/census/View.jsp?id=82556

First, I selected the linking icon at the right in 1901.

Second, I went through a search of Octave Latulippe on LAC1891 through Google:

Third, I clicked on 'Item Number: 4383070' which lead to:

https://www.bac-lac.gc.ca/eng/census/18 ... id=4383070

Fourth, I copied the resulting URL on the link center which lead to

"Unrecognized PANB/LAC link: https://www.bac-lac.gc.ca/eng/census/18 ... id=4383070"

Fifth, I modified the 'https' argument to 'http' which lead to an accepted URL by AG.

So, as you suggest AG could accept either http or https.

Thanks for your interest,

Michel Dubois, Quebec City.

Author:  Lindsay Patten [ Tue Sep 12, 2017 2:42 pm ]
Post subject:  Re: LAC linking: URL error.

The "issue" occurred because the Google search returned a result with https.

Since it was easy, I added a line to the code to change https to http automatically.

Author:  mcmichel [ Wed Sep 13, 2017 1:46 pm ]
Post subject:  Re: LAC linking: URL error.

Hello Lindsay,

Great! And it works so well.

Thanks again,

Michel Dubois, Quebec City.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/