Hello all, I am currently testing the OPACMySummaryHTML feature in koha 3.4.4. I discovered that the link produced in the OPAC is prefixxed with (opac-ip)/cgi-bin/koha and then the link in the OPACMySummary system preferences. e.g. I put "<a href=”http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/opac-detail.pl?biblionumber={BIBLIONUMBER}”>Share on Facebook</a> in the systems preferences and the link it generates in OPAC is "http://192.168.57.129:8000/cgi-bin/koha/<a http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/... >" The link works if it is without the http://192.168.57.129:8000/cgi-bin/koha/ Is this a bug or i am missing something? Olugbenga Adara Mobile: 234 (0) 8033220288 Home: 234 (2) 8721720 Skype: gbengaadara Blog: http://gbengaadara.blogspot.com Twitter: http://twitter.com/gbengaadara Profile: http://www.linkedin.com/in/gbengaadara
Well, a couple of things here -- it looks like your Koha server is probably behind a NAT firewall, so that URL wouldn't ever work. You would probably need to give your Koha server a public IP and/or change the systempref for the Catalog URL to a name defined by DNS that points to your firewall. Either way, it's probably a job that will involve talking to your network people. Liz Rea lrea@nekls.org On Sep 1, 2011, at 11:03 AM, Olugbenga Adara wrote:
Hello all,
I am currently testing the OPACMySummaryHTML feature in koha 3.4.4. I discovered that the link produced in the OPAC is prefixxed with (opac-ip)/cgi-bin/koha and then the link in the OPACMySummary system preferences.
e.g. I put "<a href=”http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/opac-detail.pl?biblionumber={BIBLIONUMBER}”>Share on Facebook</a> in the systems preferences and the link it generates in OPAC is "http://192.168.57.129:8000/cgi-bin/koha/<a http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/... >"
The link works if it is without the http://192.168.57.129:8000/cgi-bin/koha/
Is this a bug or i am missing something?
Olugbenga Adara
Mobile: 234 (0) 8033220288 Home: 234 (2) 8721720 Skype: gbengaadara Blog: http://gbengaadara.blogspot.com Twitter: http://twitter.com/gbengaadara Profile: http://www.linkedin.com/in/gbengaadara _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
well, "wouldn't ever work" -- what I mean is, it wouldn't work OUTSIDE your network (on facebook, for example). Liz Rea lrea@nekls.org On Sep 1, 2011, at 3:45 PM, Liz Rea wrote:
Well, a couple of things here -- it looks like your Koha server is probably behind a NAT firewall, so that URL wouldn't ever work. You would probably need to give your Koha server a public IP and/or change the systempref for the Catalog URL to a name defined by DNS that points to your firewall.
Either way, it's probably a job that will involve talking to your network people.
Liz Rea lrea@nekls.org
<email_signature.jpeg>
On Sep 1, 2011, at 11:03 AM, Olugbenga Adara wrote:
Hello all,
I am currently testing the OPACMySummaryHTML feature in koha 3.4.4. I discovered that the link produced in the OPAC is prefixxed with (opac-ip)/cgi-bin/koha and then the link in the OPACMySummary system preferences.
e.g. I put "<a href=”http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/opac-detail.pl?biblionumber={BIBLIONUMBER}”>Share on Facebook</a> in the systems preferences and the link it generates in OPAC is "http://192.168.57.129:8000/cgi-bin/koha/<a http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/... >"
The link works if it is without the http://192.168.57.129:8000/cgi-bin/koha/
Is this a bug or i am missing something?
Olugbenga Adara
Mobile: 234 (0) 8033220288 Home: 234 (2) 8721720 Skype: gbengaadara Blog: http://gbengaadara.blogspot.com Twitter: http://twitter.com/gbengaadara Profile: http://www.linkedin.com/in/gbengaadara _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hello Liz, --- On Thu, 9/1/11, Liz Rea <lrea@nekls.org> wrote:
From: Liz Rea <lrea@nekls.org> Subject: Re: [Koha] OPAC My Summary To: "Liz Rea" <lrea@nekls.org> Cc: koha@lists.katipo.co.nz, "Olugbenga Adara" <gbengaadara@yahoo.com> Date: Thursday, September 1, 2011, 10:46 PM well, "wouldn't ever work" -- what I mean is, it wouldn't work OUTSIDE your network (on facebook, for example).
Liz Rea lrea@nekls.org
Thanks for the reply. I understand that the link wont work on facebook. I was running on a test instance of Koha on a VM on my laptop. My major concern however is that the link in the opac is not properly formed. Clicking on it gives me page not found error. Thanks once again. Olugbenga Adara Mobile: 234 (0) 8033220288 Home: 234 (2) 8721720 Skype: gbengaadara Blog: http://gbengaadara.blogspot.com Twitter: http://twitter.com/gbengaadara Profile: http://www.linkedin.com/in/gbengaadara
On 2 September 2011 10:00, Olugbenga Adara <gbengaadara@yahoo.com> wrote:
Hello Liz,
--- On Thu, 9/1/11, Liz Rea <lrea@nekls.org> wrote:
From: Liz Rea <lrea@nekls.org> Subject: Re: [Koha] OPAC My Summary To: "Liz Rea" <lrea@nekls.org> Cc: koha@lists.katipo.co.nz, "Olugbenga Adara" <gbengaadara@yahoo.com> Date: Thursday, September 1, 2011, 10:46 PM well, "wouldn't ever work" -- what I mean is, it wouldn't work OUTSIDE your network (on facebook, for example).
Liz Rea lrea@nekls.org
Thanks for the reply.
I understand that the link wont work on facebook. I was running on a test instance of Koha on a VM on my laptop. My major concern however is that the link in the opac is not properly formed. Clicking on it gives me page not found error.
Thanks once again.
Contrast this (from the html) When i typed it in <td><a href="http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/opac-detail.pl?biblionumber=62259">Share on Facebook</a> to this When I cut and paste from your email <a href=”http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/opac-detail.pl?biblionumber=15223”>Share on Facebook</a> Can you spot the difference? HTML can :) Hint the bottom one has funky windows " marks, and the top one works :) Chris
Hello Chris. Thanks. You are right. It works after typing it in or pasting from a test file and not a browser. Olugbenga Adara Mobile: 234 (0) 8033220288 Home: 234 (2) 8721720 Skype: gbengaadara Blog: http://gbengaadara.blogspot.com Twitter: http://twitter.com/gbengaadara Profile: http://www.linkedin.com/in/gbengaadara --- On Fri, 9/2/11, Chris Cormack <chris@bigballofwax.co.nz> wrote: From: Chris Cormack <chris@bigballofwax.co.nz> Subject: Re: [Koha] OPAC My Summary To: "Olugbenga Adara" <gbengaadara@yahoo.com> Cc: koha@lists.katipo.co.nz Date: Friday, September 2, 2011, 1:28 AM On 2 September 2011 10:00, Olugbenga Adara <gbengaadara@yahoo.com> wrote:
Hello Liz,
--- On Thu, 9/1/11, Liz Rea <lrea@nekls.org> wrote:
From: Liz Rea <lrea@nekls.org> Subject: Re: [Koha] OPAC My Summary To: "Liz Rea" <lrea@nekls.org> Cc: koha@lists.katipo.co.nz, "Olugbenga Adara" <gbengaadara@yahoo.com> Date: Thursday, September 1, 2011, 10:46 PM well, "wouldn't ever work" -- what I mean is, it wouldn't work OUTSIDE your network (on facebook, for example).
Liz Rea lrea@nekls.org
Thanks for the reply.
I understand that the link wont work on facebook. I was running on a test instance of Koha on a VM on my laptop. My major concern however is that the link in the opac is not properly formed. Clicking on it gives me page not found error.
Thanks once again.
Contrast this (from the html) When i typed it in <td><a href="http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/opac-detail.pl?biblionumber=62259">Share on Facebook</a> to this When I cut and paste from your email <a href=”http://www.facebook.com/share.php?u=http://192.168.57.129:8000/cgi-bin/koha/opac-detail.pl?biblionumber=15223”>Share on Facebook</a> Can you spot the difference? HTML can :) Hint the bottom one has funky windows " marks, and the top one works :) Chris _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Chris Cormack -
Liz Rea -
Olugbenga Adara