{"id":16620,"date":"2015-08-16T05:01:55","date_gmt":"2015-08-15T19:01:55","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=16620"},"modified":"2015-08-15T21:26:03","modified_gmt":"2015-08-15T11:26:03","slug":"wordpress-highlighted-search-follow-up-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-highlighted-search-follow-up-tutorial\/","title":{"rendered":"WordPress Highlighted Search Follow Up Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/HighlightedSearch.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"WordPress Highlighted Search Follow Up Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/HighlightedSearch.gif\" title=\"WordPress Highlighted Search Follow Up Tutorial\"    \/><\/a><p class=\"wp-caption-text\">WordPress Highlighted Search Follow Up Tutorial<\/p><\/div>\n<p>Am glad to have coded this Highlighting Searc<font color='orange'>h<\/font> functionality in two stages, that being &#8230;<\/p>\n<ol>\n<li>yesterday&#8217;s <a target=_blank title='WordPress Highlighted Search Primer Tutorial' href='#whspt'>WordPress Highlighted Search Primer Tutorial<\/a> as shown below that established the <font color='orange'>orange<\/font> highlighted display &#8230; and then &#8230;<\/li>\n<li>today&#8217;s linking of <font color='orange'>highlighted 1<\/font> to <font color='orange'>highlighted 2<\/font> etcetera etcetera etcetera &#8230; via the #hashtag navigation idea &#8230; and some Ajax contextual help<\/li>\n<\/ol>\n<p> &#8230; because the step 2 coding above was more complex than first envisaged.  That step 2 functionality allows you to move down (or back up) the webpage navigating through the mentions of your Highlighted Search text.<\/p>\n<p>The step 2 code within header.php involved new Javascript functions &#8230;<\/p>\n<ul>\n<li>function athenl() &#8230; navigate to hashtag of interest (if global Javascript &#8220;nlis&#8221; variable has been set &#8230; the onmouseout or ontouchend events can unset the &#8220;nlis&#8221; variable)<\/li>\n<li>function lhref(inlis, inrlis) &#8230; return a suitable URL for next link<\/li>\n<li>function locationhref(inlis, inrlis) &#8230; at onmouseover or onclick or ontouchstart prepares a setTimeout() athenl() call to navigate the current webpage to the hashtag inlis if currently moving forwards and inrlis if currently moving backwards<\/li>\n<li>function andthenlater() &#8230; is the follow up function organizing the highlighted text linkages once they have been created so is called at the end of code of the highlightsearch() function of yesterday&#8217;s <a target=_blank title='WordPress Highlighted Search Primer Tutorial' href='#whspt'>WordPress Highlighted Search Primer Tutorial<\/a><\/li>\n<\/ul>\n<p>We hope you find this &#8220;Highlighted Searc<font color='orange'>h<\/font>&#8221; idea of some help, and will leave you with changes to the WordPress blog&#8217;s TwentyTen theme&#8217;s header.php in <b><i><font color='olive'>olive bold itallic<\/font><\/i><\/b> for today&#8217;s Highlighted Searc<font color='orange'>h<\/font> changes and <b><i><font color='teal'>teal bold itallic<\/font><\/i><\/b> for yesterday&#8217;s Highlighted Searc<font color='orange'>h<\/font> changes and <b><i><font color='blue'>blue bold itallic<\/font><\/i><\/b> for <a target=_blank title='WordPress Blog Search Within Search Overlay Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-search-within-search-overlay-tutorial\/'>WordPress Blog Search Within Search Overlay Tutorial<\/a> &#8220;overlay&#8221; changes and <b><i><font color='green'>green bold itallic<\/font><\/i><\/b> for Ajax changes and <b><i><font color='red'>red bold itallic<\/font><\/i><\/b> for Preview changes and <b><i>bold itallic<\/i><\/b> for Implementation changes and <b>bold<\/b> for old Primer (<a target=_blank title='WordPress Blog Search Within a Search Primer Tutorial' href='#wbswaspt'>WordPress Blog Search Within a Search Primer Tutorial<\/a>) changes below &#8230;<\/p>\n<p><code><br \/>\n<b><br \/>\nvar spc=' ', cminus='-', fmtname='w411tform', fmcname='w411cform', edelim='\/'<i>, radis=\"\", formihis=\"\";<\/i><\/b><br \/>\n<b><i><font color='red'>var precwopen='', cwopen='', scmdis='', tcdelay=0, ourtcdelay=0, ourtcprefix='', tcprefix='', tcsuffix=' ... prefixes: @!@ just dropdown, @+@ additional dropdown, @|@ just open dropdown, @*@ additional open dropdown, @[secsDelay]@';<br \/>\nvar iurlcnt=0, jurlcnt=0, urllist = new Array(), whenlist = new Array(), nextis=-1, optcol='yellow';<\/font><br \/>\n<font color='olive'><br \/>\nvar nlis=\"\", tagtoggle=0;<br \/>\nfunction athenl() {<br \/>\n if (nlis != \"\") {<br \/>\n  location.href=nlis;<br \/>\n  nlis=\"\";<br \/>\n }<br \/>\n}<br \/>\nfunction lhref(inlis, inrlis) {<br \/>\n if (tagtoggle == 0) {<br \/>\n   nlis=inrlis;<br \/>\n } else {<br \/>\n   nlis=inlis;<br \/>\n }<br \/>\n return nlis;<br \/>\n}<br \/>\nfunction locationhref(inlis, inrlis) {<br \/>\n if (tagtoggle == 0) {<br \/>\n   nlis=inrlis;<br \/>\n } else {<br \/>\n   nlis=inlis;<br \/>\n }<br \/>\n setTimeout(athenl, 2000);<br \/>\n}<br \/>\nfunction andthenlater() {<br \/>\n var nextlis=\"#nav-below\";<br \/>\n var gtnp=\"going to next page link in order to look for\";<br \/>\n var fsis=document.getElementsByTagName('font');<br \/>\n var additionalbit=\" tagtoggle=0; \";<br \/>\n var prevlis=\"#searchform\";<br \/>\n for (var ijh=eval(fsis.length - 1); ijh&gt;=0; ijh--) {<br \/>\n  if (fsis[ijh].id) {<br \/>\n   if ((\"*\" + fsis[ijh].id).indexOf(\"*fca\") != -1) {<br \/>\n     fsis[ijh].style.zIndex=9;<br \/>\n     eval(\"fsis[ijh].onmouseover = function(event) { locationhref('\" + nextlis + \"','\" + prevlis + \"'); \" + additionalbit + \" }\");<br \/>\n     eval(\"fsis[ijh].ontouchstart = function(event) { locationhref('\" + nextlis + \"','\" + prevlis + \"'); \" + additionalbit + \" }\");<br \/>\n     eval(\"fsis[ijh].onmouseout = function() { nlis=''; }\");<br \/>\n     eval(\"fsis[ijh].ontouchend = function() { nlis=''; }\");<br \/>\n     \/\/eval(\"fsis[ijh].onmousemove = function(event) { nlis=''; }\");<br \/>\n     nextlis=\"#\" + fsis[ijh].id;<br \/>\n     fsis[ijh].title='Long very still hover over me to position for ' + gtnp + ' ' + inlook;<br \/>\n     gtnp=\"another mention of\";<br \/>\n     additionalbit = \"\";<br \/>\n   } else if ((\"*\" + fsis[ijh].id).indexOf(\"*fc\") != -1) {<br \/>\n     fsis[ijh].style.zIndex=9;<br \/>\n     eval(\"fsis[ijh].onclick = function(event) { nlis=''; lhref('\" + nextlis + \"','\" + prevlis + \"'); \" + additionalbit + \" }\");<br \/>\n     eval(\"fsis[ijh].onmouseover = function(event) { locationhref('\" + nextlis + \"','\" + prevlis + \"');  \" + additionalbit + \" }\");<br \/>\n     eval(\"fsis[ijh].ontouchstart = function(event) { locationhref('\" + nextlis + \"','\" + prevlis + \"');  \" + additionalbit + \" }\");<br \/>\n     eval(\"fsis[ijh].onmouseout = function() { nlis=''; }\");<br \/>\n     eval(\"fsis[ijh].ontouchend = function() { nlis=''; }\");<br \/>\n     \/\/eval(\"fsis[ijh].onmousemove = function(event) { nlis=''; }\");<br \/>\n     nextlis=\"#\" + fsis[ijh].id;<br \/>\n     fsis[ijh].title='Click or long very still hover over me to position for ' + gtnp + ' ' + inlook;<br \/>\n     gtnp=\"another mention of\";<br \/>\n     additionalbit = \"\";<br \/>\n   }<br \/>\n   prevlis=\"#\" + fsis[ijh].id;<br \/>\n   if (ijh == 1) additionalbit=\" tagtoggle=1; \";<br \/>\n  }<br \/>\n }<br \/>\n}<br \/>\n<\/font><br \/>\n<font color='teal'><br \/>\nvar inlook=\"\", inlooki=0, inlooku=\"\";<br \/>\nfunction iltcwindowopen() {<br \/>\n  window.open(inlooku, '_blank');<br \/>\n}<br \/>\nfunction testih(insis, infis, defis) {<br \/>\n var retis=defis;<br \/>\n for (var ijh=infis; ijh&gt;=0; ijh--) {<br \/>\n   if (insis.substring(ijh, eval(1 + ijh)) == '&gt;') {<br \/>\n     inlooki++;<br \/>\n     return defis;<br \/>\n   }<br \/>\n   if (insis.substring(ijh, eval(1 + ijh)) == '&lt;') return '';<br \/>\n }<br \/>\n inlooki++;<br \/>\n return defis;<br \/>\n}<br \/>\nfunction highlighttest() {<br \/>\n var sis=document.getElementById('s').value;<br \/>\n if (sis != '') {<br \/>\n  var sisa=document.getElementById('searchform').action;<br \/>\n  inlooku=sisa + \"?s=\" + encodeURIComponent(sis) + \"&highlight=\";<br \/>\n  setTimeout(iltcwindowopen, 2000);<br \/>\n  \/\/window.open(sisa + \"?s=\" + encodeURIComponent(sis) + \"&highlight=\", \"_blank\");<br \/>\n }<br \/>\n}<br \/>\nfunction highlightsearch() {<br \/>\n var imb, ifound, spare, spare2, startfrom, atwo, atwodelim, athree, sprefix=\"&lt;font color=orange&gt;\", ssuffix;<br \/>\n if (inlook != \"\") {<br \/>\n  var pspana=document.getElementsByTagName(\"a\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   if (pspana[imb].innerHTML.indexOf(inlook) != -1) {<br \/>\n     spare=pspana[imb].innerHTML;<br \/>\n     spare2=spare;<br \/>\n     startfrom=0;<br \/>\n     ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n     while (ifound != -1) {<br \/>\n       \/\/alert(\"pre \" + spare);<br \/>\n       ssuffix=testih(spare2, ifound, \"&lt;\/font&gt;\");<br \/>\n       spare=spare2.substring(0,ifound) + ssuffix.replace(\"&lt;\/font&gt;\", sprefix.replace(\"font col\", \"font id='fc<\/font><font color='olive'>a<font color='teal'>\" + inlooki + \"' col\")) + \"youllneverfind_this\" + ssuffix + spare2.substring(ifound + inlook.length);<br \/>\n       \/\/alert(spare);<br \/>\n       ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n       spare2=spare;<br \/>\n     }<br \/>\n     pspana[imb].innerHTML=spare.replace(\/youllneverfind_this\/g, inlook);<br \/>\n   }<br \/>\n  }<br \/>\n  pspana=document.getElementsByTagName(\"span\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   if (pspana[imb].innerHTML.indexOf(inlook) != -1) {<br \/>\n     spare=pspana[imb].innerHTML;<br \/>\n     spare2=spare;<br \/>\n     startfrom=0;<br \/>\n     ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n     while (ifound != -1) {<br \/>\n       \/\/alert(\"pre \" + spare);<br \/>\n       ssuffix=testih(spare2, ifound, \"&lt;\/font&gt;\");<br \/>\n       spare=spare2.substring(0,ifound) + ssuffix.replace(\"&lt;\/font&gt;\", sprefix.replace(\"font col\", \"font id='fc<\/font><font color='olive'>span<font color='teal'>\" + inlooki + \"' col\")) + \"youllneverfind_this\" + ssuffix + spare2.substring(ifound + inlook.length);<br \/>\n       \/\/alert(spare);<br \/>\n       ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n       spare2=spare;<br \/>\n     }<br \/>\n     pspana[imb].innerHTML=spare.replace(\/youllneverfind_this\/g, inlook);<br \/>\n   }<br \/>\n  }<br \/>\n  pspana=document.getElementsByTagName(\"h1\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   if (pspana[imb].innerHTML.indexOf(inlook) != -1) {<br \/>\n     spare=pspana[imb].innerHTML;<br \/>\n     spare2=spare;<br \/>\n     startfrom=0;<br \/>\n     ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n     while (ifound != -1) {<br \/>\n       \/\/alert(\"pre \" + spare);<br \/>\n       ssuffix=testih(spare2, ifound, \"&lt;\/font&gt;\");<br \/>\n       spare=spare2.substring(0,ifound) + ssuffix.replace(\"&lt;\/font&gt;\", sprefix.replace(\"font col\", \"font id='fc<\/font><font color='olive'>hone<font color='teal'>\" + inlooki + \"' col\")) + \"youllneverfind_this\" + ssuffix + spare2.substring(ifound + inlook.length);<br \/>\n       \/\/alert(spare);<br \/>\n       ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n       spare2=spare;<br \/>\n     }<br \/>\n     pspana[imb].innerHTML=spare.replace(\/youllneverfind_this\/g, inlook);<br \/>\n   }<br \/>\n  }<br \/>\n  pspana=document.getElementsByTagName(\"p\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   if (pspana[imb].innerHTML.indexOf(inlook) != -1) {<br \/>\n     spare=pspana[imb].innerHTML;<br \/>\n     spare2=spare;<br \/>\n     startfrom=0;<br \/>\n     ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n     while (ifound != -1) {<br \/>\n       \/\/alert(\"pre \" + spare);<br \/>\n       ssuffix=testih(spare2, ifound, \"&lt;\/font&gt;\");<br \/>\n       spare=spare2.substring(0,ifound) + ssuffix.replace(\"&lt;\/font&gt;\", sprefix.replace(\"font col\", \"font id='fc<\/font><font color='olive'>p<font color='teal'>\" + inlooki + \"' col\")) + \"youllneverfind_this\" + ssuffix + spare2.substring(ifound + inlook.length);<br \/>\n       \/\/alert(spare);<br \/>\n       ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n       spare2=spare;<br \/>\n     }<br \/>\n     pspana[imb].innerHTML=spare.replace(\/youllneverfind_this\/g, inlook);<br \/>\n   }<br \/>\n  }<br \/>\n  pspana=docgetclass(\"entry-title\", \"h2\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   spare=pspana[imb].innerHTML;<br \/>\n   atwo=spare.split(\"href=\");<br \/>\n   if (atwo.length &gt; 1) {<br \/>\n     atwodelim=atwo[1].substring(0,1);<br \/>\n     athree=atwo[1].substring(1).split(atwodelim);<br \/>\n     if (athree[0].indexOf(\"?\") == -1 && athree[0].indexOf(\"highlight=\") == -1) {<br \/>\n      spare2=athree[0] + \"?highlight=\" + encodeURIComponent(inlook);<br \/>\n      \/\/alert(\"here1 \" + spare + \" ... now ... \" + spare.replace(athree[0], spare2) + \" ... via \" + spare2);<br \/>\n      pspana[imb].innerHTML=spare.replace(athree[0], spare2);<br \/>\n     } else if (athree[0].indexOf(\"highlight=\") == -1) {<br \/>\n      spare2=athree[0] + '&' + \"highlight=\" + encodeURIComponent(inlook);<br \/>\n      \/\/alert(\"here2 \" + spare + \" ... now ... \" + spare.replace(athree[0], spare2) + \" ... via \" + spare2);<br \/>\n      pspana[imb].innerHTML=spare.replace(athree[0], spare2);<br \/>\n     }<br \/>\n   }<br \/>\n  }<br \/>\n }<br \/>\n}<br \/>\n<\/font><br \/>\n<font color='blue'><br \/>\nvar catselis=\"\", tagselis=\"\";<br \/>\nfunction ovput(wois) {<br \/>\n  document.getElementById('s').style.display='none';<br \/>\n  if (wois.indexOf(\"ag\") != -1) {<br \/>\n    document.getElementById('tagselis').style.display='inline';<br \/>\n  } else {<br \/>\n    document.getElementById('catselis').style.display='inline';<br \/>\n  }<br \/>\n}<br \/>\nfunction ovsel(iov, iovval) {<br \/>\n  if (iovval.replace(' ') == '') {<br \/>\n   iov.style.display='none';<br \/>\n   document.getElementById('s').style.display='inline';<br \/>\n  } else {<br \/>\n   document.getElementById('s').value=iovval;<br \/>\n   iov.style.display='none';<br \/>\n   document.getElementById('s').style.display='inline';<br \/>\n   if (iov.id.indexOf(\"ag\") != -1) {<br \/>\n    radiocc('Tag');<br \/>\n   } else {<br \/>\n    radiocc('Category');<br \/>\n   }<br \/>\n  }<br \/>\n}<br \/>\n<\/font><font color='red'><br \/>\nfunction checkseltc() {<br \/>\n  var wqe=document.getElementById('seltc').innerHTML.split('value=');<br \/>\n  var zdelim=' ', zurllist;<br \/>\n  jurlcnt=eval(-1 + wqe.length);<br \/>\n  if (jurlcnt &gt; 0) {<br \/>\n    for (var iyt=2; iyt&lt;wqe.length; iyt++) {<br \/>\n      zdelim = wqe[iyt].substring(0,1);<br \/>\n      zurllist = wqe[iyt].substring(1).split(zdelim);<br \/>\n      urllist[eval(-2 + iyt)] = zurllist[0];<br \/>\n      if (iyt == 2) {<br \/>\n        whenlist[eval(-2 + iyt)] = tcdelay;<br \/>\n      } else {<br \/>\n        whenlist[eval(-2 + iyt)] = eval(tcdelay + eval(whenlist[eval(-3 + iyt)]));<br \/>\n      }<br \/>\n      if (nextis &lt; 0) nextis = 0;<br \/>\n    }<br \/>\n  }<br \/>\n  document.getElementById('seltc').size = eval(-1 + wqe.length);<br \/>\n  iurlcnt++;<br \/>\n  if (nextis &gt;= 0) {<br \/>\n   if (eval(nextis) &lt; eval(whenlist.length)) {<br \/>\n    if (eval(iurlcnt) == whenlist[nextis]) {<br \/>\n      if (urllist[nextis] != \"\") tcwindowopen(urllist[nextis]);<br \/>\n      nextis++;<br \/>\n      if (eval(nextis) == eval(whenlist.length)) top.document.getElementById('seltc').style.display='block';<br \/>\n    }<br \/>\n   }<br \/>\n  }<br \/>\n}<br \/>\nfunction reprompt(insg) {<br \/>\n tcprefix=\"\";<br \/>\n if ((insg + \" \").substring(0,1) == \"@\") {<br \/>\n   var tcst=insg.substring(1).split(\"@\");<br \/>\n   if (tcst.length &gt; 1) {<br \/>\n     tcprefix = tcst[0];<br \/>\n     insg=insg.replace(\"@\" + tcprefix + \"@\", \"\");<br \/>\n     if (tcprefix == \"!\") {<br \/>\n       document.getElementById(\"wrapper\").innerHTML = \"&lt;iframe id='tciframe' width=1 height=1 style='width:1; height:1;' src='http:\/\/www.rjmprogramming.com.au\/About_Us.html'&gt;&lt;\/iframe&gt;\" + document.getElementById(\"wrapper\").innerHTML;<br \/>\n     } else if (tcprefix == \"|\") {<br \/>\n       document.getElementById(\"wrapper\").innerHTML = \"&lt;iframe id='tciframe' width=1 height=1 style='width:1; height:1;' src='http:\/\/www.rjmprogramming.com.au\/About_Us.html'&gt;&lt;\/iframe&gt;\" + document.getElementById(\"wrapper\").innerHTML;<br \/>\n     } else if (tcprefix == \"+\") {<br \/>\n       document.getElementById(\"wrapper\").innerHTML = \"&lt;iframe id='tciframe' width=1 height=1 style='width:1; height:1;' src='http:\/\/www.rjmprogramming.com.au\/About_Us.html'&gt;&lt;\/iframe&gt;\" + document.getElementById(\"wrapper\").innerHTML;<br \/>\n     } else if (tcprefix == \"*\") {<br \/>\n       document.getElementById(\"wrapper\").innerHTML = \"&lt;iframe id='tciframe' width=1 height=1 style='width:1; height:1;' src='http:\/\/www.rjmprogramming.com.au\/About_Us.html'&gt;&lt;\/iframe&gt;\" + document.getElementById(\"wrapper\").innerHTML;<br \/>\n     } else if (tcprefix != \"\") {<br \/>\n       var tcd=tcprefix.split(\".\");<br \/>\n       tcdelay=eval(tcd[0]);<br \/>\n       document.getElementById(\"wrapper\").innerHTML = \"&lt;iframe id='tciframe' width=1 height=1 style='width:1; height:1;' src='http:\/\/www.rjmprogramming.com.au\/About_Us.html'&gt;&lt;\/iframe&gt;\" + document.getElementById(\"wrapper\").innerHTML;<br \/>\n       tcprefix='';<br \/>\n       optcol='lightgreen';<br \/>\n     }<br \/>\n   }<br \/>\n }<br \/>\n return insg;<br \/>\n}<br \/>\nfunction reurl(inu) {<br \/>\n var newinu;<br \/>\n if (tcprefix != \"\") {<br \/>\n  if (tcprefix.substring(0,1) == '!' || tcprefix.substring(0,1) == '+' || tcprefix.substring(0,1) == '|' || tcprefix.substring(0,1) == '*') {<br \/>\n   newinu=inu.replace('window.open(', '').replace('location.href=', '').replace(';', '').replace(';', '').split(', \"_blank');<br \/>\n   document.getElementById('tciframe').src=eval(newinu[0]) + \"&tcprefix=\" + tcprefix;<br \/>\n   if (tcprefix.substring(0,1) == '|' || tcprefix.substring(0,1) == '*') setInterval(checkseltc, 1000);<br \/>\n   if (tcprefix.substring(0,1) == '!' || tcprefix.substring(0,1) == '|') {<br \/>\n     return \"\";<br \/>\n   }<br \/>\n  }<br \/>\n  inu = inu; \/\/.replace(\"wopenall\", \"tcprefix=\" + tcprefix + \"&wopenall\");<br \/>\n }<br \/>\n if (tcdelay != 0) {<br \/>\n  inu = inu; \/\/.replace(\"wopenall\", \"&tcdelay=\" + tcdelay + \"&wopenall\");<br \/>\n  newinu=inu.replace('window.open(', '').replace('location.href=', '').replace(';', '').replace(';', '').split(', \"_blank');<br \/>\n  document.getElementById('tciframe').src=eval(newinu[0]) + \"&tcdelay=\" + tcdelay;<br \/>\n  setInterval(checkseltc, 1000);<br \/>\n  return \"\";<br \/>\n }<br \/>\n return eval(inu);<br \/>\n}<\/font><\/i><\/b><br \/>\n<font color='black'><b><i>function preradiocc() {<br \/>\n  if (document.getElementById('s').value != \"\" && radis != \"\") {<br \/>\n   radiocc(radis);<br \/>\n  }<br \/>\n}<br \/>\nfunction radiocc(tvis) {<br \/>\n  var cok=1;<br \/>\n  cwopen=\"\";<br \/>\n  radis=tvis;<br \/>\n  <\/font><font color='blue'><br \/>\n  document.getElementById('tagselis').style.display='none';<br \/>\n  document.getElementById('catselis').style.display='none';<br \/>\n  document.getElementById('s').style.display='inline';<br \/>\n  <\/font><font color='black'><br \/>\n  if (document.getElementById('s').value != \"\") {<br \/>\n   if (tvis == \"Search\") {<br \/>\n    document.getElementById('searchsubmit').click();<br \/>\n   } else if (tvi<font color='black'>s == \"Tag\") {<br \/>\n    cwopen=prompt(\"Please enter \" + document.getElementById('s').value + \" Tag findings Blog Posting Title search filter (blank causes no filtering\" + tcsuffix + \"<\/font><font color='olive'> and optional suffix &highlight=[highlightSearchString] highlights<\/font>)\", document.getElementById('s').value);<br \/>\n    if (cwopen != null) {<br \/>\n    <font color='red'>precwopen = document.getElementById(\"s\").value;<\/font><br \/>\n    cwopen=reprompt(cwopen);<br \/>\n    if (document.getElementById('searchform').action.indexOf(\"\/wordpress\") != -1) {<br \/>\n    if (1 == 1) {<br \/>\n     <font color='red'>reurl('window.open(document.getElementById(\"searchform\").action + \"?tag=\" + precwopen.toLowerCase().replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\") + \"&wopenall=\" + cwopen, \"_blank\");');<\/font><br \/>\n    } else {<br \/>\n     <font color='red'>reurl('location.href=document.getElementById(\"searchform\").action + \"?tag=\" + precwopen.toLowerCase().replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\") + \"&wopenall=\" + cwopen;');<\/font><br \/>\n    }<br \/>\n    } else {<br \/>\n    if (1 == 1) {<br \/>\n     <font color='red'>reurl('window.open(document.getElementById(\"searchform\").action + \"tag\/\" + precwopen.toLowerCase().replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\") + \"\/?wopenall=\" + cwopen, \"_blank\");');<\/font><br \/>\n    } else {<br \/>\n     <font color='red'>reurl('location.href=document.getElementById(\"searchform\").action + \"tag\/\" + precwopen.toLowerCase().replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\") + \"\/?wopenall=\" + cwopen;');<\/font><br \/>\n    }<br \/>\n    }<br \/>\n    }<br \/>\n   } else if (tvis == \"Category\") {<br \/>\n    if (document.getElementById('searchform').action.indexOf(\"\/wordpress\") != -1) {<br \/>\n    if (document.getElementById('s').value.substring(0,1) &gt;= '0' && document.getElementById('s').value.substring(0,1) &lt;= '9') {<br \/>\n    cwopen=prompt(\"Please enter \" + document.getElementById('s').value + \" Category (number) findings Blog Posting Title search filter (blank causes no filtering\" + tcsuffix + \"<i><font color='olive'> and optional suffix &highlight=[highlightSearchString] highlights<\/font><\/i>)\", \"Tutorial\");<br \/>\n    if (cwopen != null) {<br \/>\n    <font color='red'>precwopen = document.getElementById(\"s\").value;<\/font><br \/>\n    cwopen=reprompt(cwopen);<br \/>\n    if (1 == 1) {<br \/>\n     <font color='red'>reurl('window.open(document.getElementById(\"searchform\").action + \"?cat=\" + precwopen.toLowerCase().replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\") + \"&wopenall=\" + cwopen, \"_blank\");');<\/font><br \/>\n    } else {<br \/>\n     <font color='red'>reurl('location.href=document.getElementById(\"searchform\").action + \"?cat=\" + precwopen.toLowerCase().replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\") + \"&wopenall=\" + cwopen;');<\/font><br \/>\n    }<br \/>\n    }<br \/>\n    } else {<br \/>\n     cok=0;<br \/>\n     alert(\"Please enter the category as a number\");<br \/>\n     document.getElementById('s').value = '';<br \/>\n    }<br \/>\n    } else {<br \/>\n    cwopen=prompt(\"Please enter \" + document.getElementById('s').value + \" Category (alphabetic) findings Blog Posting Title search filter (blank causes no filtering\" + tcsuffix + \"<i><font color='olive'> and optional suffix &highlight=[highlightSearchString] highlights<\/font><\/i>)\", document.getElementById('s').value);<br \/>\n    if (cwopen != null) {<br \/>\n    <font color='red'>precwopen = document.getElementById(\"s\").value;<\/font><br \/>\n    if (1 == 1) {<br \/>\n     <font color='red'>reurl('window.open(document.getElementById(\"searchform\").action + \"category\/\" + precwopen.toLowerCase().replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\") + \"\/?wopenall=\" + cwopen, \"_blank\");');<\/font><br \/>\n    } else {<br \/>\n     <font color='red'>reurl('location.href=document.getElementById(\"searchform\").action + \"category\/\" + precwopen.toLowerCase().replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\").replace(\" \",\"-\") + \"\/?wopenall=\" + cwopen;');<\/font><br \/>\n    }<br \/>\n    }<br \/>\n    }<br \/>\n   }<br \/>\n   if (cok == 1) {<br \/>\n     document.getElementById('s').value = '';<br \/>\n     radis=\"\";<br \/>\n     document.getElementById('searchform').innerHTML = formihis;<br \/>\n     document.getElementById('s').onblur = preradiocc;<br \/>\n   }<br \/>\n  }<br \/>\n}<\/i><br \/>\nfunction preprecc(inidea) { \/\/ wopenallwas= form<br \/>\n&lt;?php<br \/>\n $tblurbwas=\"\";<br \/>\n if (isset($_GET['wopenallwas']) || isset($_GET['wopenall'])) {<br \/>\n     $tblurbwas = \"  var ourwovwas=location.search.split(inidea + '=')[1] ? location.search.split(inidea + '=')[1].split('&')[0] : ' '; \\n\";<br \/>\n     $tblurbwas .= \"  if (ourwovwas != ' ') { \\n\";<br \/>\n     $tblurbwas .= \"   document.body.innerHTML = '&lt;div id=\\\"verytop\\\" align=\\\"center\\\" style=\\\"background-color: yellow;\\\"&gt;&lt;table cellpadding=25 cellspacing=25&gt;&lt;tr&gt;&lt;td style=\\\"border: 5px green solid; margin: 6 6 6 6;\\\"&gt;&nbsp;WordPress 3.0.3&lt;br&gt;&lt;br&gt;&lt;form action=\\\"http:\/\/www.rjmprogramming.com.au\/wordpress\/\\\" method=\\\"GET\\\"&gt;&nbsp;Tag (alpha): &lt;input type=\\\"text\\\" name=\\\"tag\\\" id=\\\"tag\\\" \/&gt;&lt;br&gt;&lt;br&gt;&nbsp;Optional Search Blog Title for: &lt;input type=\\\"text\\\" name=\\\"wopenall\\\" id=\\\"wopenall\\\" \/&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&nbsp;&lt;input type=\\\"submit\\\" value=\\\"Find Tag Blog Postings\\\" \/&gt;&lt;\/form&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;' + '&lt;form action=\\\"http:\/\/www.rjmprogramming.com.au\/wordpress\/\\\" method=\\\"GET\\\"&gt;&nbsp;Category (numerical): &lt;input type=\\\"number\\\" name=\\\"cat\\\" id=\\\"cat\\\" \/&gt;&lt;br&gt;&lt;br&gt;&nbsp;Optional Search Blog Title for: &lt;input type=\\\"text\\\" name=\\\"wopenall\\\" id=\\\"wopenall\\\" \/&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&nbsp;&lt;input type=\\\"submit\\\" value=\\\"Find Category Blog Postings\\\" \/&gt;&lt;\/form&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;\/td&gt;&lt;td style=\\\"border: 5px green solid; margin: 6 6 6 6;\\\"&gt;&nbsp;WordPress 4.1.1&lt;br&gt;&lt;br&gt;&lt;form id=\\\"w411tform\\\" action=\\\"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/\\\" method=\\\"GET\\\"&gt;&nbsp;Tag (alpha): &lt;input type=\\\"text\\\" onblur=\\\" document.getElementById(fmtname).action+=this.value.toLowerCase().replace(spc,cminus).replace(spc,cminus).replace(spc,cminus).replace(spc,cminus).replace(spc,cminus) + edelim; \\\" \/&gt;&lt;br&gt;&lt;br&gt;&nbsp;Optional Search Blog Title for: &lt;input type=\\\"text\\\" name=\\\"wopenall\\\" id=\\\"wopenall\\\" \/&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&nbsp;&lt;input type=\\\"submit\\\" value=\\\"Find Tag Blog Postings\\\" \/&gt;&lt;\/form&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;' + '&lt;form id=\\\"w411cform\\\"  action=\\\"https:\/\/www.rjmprogramming.com.au\/ITblog\/category\/\\\" method=\\\"GET\\\"&gt;&nbsp;Category (alpha): &lt;input onblur=\\\" document.getElementById(fmcname).action+=this.value.toLowerCase().replace(spc,cminus).replace(spc,cminus).replace(spc,cminus).replace(spc,cminus).replace(spc,cminus) + edelim; \\\" type=\\\"text\\\" \/&gt;&lt;br&gt;&lt;br&gt;&nbsp;Optional Search Blog Title for: &lt;input type=\\\"text\\\" name=\\\"wopenall\\\" id=\\\"wopenall\\\" \/&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&nbsp;&lt;input type=\\\"submit\\\" value=\\\"Find Category Blog Postings\\\" \/&gt;&lt;\/form&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;\/td&gt;&lt;\/tr&gt;&lt;\/table&gt;&lt;\/div&gt;' + document.body.innerHTML;  \\n\";<br \/>\n     $tblurbwas .= \"  } \\n\";<br \/>\n }<br \/>\n echo $tblurbwas;<br \/>\n?&gt;<br \/>\n}<\/i><\/b><br \/>\n<b><i><font color='red'>function tcwindowopen(inuis) {<br \/>\n  window.open(inuis, '_blank');<br \/>\n}<\/i><\/b><\/font><br \/>\n<b>function precc() { \/\/ wopenall= functionality<br \/>\n<font color='teal'><br \/>\n&lt;?php<br \/>\n if (isset($_GET['highlight']) || isset($_POST['highlight'])) {<br \/>\n   $doww=\"\";<br \/>\n   if (isset($_GET['s'])) $doww=str_replace(\"'\", \"`\", urldecode(str_replace(\"+\", \" \", $_GET['s'])));<br \/>\n   if (isset($_POST['s'])) $doww=str_replace(\"'\", \"`\", urldecode(str_replace(\"+\", \" \", $_POST['s'])));<br \/>\n   if (isset($_GET['highlight'])) {<br \/>\n     if (strlen($_GET['highlight']) &gt; 0) $doww=str_replace(\"'\", \"`\", urldecode(str_replace(\"+\", \" \", $_GET['highlight'])));<br \/>\n   }<br \/>\n   if (isset($_POST['highlight'])) {<br \/>\n     if (strlen($_POST['highlight']) &gt; 0) $doww=str_replace(\"'\", \"`\", urldecode(str_replace(\"+\", \" \", $_POST['highlight'])));<br \/>\n   }<br \/>\n   echo \"\\n inlook=\\\"\" . $doww . \"\\\"; \\n\";<br \/>\n   echo \"\\n setTimeout(highlightsearch,3000); \\n\";<br \/>\n }<br \/>\n?&gt;<\/font><\/i><br \/>\n preprecc('wopenallwas');<br \/>\n document.getElementById('searchsubmit').style.display='none';<br \/>\n <i><font color='blue'>var wbis=document.getElementById('searchform').action.indexOf(\"\/wordpress\");<br \/>\n var taglist, catlist;<br \/>\n var tagvar, tagvar2, catvar, catvar2;<br \/>\n if (wbis != -1) {<br \/>\n   catvar=document.getElementById('categories-2').innerHTML.split(\"href=\");<br \/>\n   catvar2=document.getElementById('categories-2').innerHTML.split(\"title=\");<br \/>\n } else {<br \/>\n   catvar=document.getElementById('categories-2').innerHTML.split(\"href=\");<br \/>\n   catvar2=document.getElementById('categories-2').innerHTML.split(\"href=\");<br \/>\n }<br \/>\n if (wbis != -1) {<br \/>\n   tagvar=document.getElementById('tag_cloud-3').innerHTML.split(\"href=\");<br \/>\n   tagvar2=document.getElementById('tag_cloud-3').innerHTML.split(\"title=\");<br \/>\n } else {<br \/>\n   tagvar=document.getElementById('tag_cloud-2').innerHTML.split(\"href=\");<br \/>\n   tagvar2=document.getElementById('tag_cloud-2').innerHTML.split(\"title=\");<br \/>\n }<br \/>\n var sparea, thedelim=\"\", itc, tcval, tctitle;<br \/>\n catselis=\"&lt;select onchange='ovsel(this, this.value);' id='catselis' style='display:none;'&gt;&lt;option value=' '&gt;Categories below ...&lt;\/option&gt;&lt;option value=''&gt;Not shown below ...&lt;\/option&gt;&lt;\/select&gt;\";<br \/>\n tagselis=\"&lt;select onchange='ovsel(this, this.value);' id='tagselis' style='display:none;'&gt;&lt;option value=' '&gt;Popular Tags below ...&lt;\/option&gt;&lt;option value=''&gt;Not shown below ...&lt;\/option&gt;&lt;\/select&gt;\";<br \/>\n for (itc=1; itc&lt;catvar.length; itc++) {<br \/>\n   thedelim=catvar[itc].substring(0,1);<br \/>\n   tctitle=catvar2[itc].substring(1).replace(\"&gt;\",\"&lt;\").split(\"&lt;\");<br \/>\n   if (wbis != -1) {<br \/>\n     sparea=catvar[itc].substring(1).split(\"?cat=\");<br \/>\n     tcval=sparea[1].split(thedelim);<br \/>\n   } else {<br \/>\n     sparea=catvar[itc].substring(1).split(\"\/category\/\");<br \/>\n     tcval=sparea[1].split(\"\/\");<br \/>\n   }<br \/>\n   catselis=catselis.replace(\"&lt;\/select&gt;\", \"&lt;option value='\" + tcval[0] + \"'&gt;\" + tctitle[1] + \"&lt;\/option&gt;&lt;\/select&gt;\");<br \/>\n }<br \/>\n for (itc=1; itc&lt;tagvar.length; itc++) {<br \/>\n   thedelim=tagvar[itc].substring(0,1);<br \/>\n   tctitle=tagvar[itc].substring(1).replace(\"&gt;\",\"&lt;\").split(\"&lt;\");<br \/>\n   if (wbis != -1) {<br \/>\n     sparea=tagvar[itc].substring(1).split(\"?tag=\");<br \/>\n     tcval=sparea[1].split(thedelim);<br \/>\n   } else {<br \/>\n     sparea=tagvar[itc].substring(1).split(\"\/tag\/\");<br \/>\n     tcval=sparea[1].split(\"\/\");<br \/>\n   }<br \/>\n   tagselis=tagselis.replace(\"&lt;\/select&gt;\", \"&lt;option value='\" + tcval[0] + \"'&gt;\" + tctitle[1] + \"&lt;\/option&gt;&lt;\/select&gt;\");<br \/>\n }<\/font><\/i><br \/>\n formihis = document.getElementById('searchform').innerHTML.replace(\"&lt;\/div&gt;\", <i><font color='blue'>tagselis + catselis + <\/font><\/i>\"&lt;input style='display:none;' type='radio' name='stype' value=''&gt;&lt;input <\/font><i><font color='olive'>style='margin-left:-2px;'<\/font><\/i><font color='black'> onclick=\\\"radiocc('Search');\\\" type='radio' name='stype' value='Search'&gt;Searc<i><font color='blue'>&lt;a title='Welcome to highlighted search functionality ...' href='#searchform' onclick='highlighttest();' <\/font><font color='olive'>onmouseover='getHighlightedSearch();' onmouseout='yehBut();' ontouchstart='getHighlightedSearch();' ontouchend='yehBut();'<\/font><font color='teal'>&gt;&lt;font color=orange&gt;h&lt;\/font&gt;&nbsp;&nbsp;<\/font><\/i>&lt;input onclick=\\\"radiocc('Tag');\\\" type='radio' name='stype' value='Tag'&gt;<i><font color='blue'>&lt;a onclick=\\\"ovput('Tag');\\\" title=\\\"Overlay Tag dropdown ...\\\" href=\\\"#tagselis\\\"&gt;Tag&lt;\/a&gt;<\/font><\/i>&lt;input onclick=\\\"radiocc('Category');\\\" type='radio' name='stype' value='Category'&gt;<i><font color='blue'>&lt;a onclick=\\\"ovput('Category');\\\" title=\\\"Overlay Category dropdown ...\\\" href=\\\"#catselis\\\"&gt;Category&lt;\/a&gt;<\/font><\/i>&lt;select id='seltc' style='display:none;' onchange=\\\"window.open(this.value,'_blank');\\\" size='1'&gt;&lt;option value=''&gt;Blog Postings below ...&lt;\/option&gt;&lt;\/select&gt;&lt;\/div&gt;\");<br \/>\n formihis = formihis.replace(\"input id\", \"input onblur='preradiocc();' id\");<br \/>\n document.getElementById('searchform').innerHTML = formihis;<br \/>\n document.getElementById('s').onblur = preradiocc;<br \/>\n&lt;?php<br \/>\n $tblurb=\"\";<br \/>\n if (isset($_GET['wopenall'])) {<br \/>\n    $tpage=1;<br \/>\n    $furl=\"\";<br \/>\n    $sru=explode(\"?\", $_SERVER['REQUEST_URI']);<br \/>\n    if (isset($_GET['paged'])) {<br \/>\n      $tpage=$_GET['paged'];<br \/>\n      $nurl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . $sru[0] . \"?\" . str_replace(\"paged=\" . $tpage, \"paged=\" . ($tpage + 1), $_SERVER['QUERY_STRING']);<br \/>\n      $furl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . $sru[0] . \"?\" . str_replace(\"paged=\" . $tpage, \"paged=1\", $_SERVER['QUERY_STRING']);<br \/>\n    } else if (isset($_GET['tag']) || isset($_GET['cat']) || isset($_GET['s'])) {<br \/>\n      $nurl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . $sru[0] . \"?\" . $_SERVER['QUERY_STRING'] . \"&paged=2\";<br \/>\n      if (1 == 2) $furl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . $sru[0] . \"?\" . $_SERVER['QUERY_STRING'] . \"&paged=1\";<br \/>\n    } else if (strpos(\"\/wordpress\/\", $_SERVER['REQUEST_URI']) !== false) {<br \/>\n      $nurl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . $sru[0] . \"?\" . str_replace(\"wopenall=\", \"s=\", $_SERVER['QUERY_STRING']);<br \/>\n      $tblurb = \"      location.href='\" . $nurl . \"'; \\n\";<br \/>\n    } else {<br \/>\n      $tstuff=explode(\"page\/\", $sru[0]);<br \/>\n      if (sizeof($tstuff) &gt; 1) {<br \/>\n       $tstu=explode(\"\/\", $tstuff[1]);<br \/>\n       $tpage=$tstu[0];<br \/>\n       $nurl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . str_replace(\"\/\" . $tpage, \"\/\" . ($tpage + 1), $sru[0]) . \"?\" . $_SERVER['QUERY_STRING'];<br \/>\n       $furl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . str_replace(\"\/\" . $tpage, \"\/1\", $sru[0]) . \"?\" . $_SERVER['QUERY_STRING'];<br \/>\n      } else {<br \/>\n       $nurl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . $sru[0] . \"\/page\/2\/\" . \"?\" . $_SERVER['QUERY_STRING'];<br \/>\n       if (1 == 2) $furl = \"http:\/\/\" . $_SERVER['SERVER_NAME'] . \":\" . $_SERVER['SERVER_PORT'] . $sru[0] . \"\/page\/1\/\" . \"?\" . $_SERVER['QUERY_STRING'];<br \/>\n      }<br \/>\n    }<br \/>\n    if ($tblurb == \"\") {<br \/>\n     $tblurb = <i><font color='red'>\"  ourtcprefix=location.search.split('tcprefix=')[1] ? location.search.split('tcprefix=')[1].split('&')[0] : ''; \\n\";<br \/>\n     $tblurb .= \"  ourtcdelay=location.search.split('tcdelay=')[1] ? location.search.split('tcdelay=')[1].split('&')[0] : 0; \\n\";<br \/>\n     $tblurb .= <\/i><\/font>\"  var ourwov=location.search.split('wopenall=')[1] ? location.search.split('wopenall=')[1].split('&')[0] : ' '; \\n\";<br \/>\n<i><font color='olive'> $tblurb .= \"  var ourhl=location.search.split('highlight=')[1] ? location.search.split('highlight=')[1].split('&')[0] : ''; \\n\";<\/i><\/font><br \/>\n     $tblurb .= \"  var ows, owstwo, iot, hl=1; \\n\";<br \/>\n     $tblurb .= \"   if (ourwov != ' ') { \\n\";<br \/>\n     $tblurb .= \"    var hones=docgetclass('entry-title', 'h1'); \\n\";<br \/>\n     $tblurb .= \"    hl=hones.length; \\n\";<br \/>\n     $tblurb .= \"    if (hones.length &gt; 0) { \\n\";<br \/>\n     $tblurb .= \"     for (iot=0; iot&lt;hones.length; iot++) { \\n\";<br \/>\n     $tblurb .= \"      if (hones[iot].innerHTML.indexOf('Not Found') != -1) hl=eval(-1 + hl); \\n\";<br \/>\n     $tblurb .= \"      if (ourwov == '' || hones[iot].innerHTML.toLowerCase().indexOf(decodeURIComponent(ourwov.replace('+', '%20').replace('+', '%20').replace('+', '%20').replace('+', '%20').toLowerCase())) != -1) { \\n\";<br \/>\n     $tblurb .= \"        ows=hones[iot].innerHTML.split('href='); \\n\";<br \/>\n     $tblurb .= \"        if (ows.length &gt; 1) { \\n\";<br \/>\n     $tblurb .= \"         owstwo=ows[1].substring(1).split(ows[1].substring(0,1)); \\n\";<br \/>\n<b><i><font color='olive'><br \/>\n $tblurb .= \"   if (ourhl != '' && owstwo[0].indexOf('?') != -1) { owstwo[0]+=('&highlight=' + ourhl); } \\n\";<br \/>\n $tblurb .= \"   else if (ourhl != '' && owstwo[0].indexOf('?') == -1) { owstwo[0]+=('?highlight=' + ourhl); } \\n\";<br \/>\n<\/i><\/b><\/font><br \/>\n<b><i><font color='red'>     $tblurb .= \"         if ((ourtcprefix == '!' || tcprefix == '!') || (ourtcprefix == '|' || tcprefix == '|') || (ourtcprefix == '+' || tcprefix == '+') || (ourtcprefix == '*' || tcprefix == '*') || (ourtcprefix != '' || tcprefix != '') || (ourtcdelay != 0 || tcdelay != 0)) { if ((ourtcprefix == '!' || tcprefix == '!') || (ourtcprefix == '|' || tcprefix == '|') || (ourtcprefix == '+' || tcprefix == '+') || (ourtcprefix == '*' || tcprefix == '*')) { top.document.getElementById('seltc').style.display='block'; } else { optcol='lightgreen'; } top.document.getElementById('seltc').innerHTML += '&lt;option <\/font><\/i><\/b><b><i><font color='green'>id=\\\"tco' + iot + '\\\" onmouseover=\\\"getSws(event);\\\" onmouseout=\\\"yehbut();\\\"  ontouchstart=\\\"getSws(event);\\\" ontouchend=\\\"yehbut();\\\" title=\\\"... you can wait for the long hover functionality for a Blog Post Preview\\\" <\/font><\/i><\/b><b><i><font color='red'>style=\\\"background-color:' + optcol + ';\\\" value=\\\"' + owstwo[0] + '\\\"&gt;' + hones[iot].innerHTML + '&lt;\/option&gt;';   } else { window.open(owstwo[0], '_blank');  } \\n\";<\/font><\/i><\/b><br \/>\n     $tblurb .= \"        } \\n\";<br \/>\n     $tblurb .= \"      } \\n\";<br \/>\n     $tblurb .= \"     } \\n\";<br \/>\n     $tblurb .= \"     hones=docgetclass('nav-previous', 'div'); \\n\";<br \/>\n     <i><font color='red'>$tblurb .= \"     if (hones.length &gt; 0 && ((tcprefix == '!' || tcprefix == '+' || tcprefix == '|' || tcprefix == '*'))) { \\n\";<br \/>\n     if (strpos($nurl, \"\/page\/2\/\") !== false || strpos($nurl, \"paged=2\") !== false) {<br \/>\n     $tblurb .= \"      location.href = '\" . $nurl . \"'; \\n\";<br \/>\n     } else {<br \/>\n     $tblurb .= \"      location.href = '\" . $nurl . \"'; \\n\";<br \/>\n     }<br \/>\n     $tblurb .= \"     } else <\/i><\/font>if (hones.length &gt; 0) { \\n\";<br \/>\n     $tblurb .= \"      location.href = '\" . $nurl . \"'; \\n\";<br \/>\n     $tblurb .= \"     } else { \\n\";<br \/>\n     $tblurb .= \"      preprecc('wopenall');  \\n\";<br \/>\n     $tblurb .= \"     } \\n\";<br \/>\n     $tblurb .= \"    } \\n\";<br \/>\n     if ($furl != \"\") $tblurb .= \"     if (hl == 0) { \\n\";<br \/>\n     if ($furl != \"\") $tblurb .= \"      location.href = '\" . str_replace(\"wopenall=\", \"wopenallwas=\", $furl) . \"'; \\n\";<br \/>\n     if ($furl != \"\") $tblurb .= \"     }  \\n\";<br \/>\n     $tblurb .= \"   } \\n\";<br \/>\n    }<br \/>\n    echo $tblurb;<br \/>\n }<br \/>\n?&gt;<br \/>\n}<br \/>\n<\/b><br \/>\n&lt;\/script&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body onload=\"<b>precc();<\/b> courseCookies();\" &lt;?php body_class(); ?&gt;&gt;<br \/>\n<\/code><\/p>\n<p>Ajax related contextual help functionality changed to accomodate this last idea in <a target=_blank title='wajax.js' href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/wordpress\/wajax.js-----------------GETME'>this way<\/a> for wajax.js Javascript.  The mode of use of ignoring contextual help meant that <a target=_blank title='nothing.js' href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/wordpress\/nothing.js----GETME'>nothing.js<\/a> changed in exactly the same manner.<\/p>\n<hr>\n<p id='whspt'>Previous relevant <a target=_blank title='WordPress Highlighted Search Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-highlighted-search-primer-tutorial\/'>WordPress Highlighted Search Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/HighlightedSearch.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"WordPress Highlighted Search Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/HighlightedSearch.jpg\" title=\"WordPress Highlighted Search Primer Tutorial\"    \/><\/a><p class=\"wp-caption-text\">WordPress Highlighted Search Primer Tutorial<\/p><\/div>\n<p>We talked recently about this WordPress blog&#8217;s Search functionality, and thought we&#8217;d finished, but at the risk of saying <a target=_blank title=\"but there's more\" href=\"http:\/\/www.youtube.com\/watch?v=iiATDMHU7gc\">&#8220;but there&#8217;s more&#8221;<\/a> &#8230; well &#8230; there&#8217;s more (as there is with WordPress 4.1.1 blog posting <a target=_blank title='WordPress Highlighted Search Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-highlighted-search-primer-tutorial\/'>WordPress Highlighted Search Primer Tutorial<\/a>).<\/p>\n<p>When we use the search functionality, sometimes it is specific words of interest we search for, and would like the Search results to highlight those words, so we&#8217;re going to do that functionality today with this WordPress blog.<\/p>\n<p>As per usual with our WordPress TwentyTen blog, it is header.php that changes (as we&#8217;ll show later, below), and adds some additional functionality with what was left off with, with <a target=_blank href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-search-within-search-overlay-tutorial\/' title='WordPress Blog Search Within Search Overlay Tutorial'>WordPress Blog Search Within Search Overlay Tutorial<\/a><\/p>\n<p>So, in general terms, what was involved with the change?<\/p>\n<ul>\n<li>the bit that could easily be unit tested, so was, was to add another $_GET[&#8216;highlight&#8217;] get parameter to the blog URLs indicating that one of these &#8220;highlighting&#8221; sessions was happening &#8230; which used the new Javascript functions &#8230;\n<ol>\n<li>function iltcwindowopen() &#8230; to allow for a delayed window.open() &#8230; so that the user will lob onto the &#8220;highlighted&#8221; webpage by preference<\/li>\n<li>function testih(insis, infis, defis) &#8230; to test that with HTML element span, p, a, h1 that are tested via Javascript DOM method document.getElementsByTagName() that the wording appears as wording, and not in the wording of the HTML element&#8217;s properties<\/li>\n<li>function highlighttest() &#8230; called by the new HTML a tag we discuss later, and calls iltcwindowopen via setTimeout to delay the window.open enough to make sure the new webpage gets the focus, as previously alluded to<\/li>\n<li>function highlightsearch() &#8230; looks through the current webpage for instances of the &#8220;highlight&#8221; search string of interest, as arranged by today&#8217;s modified PHP (in header.php) &#8230;<\/li>\n<\/ol>\n<\/li>\n<li>within the Javascript function precc() (set up by <a target=_blank href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-search-within-search-overlay-tutorial\/' title='WordPress Blog Search Within Search Overlay Tutorial'>WordPress Blog Search Within Search Overlay Tutorial<\/a>) which is called by the blog&#8217;s HTML body element&#8217;s onload event, we determine, via PHP whether the $_GET[&#8216;highlight&#8217;] is defined, and proceed to arrange the Javascript call to highlightsearch() via setTimeout (so there is a small delay for other functionality to complete)<\/li>\n<\/ul>\n<p> &#8230; this could be unit tested via test involving URLs with &#8220;?highlight=[searchString]&#8221; until programmer happiness is found &#8230; and so it came to pass &#8230; and then &#8230; yo &#8230; behold &#8230; we &#8230;<\/p>\n<ul>\n<li>made the &#8220;h&#8221; in our search radio button label of <a target=_blank href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-search-within-search-overlay-tutorial\/' title='WordPress Blog Search Within Search Overlay Tutorial'>WordPress Blog Search Within Search Overlay Tutorial<\/a> now be an HTML a tag that doesn&#8217;t use the Search form workings but, instead, analyzes the situation for whether a &#8220;highlighted&#8221; Search is viable, and if it is, simulate what the Search form would have done, except that a new webpage is created for this new &#8220;highlighted&#8221; Search webpage &#8230; and make sure there is a meaningful title that will show when a non-mobile user hovers over this &#8220;h&#8221;<\/li>\n<\/ul>\n<p>So we need to show you the changes additional (and reliant on <a target=_blank href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-blog-search-within-search-overlay-tutorial\/' title='WordPress Blog Search Within Search Overlay Tutorial'>WordPress Blog Search Within Search Overlay Tutorial<\/a> &#8230; though it would be easy for it not to be reliant on it) in <b><i><font color='teal'>teal bold itallic<\/font><\/b><\/i> (the new bits from before are just <b>bold<\/b>) below &#8230;<\/p>\n<p><code><br \/>\n<b><i><br \/>\n<font color='teal'><br \/>\nvar inlook=\"\", inlooki=0, inlooku=\"\";<br \/>\nfunction iltcwindowopen() {<br \/>\n  window.open(inlooku, '_blank');<br \/>\n}<br \/>\nfunction testih(insis, infis, defis) {<br \/>\n var retis=defis;<br \/>\n for (var ijh=infis; ijh&gt;=0; ijh--) {<br \/>\n   if (insis.substring(ijh, eval(1 + ijh)) == '&gt;') {<br \/>\n     inlooki++;<br \/>\n     return defis;<br \/>\n   }<br \/>\n   if (insis.substring(ijh, eval(1 + ijh)) == '&lt;') return '';<br \/>\n }<br \/>\n inlooki++;<br \/>\n return defis;<br \/>\n}<br \/>\nfunction highlighttest() {<br \/>\n var sis=document.getElementById('s').value;<br \/>\n if (sis != '') {<br \/>\n  var sisa=document.getElementById('searchform').action;<br \/>\n  inlooku=sisa + \"?s=\" + encodeURIComponent(sis) + \"&highlight=\";<br \/>\n  setTimeout(iltcwindowopen, 2000);<br \/>\n  \/\/window.open(sisa + \"?s=\" + encodeURIComponent(sis) + \"&highlight=\", \"_blank\");<br \/>\n }<br \/>\n}<br \/>\nfunction highlightsearch() {<br \/>\n var imb, ifound, spare, spare2, startfrom, atwo, atwodelim, athree, sprefix=\"&lt;font color=orange&gt;\", ssuffix;<br \/>\n if (inlook != \"\") {<br \/>\n  var pspana=document.getElementsByTagName(\"a\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   if (pspana[imb].innerHTML.indexOf(inlook) != -1) {<br \/>\n     spare=pspana[imb].innerHTML;<br \/>\n     spare2=spare;<br \/>\n     startfrom=0;<br \/>\n     ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n     while (ifound != -1) {<br \/>\n       \/\/alert(\"pre \" + spare);<br \/>\n       ssuffix=testih(spare2, ifound, \"&lt;\/font&gt;\");<br \/>\n       spare=spare2.substring(0,ifound) + ssuffix.replace(\"&lt;\/font&gt;\", sprefix.replace(\"font col\", \"font id='fc\" + inlooki + \"' col\")) + \"youllneverfind_this\" + ssuffix + spare2.substring(ifound + inlook.length);<br \/>\n       \/\/alert(spare);<br \/>\n       ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n       spare2=spare;<br \/>\n     }<br \/>\n     pspana[imb].innerHTML=spare.replace(\/youllneverfind_this\/g, inlook);<br \/>\n   }<br \/>\n  }<br \/>\n  pspana=document.getElementsByTagName(\"span\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   if (pspana[imb].innerHTML.indexOf(inlook) != -1) {<br \/>\n     spare=pspana[imb].innerHTML;<br \/>\n     spare2=spare;<br \/>\n     startfrom=0;<br \/>\n     ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n     while (ifound != -1) {<br \/>\n       \/\/alert(\"pre \" + spare);<br \/>\n       ssuffix=testih(spare2, ifound, \"&lt;\/font&gt;\");<br \/>\n       spare=spare2.substring(0,ifound) + ssuffix.replace(\"&lt;\/font&gt;\", sprefix.replace(\"font col\", \"font id='fc\" + inlooki + \"' col\")) + \"youllneverfind_this\" + ssuffix + spare2.substring(ifound + inlook.length);<br \/>\n       \/\/alert(spare);<br \/>\n       ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n       spare2=spare;<br \/>\n     }<br \/>\n     pspana[imb].innerHTML=spare.replace(\/youllneverfind_this\/g, inlook);<br \/>\n   }<br \/>\n  }<br \/>\n  pspana=document.getElementsByTagName(\"h1\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   if (pspana[imb].innerHTML.indexOf(inlook) != -1) {<br \/>\n     spare=pspana[imb].innerHTML;<br \/>\n     spare2=spare;<br \/>\n     startfrom=0;<br \/>\n     ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n     while (ifound != -1) {<br \/>\n       \/\/alert(\"pre \" + spare);<br \/>\n       ssuffix=testih(spare2, ifound, \"&lt;\/font&gt;\");<br \/>\n       spare=spare2.substring(0,ifound) + ssuffix.replace(\"&lt;\/font&gt;\", sprefix.replace(\"font col\", \"font id='fc\" + inlooki + \"' col\")) + \"youllneverfind_this\" + ssuffix + spare2.substring(ifound + inlook.length);<br \/>\n       \/\/alert(spare);<br \/>\n       ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n       spare2=spare;<br \/>\n     }<br \/>\n     pspana[imb].innerHTML=spare.replace(\/youllneverfind_this\/g, inlook);<br \/>\n   }<br \/>\n  }<br \/>\n  pspana=document.getElementsByTagName(\"p\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   if (pspana[imb].innerHTML.indexOf(inlook) != -1) {<br \/>\n     spare=pspana[imb].innerHTML;<br \/>\n     spare2=spare;<br \/>\n     startfrom=0;<br \/>\n     ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n     while (ifound != -1) {<br \/>\n       \/\/alert(\"pre \" + spare);<br \/>\n       ssuffix=testih(spare2, ifound, \"&lt;\/font&gt;\");<br \/>\n       spare=spare2.substring(0,ifound) + ssuffix.replace(\"&lt;\/font&gt;\", sprefix.replace(\"font col\", \"font id='fc\" + inlooki + \"' col\")) + \"youllneverfind_this\" + ssuffix + spare2.substring(ifound + inlook.length);<br \/>\n       \/\/alert(spare);<br \/>\n       ifound=spare.substring(startfrom).indexOf(inlook);<br \/>\n       spare2=spare;<br \/>\n     }<br \/>\n     pspana[imb].innerHTML=spare.replace(\/youllneverfind_this\/g, inlook);<br \/>\n   }<br \/>\n  }<br \/>\n  pspana=docgetclass(\"entry-title\", \"h2\");<br \/>\n  for (imb=0; imb&lt;pspana.length; imb++) {<br \/>\n   spare=pspana[imb].innerHTML;<br \/>\n   atwo=spare.split(\"href=\");<br \/>\n   if (atwo.length &gt; 1) {<br \/>\n     atwodelim=atwo[1].substring(0,1);<br \/>\n     athree=atwo[1].substring(1).split(atwodelim);<br \/>\n     if (athree[0].indexOf(\"?\") == -1 && athree[0].indexOf(\"highlight=\") == -1) {<br \/>\n      spare2=athree[0] + \"?highlight=\" + encodeURIComponent(inlook);<br \/>\n      \/\/alert(\"here1 \" + spare + \" ... now ... \" + spare.replace(athree[0], spare2) + \" ... via \" + spare2);<br \/>\n      pspana[imb].innerHTML=spare.replace(athree[0], spare2);<br \/>\n     } else if (athree[0].indexOf(\"highlight=\") == -1) {<br \/>\n      spare2=athree[0] + '&' + \"highlight=\" + encodeURIComponent(inlook);<br \/>\n      \/\/alert(\"here2 \" + spare + \" ... now ... \" + spare.replace(athree[0], spare2) + \" ... via \" + spare2);<br \/>\n      pspana[imb].innerHTML=spare.replace(athree[0], spare2);<br \/>\n     }<br \/>\n   }<br \/>\n  }<br \/>\n  <\/font><font color='olive'>andthenlater();<\/font><font color='teal'><br \/>\n }<br \/>\n}<br \/>\n<\/font><\/b><\/i><br \/>\n<font color='black'><b><br \/>\nfunction precc() { \/\/ wopenall= functionality<br \/>\n<\/font><br \/>\n<i><font color='teal'><br \/>\n&lt;?php<br \/>\n if (isset($_GET['highlight']) || isset($_POST['highlight'])) {<br \/>\n   $doww=\"\";<br \/>\n   if (isset($_GET['s'])) $doww=str_replace(\"'\", \"`\", urldecode(str_replace(\"+\", \" \", $_GET['s'])));<br \/>\n   if (isset($_POST['s'])) $doww=str_replace(\"'\", \"`\", urldecode(str_replace(\"+\", \" \", $_POST['s'])));<br \/>\n   if (isset($_GET['highlight'])) {<br \/>\n     if (strlen($_GET['highlight']) &gt; 0) $doww=str_replace(\"'\", \"`\", urldecode(str_replace(\"+\", \" \", $_GET['highlight'])));<br \/>\n   }<br \/>\n   if (isset($_POST['highlight'])) {<br \/>\n     if (strlen($_POST['highlight']) &gt; 0) $doww=str_replace(\"'\", \"`\", urldecode(str_replace(\"+\", \" \", $_POST['highlight'])));<br \/>\n   }<br \/>\n   echo \"\\n inlook=\\\"\" . $doww . \"\\\"; \\n\";<br \/>\n   echo \"\\n setTimeout(highlightsearch,3000); \\n\";<br \/>\n }<br \/>\n?&gt;<br \/>\n<\/font><\/i><br \/>\n<font color='black'><br \/>\n preprecc('wopenallwas');<br \/>\n...<br \/>\n...<br \/>\n}<\/font><\/b><br \/>\n&lt;\/script&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body onload=\"<b>precc();<\/b> courseCookies();\" &lt;?php body_class(); ?&gt;&gt;<br \/>\n<\/code><\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d16598' onclick='var dv=document.getElementById(\"d16598\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/?tag=wordpress\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d16598' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d16620' onclick='var dv=document.getElementById(\"d16620\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/?tag=php\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d16620' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Am glad to have coded this Highlighting Search functionality in two stages, that being &#8230; yesterday&#8217;s WordPress Highlighted Search Primer Tutorial as shown below that established the orange highlighted display &#8230; and then &#8230; today&#8217;s linking of highlighted 1 to &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-highlighted-search-follow-up-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,12,14,37],"tags":[69,151,354,557,652,861,1661,871,932,997,1110,1319,1324,1325,1456],"class_list":["post-16620","post","type-post","status-publish","format-standard","hentry","category-ajax","category-elearning","category-event-driven-programming","category-tutorials","tag-ajax","tag-blog","tag-dom","tag-hashtag","tag-javascript","tag-onclick","tag-onmouseout","tag-onmouseover","tag-php","tag-programming","tag-search","tag-tutorial","tag-twentyten","tag-twentyten-theme","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/16620"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=16620"}],"version-history":[{"count":10,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/16620\/revisions"}],"predecessor-version":[{"id":16635,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/16620\/revisions\/16635"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=16620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=16620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=16620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}