Greetings, wwwqrz.com have changed their URL for callsign lookups to include a ../db/.. at the end. The following patch makes this change in the xlog source code (2.0.3 and the current cvs version).
Ref: http://www.qrz.com/i/linking.html Cheers, Paul Schulz (VK5FPAW)
diff --git a/data/doc/manual.tex b/data/doc/manual.tex index 2cc9c93..634a633 100644 --- a/data/doc/manual.tex +++ b/data/doc/manual.tex @@ -109,7 +109,7 @@ and you have a locator field in the log. \medskip The main xlog window has a button next to the callsign entry. When clicked it will lookup the callsign with your internet browser on your preferred server. -It takes the form http://www.qrz.com/<call>, where <call> will be replaced +It takes the form http://www.qrz.com/db/<call>, where <call> will be replaced with the callsign. \medskip diff --git a/data/doc/manual/node6.html b/data/doc/manual/node6.html index 38c8038..feaa6d5 100644 --- a/data/doc/manual/node6.html +++ b/data/doc/manual/node6.html @@ -82,7 +82,7 @@ and you have a locator field in the log. <BR> The main xlog window has a button next to the callsign entry. When clicked it will lookup the callsign with your internet browser on your preferred server. -It takes the form http://www.qrz.com/<call>, where <call> will be replaced +It takes the form http://www.qrz.com/db/<call>, where <call> will be replaced with the callsign. <P> diff --git a/src/cfg.c b/src/cfg.c index 26102a6..9bb8ce1 100644 --- a/src/cfg.c +++ b/src/cfg.c @@ -220,7 +220,7 @@ config_create (void) preferences.awardswaz = 0; preferences.awardsiota = 0; preferences.awardsloc = 0; - preferences.openurl = g_strdup ("http://www.qrz.com/<call>"); + preferences.openurl = g_strdup ("http://www.qrz.com/db/<call>"); preferences.initlastmsg = g_strdup (""); } @@ -353,7 +353,7 @@ static void config_load_from_keyfile (GKeyFile *file) preferences.distqrb = preferences.distqrb - 1; preferences.openurl = g_key_file_get_string (file, "general", "openurl", NULL); if (!preferences.openurl) - preferences.openurl = g_strdup ("http://www.qrz.com/<call>"); + preferences.openurl = g_strdup ("http://www.qrz.com/db/<call>"); preferences.viewscoring = g_key_file_get_integer (file, "appearance", "viewscoring", NULL); if (preferences.viewscoring == 0)
diff --git a/data/doc/manual.tex b/data/doc/manual.tex index ce768ce..96f48f3 100644 --- a/data/doc/manual.tex +++ b/data/doc/manual.tex @@ -115,7 +115,7 @@ and you have a locator field in the log. \medskip The main xlog window has a button next to the callsign entry. When clicked it will lookup the callsign with your internet browser on your preferred server. -It takes the form http://www.qrz.com/<call>, where <call> will be replaced +It takes the form http://www.qrz.com/db/<call>, where <call> will be replaced with the callsign. \medskip diff --git a/data/doc/manual_6.html b/data/doc/manual_6.html index a076604..0408ff1 100644 --- a/data/doc/manual_6.html +++ b/data/doc/manual_6.html @@ -37,7 +37,7 @@ and you have a locator field in the log. </p> <p>The main xlog window has a button next to the callsign entry. When clicked it will lookup the callsign with your internet browser on your preferred server. -It takes the form http://www.qrz.com/<call>, where <call> will be replaced +It takes the form http://www.qrz.com/db/<call>, where <call> will be replaced with the callsign. </p> <p>The use of the tilde character is explained in the "Keyer window" section. diff --git a/src/cfg.c b/src/cfg.c index bac7d7a..3525c07 100644 --- a/src/cfg.c +++ b/src/cfg.c @@ -234,7 +234,7 @@ config_create (void) preferences.awardswaz = 0; preferences.awardsiota = 0; preferences.awardsloc = 0; - preferences.openurl = g_strdup ("http://www.qrz.com/<call>"); + preferences.openurl = g_strdup ("http://www.qrz.com/db/<call>"); preferences.initlastmsg = g_strdup (""); preferences.clusterhost = g_strdup (""); preferences.clusterport = 0; @@ -389,7 +389,7 @@ static void config_load_from_keyfile (GKeyFile *file) preferences.distqrb = preferences.distqrb - 1; preferences.openurl = g_key_file_get_string (file, "general", "openurl", NULL); if (!preferences.openurl) - preferences.openurl = g_strdup ("http://www.qrz.com/<call>"); + preferences.openurl = g_strdup ("http://www.qrz.com/db/<call>"); preferences.viewscoring = g_key_file_get_integer (file, "appearance", "viewscoring", NULL); if (preferences.viewscoring == 0)
_______________________________________________ Xlog-discussion mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/xlog-discussion
