{"id":43592,"date":"2019-02-14T03:01:12","date_gmt":"2019-02-13T17:01:12","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=43592"},"modified":"2019-02-15T13:07:57","modified_gmt":"2019-02-15T03:07:57","slug":"wordpress-highlight-lookups-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-highlight-lookups-tutorial\/","title":{"rendered":"WordPress Highlight Lookups Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress_highlight.jpg\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Highlight Lookups Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress_highlight.jpg\" title=\"WordPress Highlight Lookups Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Highlight Lookups Tutorial<\/p><\/div>\n<p>We\u2019re back at WordPress TwentyTen theme header.php change methodologies to implement some new WordPress functionality like yesterday\u2019s <a title='WordPress Plugin Primer Tutorial' href='#wpppt'>WordPress Plugin Primer Tutorial<\/a> in that highlighted text of a webpage is used (except that we&#8217;ve now opened it up to the non-admin WordPress blog webpages), but this time presenting an overlayed floating set of hyperlink options linking to &#8230;<\/p>\n<ul>\n<li>Wikipedia<\/li>\n<li>Google Translate<\/li>\n<li>Free Dictionary<\/li>\n<li>Google Search<\/li>\n<li>Tag Search<\/li>\n<li>Category Search<\/li>\n<li>Tag First Word Search<\/li>\n<li>Posting Title Search<\/li>\n<\/ul>\n<p>As far as header.php code goes we add this Javascript &#8230;<\/p>\n<p>&lt;script type=&#8217;text\/javascript&#8217;&gt;<br \/>\n<code><br \/>\nvar hight=' ';<br \/>\n<br \/>\nfunction lfhlater() {<br \/>\n   var aswq=document.getElementsByTagName(\"a\");<br \/>\n   for (var iaswq=0; iaswq&lt;aswq.length; iaswq++) {<br \/>\n     if (aswq[iaswq].innerHTML == 'Long hover help available.') {<br \/>\n       aswq[iaswq].innerHTML='Highlighting and long hover help.';<br \/>\n       aswq[iaswq].title+=' ... also note that Highlighting Webpage Contents allows for Wikipedia, Google Translate, Free Dictionary and Google Search functionalities to appear';<br \/>\n     }<br \/>\n   }<br \/>\n}<br \/>\n<br \/>\nfunction lookforhighlight() {<br \/>\n  var usualdelay=2000, oRange=null, oRect=null, s_top='0px', s_left='5px', fourhundred=300, isfx='0';<br \/>\n  if (hight == ' ') {<br \/>\n    setTimeout(lfhlater, 5000);<br \/>\n    hight='';<br \/>\n  }<br \/>\n  setTimeout(lookforhighlight, usualdelay);<br \/>\n  var xsel=window.getSelection().toString();<br \/>\n  if (xsel.length == 0) {<br \/>\n    try {<br \/>\n    xsel=document.selection.createRange().htmlText;<br \/>\n    xsel=xsel.replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ');<br \/>\n    xsel=xsel.replace(String.fromCharCode(13),' ').replace(String.fromCharCode(13),' ').replace(String.fromCharCode(13),' ').replace(String.fromCharCode(13),' ');<br \/>\n    } catch(ertw) {<br \/>\n    xsel='';<br \/>\n    }<br \/>\n  } else {<br \/>\n    xsel=xsel.replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ').replace(String.fromCharCode(10),' ');<br \/>\n    xsel=xsel.replace(String.fromCharCode(13),' ').replace(String.fromCharCode(13),' ').replace(String.fromCharCode(13),' ').replace(String.fromCharCode(13),' ');<br \/>\n    if (xsel != hight && xsel != '') {<br \/>\n     oRange = window.getSelection().getRangeAt(0); \/\/get the text range<br \/>\n     oRect = oRange.getBoundingClientRect();<br \/>\n     s_top = ('' + oRect.top).replace('px','') + 'px';<br \/>\n     s_left = ('' + oRect.left).replace('px','') + 'px';<br \/>\n     if (s_top != '0px') {<br \/>\n        fourhundred=eval('' + s_top.replace('px',''));<br \/>\n        s_top='0px';<br \/>\n        var dse='', dde='';<br \/>\n        if (document.scrollingElement) {<br \/>\n          if (document.scrollingElement.scrollTop) {<br \/>\n            dse=('' + document.scrollingElement.scrollTop);<br \/>\n          }<br \/>\n        }<br \/>\n        if (document.documentElement) {<br \/>\n          if (document.documentElement.scrollTop) {<br \/>\n            dde=('' + document.documentElement.scrollTop);<br \/>\n          }<br \/>\n        }<br \/>\n        if (dse != '') {<br \/>\n          fourhundred+=eval('' + dse.replace('px',''));<br \/>\n          isfx='0';<br \/>\n        } else if (dde != '') {<br \/>\n          fourhundred+=eval('' + dde.replace('px',''));<br \/>\n          isfx='0';<br \/>\n        } else if (('' + window.scrollY) != '') {<br \/>\n          fourhundred+=eval('' + ('' + window.scrollY).replace('px',''));<br \/>\n          isfx='0';<br \/>\n        } else if (('' + window.pageYOffset) != '') {<br \/>\n          fourhundred+=eval('' + ('' + window.pageYOffset).replace('px',''));<br \/>\n          isfx='0';<br \/>\n        } else {<br \/>\n          isfx=('' + document.body.scrollTop).replace('px','');<br \/>\n          if (isfx.replace('0','') == '') {<br \/>\n            isfx=('' + document.scrollingElement.scrollTop).replace('px','');<br \/>\n            if (isfx.replace('0','') == '') {<br \/>\n               isfx=('' + window.scrollY).replace('px','');<br \/>\n               if (isfx.replace('0','') == '') {<br \/>\n                  isfx=('' + window.pageYOffset).replace('px','');<br \/>\n               }<br \/>\n            }<br \/>\n          }<br \/>\n        }<br \/>\n        fourhundred+=100;<br \/>\n     }<br \/>\n    }<br \/>\n  }<br \/>\n  if (xsel != hight && xsel != '') {<br \/>\n    hight=xsel;<br \/>\n    if (s_top == '0px') { s_top = ('' + eval(fourhundred + eval('' + isfx))) + 'px'; }<br \/>\n    if (document.getElementById('hfloater')) {<br \/>\n      if (document.getElementById('hfloater').innerHTML == '') {<br \/>\n        document.getElementById('hfloater').style.position='absolute';<br \/>\n        document.getElementById('hfloater').style.top=s_top;<br \/>\n        document.getElementById('hfloater').style.left=s_left;<br \/>\n        document.getElementById('hfloater').style.zIndex='87';<br \/>\n        document.getElementById('hfloater').style.backgroundColor='rgba(255,165,0,0.9)';<br \/>\n        document.getElementById('hfloater').style.border='1px solid purple';<br \/>\n        document.getElementById('hfloater').style.padding='2px 2px 2px 2px';<br \/>\n        document.getElementById('hfloater').style.display='block';<br \/>\n        document.getElementById('hfloater').innerHTML='&lt;b&gt;Wikipedia &lt;a style=\"inline-block;\" href=\"\/\/wikipedia.org\/wiki\/Main_Page\" title=\"\/\/wikipedia.org\/wiki\/\" target=_blank onmouseover=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'_'\" + ');\" ontouchstart=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'_'\" + ');\" id=b_hfloater_wikipedia&gt;' + hight + '&lt;\/a&gt;&lt;\/b&gt;&lt;br&gt;';<br \/>\n        document.getElementById('hfloater').innerHTML+='&lt;b&gt;Google Translate &lt;a style=\"inline-block;\" href=\"\/\/translate.google.com\" title=\"\/\/translate.google.com\/#view=home&op=translate&sl=auto&tl=en&text=\" target=_blank onmouseover=\"this.href=this.title + encodeURIComponent(hight);\" ontouchstart=\"this.href=this.title + encodeURIComponent(hight);\" id=b_hfloater_google_translate&gt;' + hight + '&lt;\/a&gt;&lt;\/b&gt;&lt;br&gt;';<br \/>\n        document.getElementById('hfloater').innerHTML+='&lt;b&gt;Free Dictionary &lt;a style=\"inline-block;\" href=\"\/\/www.thefreedictionary.com\/\" title=\"\/\/www.thefreedictionary.com\/\" target=_blank onmouseover=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'+'\" + ');\" ontouchstart=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'+'\" + ');\" id=b_hfloater_free_dictionary&gt;' + hight + '&lt;\/a&gt;&lt;\/b&gt;&lt;br&gt;';<br \/>\n        document.getElementById('hfloater').innerHTML+='&lt;b&gt;Google Search &lt;a style=\"inline-block;\" href=\"\/\/www.google.com\/\" title=\"\/\/www.google.com\/search?q=\" target=_blank onmouseover=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'+'\" + ');\" ontouchstart=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'+'\" + ');\" id=b_hfloater_google_search&gt;' + hight + '&lt;\/a&gt;&lt;\/b&gt;&lt;br&gt;';<br \/>\n        document.getElementById('hfloater').innerHTML+='&lt;b&gt;Tag Search &lt;a style=\"inline-block;\" href=\"\/\/www.rjmprogramming.com.au\/ITblog\/\" title=\"\/\/www.rjmprogramming.com.au\/ITblog\/tag\/\" target=_blank onmouseover=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'-'\" + ');\" ontouchstart=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'-'\" + ');\" id=b_hfloater_tag_search&gt;' + hight + '&lt;\/a&gt;&lt;\/b&gt;&lt;br&gt;';<br \/>\n        document.getElementById('hfloater').innerHTML+='&lt;b&gt;Category Search &lt;a style=\"inline-block;\" href=\"\/\/www.rjmprogramming.com.au\/ITblog\/\" title=\"\/\/www.rjmprogramming.com.au\/ITblog\/category\/\" target=_blank onmouseover=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'-'\" + ');\" ontouchstart=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'-'\" + ');\" id=b_hfloater_category_search&gt;' + hight + '&lt;\/a&gt;&lt;\/b&gt;&lt;br&gt;';<br \/>\n        document.getElementById('hfloater').innerHTML+='&lt;b&gt;Tag First Word Search &lt;a style=\"inline-block;\" href=\"\/\/www.rjmprogramming.com.au\/ITblog\/\" title=\"\/\/www.rjmprogramming.com.au\/ITblog\/tag\/\" target=_blank onmouseover=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'-'\" + ').replace(' + \"'-','\/?wopenall='\" + ');\" ontouchstart=\"this.href=this.title + hight.replace(\/\\ \/g,' + \"'-'\" + ').replace(' + \"'-','\/?wopenall='\" + ');\" id=b_hfloater_tag_first_word_search&gt;' + hight + '&lt;\/a&gt;&lt;\/b&gt;&lt;br&gt;';<br \/>\n        document.getElementById('hfloater').innerHTML+='&lt;b&gt;Posting Title Search &lt;a style=\"inline-block;\" href=\"\/\/www.rjmprogramming.com.au\/itblog\/match\/mapper.php\" title=\"\/\/www.rjmprogramming.com.au\/itblog\/match\/mapper.php?pm=\" target=_blank onmouseover=\"this.href=this.title + encodeURIComponent(hight);\" ontouchstart=\"this.href=this.title + encodeURIComponent(hight);\" id=b_hfloater_posting_title_search&gt;' + hight + '&lt;\/a&gt;&lt;\/b&gt;&lt;br&gt;';<br \/>\n      } else {<br \/>\n        document.getElementById('b_hfloater_wikipedia').innerHTML=hight;<br \/>\n        document.getElementById('b_hfloater_google_translate').innerHTML=hight;<br \/>\n        document.getElementById('b_hfloater_free_dictionary').innerHTML=hight;<br \/>\n        document.getElementById('b_hfloater_google_search').innerHTML=hight;<br \/>\n        document.getElementById('b_hfloater_tag_search').innerHTML=hight;<br \/>\n        document.getElementById('b_hfloater_category_search').innerHTML=hight;<br \/>\n        document.getElementById('b_hfloater_tag_first_word_search').innerHTML=hight;<br \/>\n        document.getElementById('b_hfloater_posting_title_search').innerHTML=hight;<br \/>\n        document.getElementById('hfloater').style.top=s_top;<br \/>\n        document.getElementById('hfloater').style.left=s_left;<br \/>\n        document.getElementById('hfloater').style.display='block';<br \/>\n      }<br \/>\n    }<br \/>\n  } else if (xsel == '') {<br \/>\n    if (document.getElementById('hfloater')) {<br \/>\n      document.getElementById('hfloater').style.display='none';<br \/>\n    }<br \/>\n    hight='';<br \/>\n  }<br \/>\n}<br \/>\n<\/code><br \/>\n&lt;\/script&gt;<\/p>\n<p>&#8230; called by the <b>changed HTML snippet<\/b> as below &#8230;<\/p>\n<p><code><br \/>\n&lt;body onload='<b>lookforhighlight();<\/b>  postcalendar(); changeasfordownload();  if (cafd == cafd) { cafd=0; } else { cafd=true; }  checkonl(); setTimeout(initpostedoncc, 3000); widgetcon(); precc(); courseCookies();  cookie_fonts(); is_mentioned_by(); calendar_pass(); prejustshow(); details_summary(0);  '&gt;<br \/>\n<b>&lt;div id=\"hfloater\"&gt;&lt;\/div&gt;<\/b><br \/>\n<\/code><\/p>\n<hr>\n<p id='wpppt'>Previous relevant <a target=_blank title='WordPress Plugin Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-plugin-primer-tutorial\/'>WordPress Plugin Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress_plugin_simple.gif\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WordPress Plugin Primer Tutorial\" src=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress_plugin_simple.gif\" title=\"WordPress Plugin Primer Tutorial\"  style=\"float:left;\"   \/><\/a><p class=\"wp-caption-text\">WordPress Plugin Primer Tutorial<\/p><\/div>\n<p>Normally we make changes to this TwentyTen themed WordPress blog by changing that theme&#8217;s wp-content\/themes\/twentyten\/header.php file.  But today we show you how to write the PHP code needed to write a <a target=_blank title='WordPress.org' href='http:\/\/www.wordpress.org'>WordPress.org<\/a> admin login <a target=_blank title='Plugin information from Wikipedia' href='https:\/\/en.wikipedia.org\/wiki\/Plug-in_(computing)'>plugin<\/a> to create a hyperlink to a Wikipedia page regarding any text you have highlighted on your WordPress admin area webpage.<\/p>\n<p>We thank &#8230;<\/p>\n<ul>\n<li><a target=_blank title='Codex' href='https:\/\/codex.wordpress.org\/'>WordPress Codex<\/a><\/li>\n<li><a target=_blank title='Writing a Plugin' href='https:\/\/codex.wordpress.org\/Writing_a_Plugin'>WordPress Codex &#8220;Writing a Plugin&#8221;<\/a><\/li>\n<li><a target=_blank title='Plugin API' href='https:\/\/codex.wordpress.org\/Plugin_API'>WordPress Codex &#8220;Plugin API&#8221;<\/a><\/li>\n<li><a target=_blank title='Hello Dolly plugin' href='https:\/\/wordpress.org\/plugins\/hello-dolly\/'>Hello Dolly plugin<\/a><\/li>\n<\/ul>\n<p> &#8230; and we think you should read &#8230;<\/p>\n<ul>\n<li><a target=_blank title='WordPress Codex Hooks' href='https:\/\/developer.wordpress.org\/reference\/hooks\/'>Hooks<\/a><\/li>\n<li><a target=_blank title='WordPress Codex Actions' href='https:\/\/codex.wordpress.org\/Glossary#Action'>Actions<\/a><\/li>\n<li><a target=_blank title='WordPress Codex Filters' href='https:\/\/codex.wordpress.org\/Glossary#Filter'>Filters<\/a><\/li>\n<li><a target=_blank title='WordPress Codex Pluggable Functions' href='https:\/\/codex.wordpress.org\/Plugin_API#Pluggable_Functions'>Pluggable Functions<\/a><\/li>\n<li><a target=_blank title='WordPress Codex Plugins directory' href='https:\/\/codex.wordpress.org\/Function_Reference\/plugin_dir_url'><b>Plugins directory<\/b><\/a><\/li>\n<\/ul>\n<p>For us, with our very simple <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-content\/plugins\/rjmprogramming-wikipedia-lookup.php_GETME\">rjmprogramming-wikipedia-lookup.php<\/a> plugin, we only needed the one piece of PHP to sit in the current WordPress <b>wp-content\/plugins<\/b> directory, and then immediately be accessible to the WordPress blog admin area\u2019s Plugins -&gt; Activate option &#8230;<\/p>\n<p><code><br \/>\n&lt;?php<br \/>\n\/**<br \/>\n * @package Rjmprogramming_Wikipedia_Lookup<br \/>\n * @version 1.6<br \/>\n *\/<br \/>\n\/*<br \/>\nPlugin Name: Rjmprogramming Wikipedia Lookup<br \/>\nDescription: Float a Wikipedia lookup link for highlighted text of an admin webpage.<br \/>\nAuthor: Robert James Metcalfe<br \/>\nVersion: 1.6<br \/>\nAuthor URI: http:\/\/www.rjmprogramming.com.au\/<br \/>\n*\/<br \/>\n<br \/>\n\/\/ This creates the Wikipedia lookup hyperlink<br \/>\nfunction rjmprogramming_wikipedia_lookup() {<br \/>\n\t$wikipedia_page = \"Wikipedia Main Page\";<br \/>\n\techo '&lt;a target=\"_blank\" title=\"Wikipedia lookup of ...\" onmouseover=\"var xsel=' .<br \/>\n\t  \"''\" . '; xsel=window.getSelection().toString(); if (xsel.length == 0) {' .<br \/>\n\t  ' xsel=document.selection.createRange().htmlText;' .<br \/>\n\t  ' } if (xsel.length != 0) { this.innerHTML=xsel; this.href=' . \"'\" . '\/\/wikipedia.org\/wiki\/' .<br \/>\n\t  \"'\" . ' + xsel.replace(\/\\ \/g,' . \"'\" . '_' . \"'\" . '); } \" ontouchstart=\"var xsel=' .<br \/>\n\t  '; xsel=window.getSelection().toString(); if (xsel.length == 0) {' .<br \/>\n\t  ' xsel=document.selection.createRange().htmlText; }' .<br \/>\n\t  ' if (xsel.length != 0) { this.innerHTML=xsel; this.href=' . \"'\" . '\/\/wikipedia.org\/wiki\/' . \"'\" .<br \/>\n\t  ' + xsel.replace(\/\\ \/g,' . \"'\" . '_' . \"'\" . '); } \" id=\"rjmprogramming_wikipedia_lookup\"' .<br \/>\n\t  ' href=\"\/\/wikipedia.org\/wiki\/Main_Page\"&gt;' . $wikipedia_page . '&lt;\/a&gt;';<br \/>\n}<br \/>\n<br \/>\n\/\/ Now we set that function up to execute when the admin_notices action is called<br \/>\nadd_action( 'admin_notices', 'rjmprogramming_wikipedia_lookup' );<br \/>\n<br \/>\n\/\/ We need some CSS to position the hyperlink<br \/>\nfunction rjmprogramming_wikipedia_css() {<br \/>\n\t\/\/ This makes sure that the positioning is also good for right-to-left languages<br \/>\n\t$x = is_rtl() ? 'left' : 'right';<br \/>\n<br \/>\n\techo \"<br \/>\n\t&lt;style type='text\/css'&gt;<br \/>\n\t#rjmprogramming_wikipedia_lookup {<br \/>\n\t\tfloat: $x;<br \/>\n\t\tpadding-$x: 15px;<br \/>\n\t\tpadding-top: 5px;<br \/>\n\t\tmargin: 0;<br \/>\n\t\tfont-size: 11px;<br \/>\n\t}<br \/>\n\t&lt;\/style&gt;<br \/>\n\t\";<br \/>\n}<br \/>\n<br \/>\nadd_action( 'admin_footer', 'rjmprogramming_wikipedia_css' );<br \/>\n<br \/>\n?&gt;<br \/>\n<\/code><\/p>\n<p>We hope this is of interest to you.<\/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='#d43582' onclick='var dv=document.getElementById(\"d43582\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/plugin\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d43582' 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='#d43592' onclick='var dv=document.getElementById(\"d43592\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/highlight\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d43592' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re back at WordPress TwentyTen theme header.php change methodologies to implement some new WordPress functionality like yesterday\u2019s WordPress Plugin Primer Tutorial in that highlighted text of a webpage is used (except that we&#8217;ve now opened it up to the non-admin &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-highlight-lookups-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":[12,14,37],"tags":[151,174,2349,932,997,1254,1319,1324,1325,1456],"class_list":["post-43592","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-blog","tag-button","tag-highlight","tag-php","tag-programming","tag-text","tag-tutorial","tag-twentyten","tag-twentyten-theme","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/43592"}],"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=43592"}],"version-history":[{"count":4,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/43592\/revisions"}],"predecessor-version":[{"id":43626,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/43592\/revisions\/43626"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=43592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=43592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=43592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}