Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Syndetics cover images with https

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Desired Outcome Goal:
    Our catalog is in https mode and the syndetics links from the full record display are in http mode. This causes a problem when using IE Explorer because the user gets a message when clicking on a link that they are going from a secure to an insecure environment, do they want to continue.... I contacted Syndetics and they told me that they do support https and that we would just need to change the url for Syndetics to https. I can't find where I can change the url. The service has been initialized in the edit_doc_999.lng table, but this doesn't contain a base url. Is this a change that I can make or does exlibris control a change to the url?

    To get Syndetics to work over https (also known as SSL or Secure Sockets Layer), make a change to the perl program, "", which can be found in your $alephm_source/ext directory. The only change you should need to make is to change the line that says:

    my $url = "$isbn/";

    to read:

    my $url = "$isbn/";

    The "lib." in front of "" is still supported, but gives a certificate error when used with https. You may need to restart your www_server for this to take effect.

    We have had at least one report of a site where this did not work. If this does not work for you, try putting these URLs directly into your browser and see what kind of results you get:

    This is what you're sending now, which should return some XML text only:

    This should give a small cover image and is what is working for you now:

    This is a revised, https version of the initial URL, which should return XML:

    This is an https URL that should return a small image

    Another test you can perform is run the program and type the input directly. At the UNIX prompt, type:

    Then enter this text on the next line:


    Hit ENTER once to send that line, then type a CTRL-D. You should get back results that look somewhat like this:

    library2-18(2) ORN01-ALEPHGD4>>cd /exlibris/aleph/a18_2/alephm/source/ext
    library2-18(2) ORN01-ALEPHGD4>>

    At one site, they rewrote the script slightly to eliminate a problem they were having with using https. The last half of their version looks like this:

    my $url = "$isbn/";
    my $urls = "$isbn/";
    my $url_1 = "index.xml";
    my $url_2 = "&client=$client_code&type=$type";
    my $url_3 = $url.$url_1.$url_2;

    print STDERR "url=$url_3\n";
    $req = new HTTP::Request(GET,$url_3);
    $ua = new LWP::UserAgent;
    $resp = $ua->request($req);
    $content = $resp->content;

    print STDERR "content=$content\n";

    if($content =~ /<$service>(.*)<\/$service>/i){
    print STDOUT "LINK-TO-SYNTAX=$urls$1$url_2\n";
    my $final = $url."index.html".$url_2;
    print STDOUT "LINK-TO-SYNTAX-1=$final\n";
    exit 1;
    print STDOUT "LINK-TO-SYNTAX=\n";
    exit 0;

    The main change here is to define an explicit "$urls" variable that contains the https version and to send it after the first response is received.

    Category: ALEPHADM (500)

    • Article last edited: 10/8/2013