URL: '.$url.'
'; echo 'CTX: '.$ctx.'
'; echo 'Keyword(s): '.$keywords.'
'; echo 'Title: '.$title.'
'; echo 'Author: '.$author.'
'; echo 'Subjects: '.$subject.'
'; echo 'Langauge: '.$language.'
'; // Begin building the URL // Langauge selection starts the URL $la = 'la='.$language; if (!empty($keywords)) { $kw = $searchjoiner.'kw='.$keywords; } if (!empty($subject)) { $su = $searchjoiner.'su='.$subject; } if (!empty($author)) { $au = $searchjoiner.'au='.$author; } // Title status determines end of URL if (!empty($title)) { $urlend = $searchjoiner.'ti='.$title.$searchsuffix; } else { $urlend = $searchsuffix; } // Display the Search link echo '

Your Deep Link is:

'; //echo $url.'/'.$ctx.'/'; $SearchURL = implode("", array_filter(array($url, $searchprefix, $ctx, $searchmiddle, $la, $au, $kw, $su, $urlend))); echo ''.$SearchURL.'

'; ?>