{"id":49182,"date":"2020-06-05T03:01:32","date_gmt":"2020-06-04T17:01:32","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=49182"},"modified":"2020-06-05T07:04:47","modified_gmt":"2020-06-04T21:04:47","slug":"local-datetime-token-subject-integrations-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/local-datetime-token-subject-integrations-tutorial\/","title":{"rendered":"Local Datetime Token Subject Integrations Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/feedback.htm\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Gimp Guillotine Local Datetime Token Subject Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/four_integrations.jpg\" title=\"Gimp Guillotine Local Datetime Token Subject Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Local Datetime Token Subject Integrations Tutorial<\/p><\/div>\n<p>On top of the Localized Datetime email subject line integrations of yesterday&#8217;s <a title='Gimp Guillotine Local Datetime Token Subject Tutorial' href='#ggldtst'>Gimp Guillotine Local Datetime Token Subject Tutorial<\/a> we have been integrating &#8230;<\/p>\n<ul>\n<li><a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.js---GETME' title='intl_use.js'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.js---GETME' title='intl_use.js'>intl_use.js<\/a> &#8230; calling on &#8230;<\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.html------GETME\" title=\"intl_use.html\">intl_use.html<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.html\" title=\"intl_use.html\">Datetime Internationalizations<\/a><\/li>\n<\/ul>\n<p> &#8230; in their relationships to (integrations with) &#8230;<\/p>\n<ul>\n<li><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/feedback.htm\">Feedback<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/feedback.html------------------------------GETME' title='feedback.htm'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/feedback.html------------------------------GETME' title='feedback.htm'>feedback.htm<\/a> &#8230; helped out by &#8230; <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world.php-------------GETME' title='world.php'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world.php-------------GETME' title='world.php'>world.php<\/a><\/li>\n<li><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/flowchart.html\">Flowchart\/Venn Diagram\/Mind Map<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/flowchart.html---------------------GETME' title='flowchart.html'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/flowchart.html---------------------GETME' title='flowchart.html'>flowchart.html<\/a> &#8230; helped out by &#8230; <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/flowchart.php------------GETME' title='flowchart.php'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/flowchart.php------------GETME' title='flowchart.php'>flowchart.php<\/a><\/li>\n<li><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/agenda_items.htm\">Agenda Items<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/agenda_items.html-----GETME' title='agenda_items.htm'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/agenda_items.html-----GETME' title='agenda_items.htm'>\/HTMLCSS\/agenda_items.htm<\/a><\/li>\n<li><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/HTMLCSS\/square_hr_tracing.htm\">Linear or Parabola Formulae<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/square_hr_tracing.html--------------------------------GETME' title='square_hr_tracing.htm'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/square_hr_tracing.html--------------------------------GETME' title='square_hr_tracing.htm'>square_hr_tracing.htm<\/a><\/li>\n<\/ul>\n<p> &#8230; today for a list picked because of their involvement with our most generic PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emailhtml.php--------------GETME\" title=\"emailhtml.php\">emailhtml.php<\/a> email creator.  Again, no &#8220;genericization stars&#8221; here, each integration above bringing up unique issues.  We are better placed than yesterday, but the number of ways HTML form navigation, that ends up creating a PHP mail email, can happen from (at least) &#8230;<\/p>\n<ul>\n<li>static HTML form<\/li>\n<li>Ajax\/FormData<\/li>\n<li>PHP dynamically constructed HTML form<\/li>\n<li>Javascript DOM constructed HTML form<\/li>\n<\/ul>\n<p> &#8230; make an <i>all singing, all dancing<\/i> intl_use.js &#8220;generic usage construct&#8221; dream quite elusive.  But we&#8217;ve done things like extending &#8220;if and\/or&#8221; logics and leniency in intl_use.js at the expense of parent HTML explicit tweaks to make the Localized Datetimes happen (in email subject lines).<\/p>\n<p>However, that being said, what <i>was<\/i> common to all four parent web applications above was &#8230;<\/p>\n<table>\n<tr>\n<th>Up in the head section<\/th>\n<\/tr>\n<tr>\n<td>\n<code><br \/>\n&lt;script type='text\/javascript' src='..\/HTMLCSS\/intl_use.js'&gt;&lt;\/script&gt;<br \/>\n<\/code><\/td>\n<\/tr>\n<tr>\n<th>Down at the end of the body section<\/th>\n<\/tr>\n<tr>\n<td>\n<code><br \/>\n&lt;iframe id=ifintl style=\"display:none;\" onload=\"glt(this);\" src=\"\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.html?viaphp=n\"&gt;&lt;\/iframe&gt;<br \/>\n&lt;div id=intldiv style='display:none;'&gt;&lt;\/div&gt;<br \/>\n<\/code><\/td>\n<\/tr>\n<\/table>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/local-datetime-token-subject-integrations-tutorial\/'>Local Datetime Token Subject Integrations Tutorial<\/a>.<\/p-->\n<hr>\n<p id='ggldtst'>Previous relevant <a target=_blank title='Gimp Guillotine Local Datetime Token Subject Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/gimp-guillotine-local-datetime-token-subject-tutorial\/'>Gimp Guillotine Local Datetime Token Subject Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/PHP\/gimp_guillotine_followup.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Gimp Guillotine Local Datetime Token Subject Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/gimp_guillotine_followup_addtoform.jpg\" title=\"Gimp Guillotine Local Datetime Token Subject Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Gimp Guillotine Local Datetime Token Subject Tutorial<\/p><\/div>\n<p>Let&#8217;s combine work of &#8230;<\/p>\n<ul>\n<li>the recent <a target=_blank title='Gimp Guillotine Token Subject Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/gimp-guillotine-token-subject-tutorial\/'>Gimp Guillotine Token Subject Tutorial<\/a> &#8230; with &#8230;<\/li>\n<li>the recent <a href='#cslidet' title='Colour Systems Localized Internationalized Date Emails Tutorial'>Colour Systems Localized Internationalized Date Emails Tutorial<\/a> &#8230; and its promise &#8230;<br \/>\n<blockquote cite='https:\/\/www.rjmprogramming.com.au\/ITblog\/colour-systems-localized-internationalized-date-emails-tutorial\/'><p>\nwe saw this integration as a \u201ctest guinea pig\u201d going onto \u201cgenericization afterwards\u201d case\n<\/p><\/blockquote>\n<\/li>\n<\/ul>\n<p> &#8230; to try to honour the &#8220;test guinea pig&#8221; with a bit of combing, and a colour tint for winter.<\/p>\n<p>The integration&#8217;s &#8220;genericity drive&#8221; (feeling a bit more &#8220;next cab off the rank&#8221; than &#8220;genericization star&#8221;) is that much more difficult because there is no &#8220;onload&#8221; event &#8220;immediate answer&#8221; feel to this &#8220;Intl&#8221; object client side Javascript work.  For the first time we can recall we needed to combine &#8230;<\/p>\n<ul>\n<li>HTML iframe &#8220;onload&#8221; event function &#8230; containing a &#8230;<\/li>\n<li>setTimeout based &#8220;relook&#8221; at that iframe&#8217;s content that little bit later on<\/li>\n<\/ul>\n<p> &#8230; as per &#8230;<\/p>\n<p><code><br \/>\nfunction postglt() {<br \/>\n  var iois=document.getElementById('ifintl');<br \/>\n  var fabih='', ewi=0, tzs='';<br \/>\n  if (aconto) {<br \/>\n  if (iois != null) {<br \/>\n    aconto = (iois.contentWindow || iois.contentDocument);<br \/>\n    if (aconto != null) {<br \/>\n     if (aconto.document) { aconto = aconto.document; }<br \/>\n     acontobih=aconto.body.innerHTML;<br \/>\n     fabih=acontobih;<br \/>\n     if (acontobih.trim().indexOf('var options') != -1) {<br \/>\n       eval(\"options\" + acontobih.split('var options')[1].split('&lt;')[0].split(';')[0]);<br \/>\n       if (elsewise) { \/\/ via div intldiv<br \/>\n     if (acontobih.trim().indexOf('&lt;b&gt;') != -1) {<br \/>\n       eval(\"lcode='\" + acontobih.split('&lt;b&gt;')[1].split('&lt;')[0] + \"';\");<br \/>\n              \/\/alert(\"lcode='\" + acontobih.split('&lt;b&gt;')[1].split('&lt;')[0] + \"';\");<br \/>\n    d = new Date();<br \/>\n    timedatenow = new Date(d.getFullYear(), d.getMonth(), d.getDate(),  d.getHours(), d.getMinutes(), d.getSeconds(), d.getMilliseconds());<br \/>\n    localdatetime = new Intl.DateTimeFormat(lcode, options).format;<br \/>\n    \/\/document.title=localdatetime(timedatenow);<br \/>\n      if (aconto.getElementById('ejc1').innerHTML) {<br \/>\n        if (aconto.getElementById('ejc1').innerHTML.indexOf('timeZone:') != -1) {<br \/>\n        tzs=' (' + aconto.getElementById('ejc1').innerHTML.split('timeZone:')[eval(-1 + aconto.getElementById('ejc1').innerHTML.split('timeZone:').length)].split('\"')[1].split('\"')[0] + ')';<br \/>\n        if (tzs.replace(' (UTC)','') == '') { tzs=goodtzs; }<br \/>\n    if (window.parent) {<br \/>\n     if (document.URL.indexOf('inlineldt') == -1 && document.URL.indexOf('?') != -1 && (document.URL.indexOf('%40') != -1 || document.URL.indexOf('@') != -1)) {<br \/>\n       \/\/location.href=document.URL.replace('?', '?inlineldt=' + encodeURIComponent(localdatetime(timedatenow) + tzs.replace(' (UTC)','')) + '&');<br \/>\n       document.body.innerHTML+=\"&lt;iframe style=display:none; src='\" + document.URL.replace('?', '?inlineldt=' + encodeURIComponent(localdatetime(timedatenow) + tzs.replace(' (UTC)','')) + '&') + \"'&gt;&lt;\/iframe&gt;\";<br \/>\n       return false;<br \/>\n     }<br \/>\n    }<br \/>\n        }<br \/>\n      }<br \/>\n    var theforms=document.getElementsByTagName('form');<br \/>\n    for (var iiforms=0; iiforms&lt;theforms.length; iiforms++) {<br \/>\n     if (theforms[iiforms].innerHTML.indexOf('inlineldt') == -1) {<br \/>\n      elsewisea.push('' + Math.floor(Math.random() * 178654));<br \/>\n      theforms[iiforms].innerHTML+='&lt;input type=hidden id=inlineldt' + elsewisea[eval(-1 + elsewisea.length)] + ' name=inlineldt value=\"' + localdatetime(timedatenow) + tzs.replace(' (UTC)','') + '\"&gt;&lt;\/input&gt;';<br \/>\n     } else {<br \/>\n      document.getElementById('inlineldt' + elsewisea[ewi]).value=localdatetime(timedatenow) + tzs.replace(' (UTC)','');<br \/>\n      ewi++;<br \/>\n     }<br \/>\n    }<br \/>\n     }<br \/>\n       }<br \/>\n     } else {<br \/>\n       fabih='';<br \/>\n     }<br \/>\n     if (acontobih.trim().indexOf('&lt;b&gt;') != -1) {<br \/>\n       eval(\"lcode='\" + acontobih.split('&lt;b&gt;')[1].split('&lt;')[0] + \"';\");<br \/>\n     } else {<br \/>\n       fabih='';<br \/>\n     }<br \/>\n     acontobih=fabih;<br \/>\n    }<br \/>\n  }<br \/>\n  }<br \/>\n}<br \/>\n<br \/>\nfunction glt(iois) {<br \/>\n  var fabih='', ewi=0, tzs='';<br \/>\n  if (!aconto) {<br \/>\n  if (iois != null) {<br \/>\n    aconto = (iois.contentWindow || iois.contentDocument);<br \/>\n    if (aconto != null) {<br \/>\n     if (aconto.document) { aconto = aconto.document; }<br \/>\n     acontobih=aconto.body.innerHTML;<br \/>\n     fabih=acontobih;<br \/>\n     if (acontobih.trim().indexOf('var options') != -1) {<br \/>\n       eval(\"options\" + acontobih.split('var options')[1].split('&lt;')[0].split(';')[0]);<br \/>\n       if (elsewise) { \/\/ via div intldiv<br \/>\n     if (acontobih.trim().indexOf('&lt;b&gt;') != -1) {<br \/>\n       eval(\"lcode='\" + acontobih.split('&lt;b&gt;')[1].split('&lt;')[0] + \"';\");<br \/>\n    d = new Date();<br \/>\n    timedatenow = new Date(d.getFullYear(), d.getMonth(), d.getDate(),  d.getHours(), d.getMinutes(), d.getSeconds(), d.getMilliseconds());<br \/>\n    localdatetime = new Intl.DateTimeFormat(lcode, options).format;<br \/>\n      if (aconto.getElementById('ejc1').innerHTML) {<br \/>\n        if (aconto.getElementById('ejc1').innerHTML.indexOf('timeZone:') != -1) {<br \/>\n        tzs=' (' + aconto.getElementById('ejc1').innerHTML.split('timeZone:')[eval(-1 + aconto.getElementById('ejc1').innerHTML.split('timeZone:').length)].split('\"')[1].split('\"')[0] + ')';<br \/>\n        goodtzs=tzs.replace(' (UTC)','');<br \/>\n      }<br \/>\n      }<br \/>\n    var theforms=document.getElementsByTagName('form');<br \/>\n    for (var iiforms=0; iiforms&lt;theforms.length; iiforms++) {<br \/>\n     if (theforms[iiforms].innerHTML.indexOf('inlineldt') == -1) {<br \/>\n      elsewisea.push('' + Math.floor(Math.random() * 178654));<br \/>\n      theforms[iiforms].innerHTML+='&lt;input type=hidden id=inlineldt' + elsewisea[eval(-1 + elsewisea.length)] + ' name=inlineldt value=\"' + localdatetime(timedatenow) + tzs.replace(' (UTC)','') + '\"&gt;&lt;\/input&gt;';<br \/>\n     } else {<br \/>\n      document.getElementById('inlineldt' + elsewisea[ewi]).value=localdatetime(timedatenow) + tzs.replace(' (UTC)','');<br \/>\n      ewi++;<br \/>\n     }<br \/>\n    }<br \/>\n     }<br \/>\n         setTimeout(postglt, 3000);<br \/>\n       }<br \/>\n     } else {<br \/>\n       fabih='';<br \/>\n     }<br \/>\n     if (acontobih.trim().indexOf('&lt;b&gt;') != -1) {<br \/>\n       eval(\"lcode='\" + acontobih.split('&lt;b&gt;')[1].split('&lt;')[0] + \"';\");<br \/>\n     } else {<br \/>\n       fabih='';<br \/>\n     }<br \/>\n     acontobih=fabih;<br \/>\n    }<br \/>\n  }<br \/>\n  }<br \/>\n}<br \/>\n<\/code><\/p>\n<p>And so we continue on with other scenarios here.   Here is &#8230;<\/p>\n<ul>\n<li><a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/gimp_guillotine_followup.php-----------------------GETME' title='gimp_guillotine_followup.php'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/gimp_guillotine_followup.php-----------------------GETME' title='gimp_guillotine_followup.php'>gimp_guillotine_followup.php<\/a> that you can try out at this <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/PHP\/gimp_guillotine_followup.php\" title=\"Click picture\">live run<\/a> link &#8230; now can call upon &#8230;<\/li>\n<li><a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.js--GETME' title='intl_use.js'>the changed<\/a> <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.js--GETME' title='intl_use.js'>\/HTMLCSS\/intl_use.js<\/a><\/li>\n<\/ul>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/gimp-guillotine-local-datetime-token-subject-tutorial\/'>Gimp Guillotine Local Datetime Token Subject Tutorial<\/a>.<\/p-->\n<hr>\n<p id='cslidet'>Previous relevant <a target=_blank title='Colour Systems Localized Internationalized Date Emails Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/colour-systems-localized-internationalized-date-emails-tutorial\/'>Colour Systems Localized Internationalized Date Emails 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\/cmyk_rgb.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"Colour Systems Inline HTML Email Collaboration Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb_internationalization.jpg\" title=\"Colour Systems Inline HTML Email Collaboration Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Colour Systems Localized Internationalized Date Emails Tutorial<\/p><\/div>\n<p>Huh?!  What&#8217;s with &#8220;Localized Internationalized&#8221; in today&#8217;s tutorial title?<\/p>\n<p>Well, we&#8217;ve been miffed for a couple of days now putting up with our <a target=_blank title='Feedback Annotation Canvas Image Tokens Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/feedback-annotation-canvas-image-tokens-tutorial\/'>&#8220;date token email subject&#8221;<\/a> parts to our emails showing a web server (location) based timestamp.  Our web server at RJM Programming, hosted by the wonderful <a target=_blank title='Crazy Domains' href='http:\/\/www.crazydomains.com.au'>Crazy Domains<\/a> is located on the other side of our country (as well as our continent), Australia in a timezone called &#8220;Australia\/Perth&#8221;.  And as much as we admire Perth, and have to &#8220;girt the loins&#8221; (you might say &#8220;more than somewhat&#8221;) when Collingwood takes on West Coast in the <a target=_blank title='AFL' href='http:\/\/afl.com.au'>AFL<\/a>, when it comes to timezone relevance for us here in Sydney, the subtraction of two or three hours (depending on daylight saving) is all too much for me.  So, what to do?  There is the quandary &#8230;<\/p>\n<ul>\n<li>to arrange the inline HTML emails you need a serverside language such as PHP &#8230; yet &#8230;<\/li>\n<li>to obtain a &#8220;local&#8221; timestamp you need Javascript (at the &#8220;client&#8221;)<\/li>\n<\/ul>\n<p> &#8230; and so, though there are <a target=_blank title='Useful link' href='https:\/\/stackoverflow.com\/questions\/2705067\/how-can-i-get-the-users-local-time-instead-of-the-servers-time'>clunky things you can do at the PHP end<\/a> the more straightforward and less confusing approach is to get between &#8230;<\/p>\n<ul>\n<li>the existant <a target=_blank title='Ajax information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Ajax_%28programming%29'>Ajax<\/a>\/<a target=_blank title='FormData object information' href='https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/FormData'>FormData<\/a> techniques of sending a FormData object to &#8230;<\/li>\n<li>our PHP email creator\n<li>\n<\/ul>\n<p> &#8230; and make a dual purpose arrangement for our FormData &#8220;inline&#8221; (think of it as a &#8220;textbox in midair&#8221;) that if it contains a &#8230;<\/p>\n<ul>\n<li>string that contains a &#8220;:&#8221; semicolon &#8230; and contains &#8230;<\/li>\n<li>less than or equal to 5 words (space delimited)<\/li>\n<\/ul>\n<p> &#8230; we&#8217;re going to say that the parent (HTML\/Javascript) has thus indicated to the (hard working duck paddling hard under the water) child (PHP email creator) that the content of the &#8220;inline&#8221; &#8220;textbox in midair&#8221; is a better timestamp to use for &#8220;[date]&#8221; subject token substitutions than any server timestamp.<\/p>\n<p>That&#8217;s &#8220;Localized&#8221; covered, but what&#8217;s &#8220;Internationalized&#8221; about this?  Well, at the Javascript (client) end, you may recall how we&#8217;ve investigated the great &#8220;Intl&#8221; object possibilities for Date and Number and Currency Internationalization thoughts (at the client side) when we presented <a target=_blank title='Javascript Internationalization Resolved Options Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/javascript-internationalization-resolved-options-tutorial\/'>Javascript Internationalization Resolved Options Tutorial<\/a>.  Well, we feel some integration coming on.  This previously standalone (top.document thinking) web application needed to be adapted to be useful as a &#8220;child iframe&#8221; one as well (ie. integrate but keep all existant top.document thinking to work as before).  This is a bit of work to get going, but by the end, we had this integration changing &#8220;date token [date] in subject line&#8221; of emails creating timestamps like &#8230;<\/p>\n<table style='width:100%;'>\n<tr>\n<th>Localized Internationalized Date Timestamp (at client Javascript)<\/th>\n<th>Web Server Timestamp (at server PHP)<\/th>\n<\/tr>\n<tr>\n<td>01\/06\/2020, 07:56 pm AEST (Australia\/Sydney)<\/td>\n<td>Monday 1st of June 2020 11:50:24 AM<\/td>\n<\/tr>\n<\/table>\n<p> &#8230; a clarity and relevance improvement (to the email subject line) am sure you&#8217;d agree.  Though it&#8217;s clearly not there yet, we saw this integration as a <i>&#8220;test guinea pig&#8221; going onto &#8220;genericization afterwards&#8221; case<\/i>, and so hived off a lot of these changes to a new &#8230;<\/p>\n<ul>\n<li>integrating external Javascript <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.js\" title=\"intl_use.js\">intl_use.js<\/a> calls <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.html------GETME\" title=\"intl_use.html------GETME\">a changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intl_use.html------GETME\" title=\"intl_use.html\">intl_use.html<\/a> &#8230; and in turn called by &#8230;<\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html---GETME\" title=\"cmyk_rgb.html\">the changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html---GETME\" title=\"cmyk_rgb.html\">cmyk_rgb.html<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html\">live run<\/a> link &#8230; calling &#8230;<\/li>\n<li><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emailhtml.php--------------GETME\" title=\"emailhtml.php\">the changed PHP email creator helper<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emailhtml.php--------------GETME\" title=\"emailhtml.php\">emailhtml.php<\/a><\/li>\n<\/ul>\n<p>Believe it or not, another job improving on yesterday&#8217;s <a title='Colour Systems Inline HTML Email Collaboration Tutorial' href='#csihtmlect'>Colour Systems Inline HTML Email Collaboration Tutorial<\/a> that took equally as long was figuring out what to do about the HSL Hue unit of measure&#8217;s symbol <span>&#176;<\/span> for the Apple Mail macOS application email client, where all the encoding combinations we could think of caused a spurious &#8220;A&#8221; (but gobbledygooky) type of character to preceed the <span>&#176;<\/span> to look annoyingly like A<span>&#176;<\/span> &#8230; ugh!   It took a long time to nut out, but eventually we tweaked to &#8230;<\/p>\n<ul>\n<li>for all the web browser usage incarnations just show the degree symbol via HTML &#8230;<br \/>\n<code><br \/>\n&lt;span id=\"ds\" title=\"Degrees\"&gt;&amp;#176;&lt;\/span&gt;<br \/>\n<\/code>\n<\/li>\n<li>but then on its way to the email clients map that via the <font color=blue>relevant<\/font> Javascript DOM &#8230;<br \/>\n<code><br \/>\n  document.getElementById('htmlis').innerHTML='&lt;body&gt;' + document.body.innerHTML.split('&lt;ifr' + 'ame')[0]<font color=blue>.replace(document.getElementById('ds').outerHTML, \"&lt;div title=Degrees style='display:inline-block;max-width:6px;width:6px;max-height:10px;height:10px;overflow:hidden;'&gt;&lt;span title=Degrees style='float:right;text-align:right;transform:scaleX(1);'&gt;\" + String.fromHtmlEntities(String.fromCodePoint(176))  + \"&lt;\/span&gt;&lt;\/div&gt;\")<\/font>;  \/\/ many other replace clauses have been left out for clarity purposes<br \/>\n<\/code><br \/>\n &#8230; to end up with the email client &#8220;Show original&#8221; view (of the inline HTML of email) as &#8230;<br \/>\n<code><br \/>\n&lt;div title=Degrees style='display:inline-block;max-width:6px;width:6px;max-height:10px;height:10px;overflow:hidden;'&gt;&lt;span title=Degrees style='float:right;text-align:right;transform:scaleX(1);'&gt;&#176;&lt;\/span&gt;&lt;\/div&gt;<br \/>\n<\/code><br \/>\n &#8230; effectively asking <font size=1>good ol&#8217;<\/font> CSS to cover up for our Javascript pickle\n<\/li>\n<\/ul>\n<p>Intrigued by &#8220;transform:scaleX(1)&#8221;?  Yes, we experimented with flip &#8220;transform:scaleX(-1)&#8221; and flop &#8220;transform:scaleY(-1)&#8221; at various stages, but did not seem to need these in the end.  But the degree (&#176;) symbol being that &#8220;even handed&#8221; character, we can flip it and flop it, and it remains its old self &#8230; if only we had <a target=_blank title='The Three Degrees' href='https:\/\/www.youtube.com\/watch?v=T6fVDAjs9f0'>three of them<\/a> <font size=1>&#8230; oh! fancy that?!<\/font><\/p>\n<p>We also added any Feedback or Comments into the email subject line, as well as in the &#8220;inline HTML&#8221; body section of the email.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/colour-systems-localized-internationalized-date-emails-tutorial\/'>Colour Systems Localized Internationalized Date Emails Tutorial<\/a>.<\/p-->\n<hr>\n<p id='csihtmlect'>Previous relevant <a target=_blank title='Colour Systems Inline HTML Email Collaboration Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/colour-systems-inline-html-email-collaboration-tutorial\/'>Colour Systems Inline HTML Email Collaboration 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\/cmyk_rgb.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"Colour Systems Inline HTML Email Collaboration Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb_feedback.jpg\" title=\"Colour Systems Inline HTML Email Collaboration Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Colour Systems Inline HTML Email Collaboration Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a title='Colour Systems Inline HTML Email Tutorial' href='#csihtmlet'>Colour Systems Inline HTML Email Tutorial<\/a> featured Inline HTML Email functionality, that we find very useful, but almost denuded of personalization.  We think adding personalization aspects to a web application should never be mandatory to its functionality, but on the flipside, if you want a web application with &#8220;collaboration&#8221; thoughts we figure for &#8230;<\/p>\n<ul>\n<li>the scenario that the rjmprogramming.com.au mail server serves as an &#8220;honest broker&#8221; between &#8230;<\/li>\n<li>an emailee (as we established yesterday) &#8230; and &#8230;<\/li>\n<li>an emailer (we allow the user to define (and so not have to bother the users again regarding email addresses), optionally, starting today) &#8230; teamed with &#8230;<\/li>\n<li>a comment or feedback textbox (new today), to add some personalization, into the <i>colour<\/i> discussion and collaboration and sharing experience <font size=1>(&#8230; what&#8217;s come over me!)<\/font><\/li>\n<\/ul>\n<p> &#8230; meaning, though, that collaboration can occur between collaborators through (straight at your face content) email.<\/p>\n<p>Today, also, we&#8217;ve added another HSL (Hue\/Saturation\/Lightness) Colour System, and would like to thank <a target=_blank title='Useful link, thanks' href='https:\/\/www.rapidtables.com\/convert\/color\/hsl-to-rgb.html'>this useful link<\/a> regarding the formulae needed to make this happen.<\/p>\n<p>Try collaboration via <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html--GETME\" title=\"cmyk_rgb.html\">the changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html--GETME\" title=\"cmyk_rgb.html\">cmyk_rgb.html<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html\">live run<\/a> link yourself, and with a <i>colourful<\/i> friend!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/colour-systems-inline-html-email-collaboration-tutorial\/'>Colour Systems Inline HTML Email Collaboration Tutorial<\/a>.<\/p-->\n<hr>\n<p id='csihtmlet'>Previous relevant <a target=_blank title='Colour Systems Inline HTML Email Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/colour-systems-inline-html-email-tutorial\/'>Colour Systems Inline HTML Email 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\/cmyk_rgb.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"Colour Systems Inline HTML Email Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmykrgb.jpg\" title=\"Colour Systems Inline HTML Email Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Colour Systems Inline HTML Email Tutorial<\/p><\/div>\n<p>In undertaking the makeover for the Colour Systems web application of <a title='Colour Systems Primer Tutorial' href='#cspt'>Colour Systems Primer Tutorial<\/a> we were integrating Inline HTML Email functionality via <a target=_blank title='Ajax information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Ajax_%28programming%29'>Ajax<\/a>\/<a target=_blank title='FormData object information' href='https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/FormData'>FormData<\/a> techniques (entrenched as a favourite &#8220;midair&#8221; feeling email conduit approach) when we were surprised trying something that we did not expect to work.   We have intimated that as far as email clients go it is touch and go whether much HTML5 works nor CSS3 when you try to get something going, so when we tried integrating &#8230;<\/p>\n<ul>\n<li>inline HTML email &#8230; with &#8230;<\/li>\n<li>HTML input type=&#8221;color&#8221; as per &#8230;<br \/>\n<code><br \/>\n&lt;input onchange=\"findc(this.value);\" style='display:INLINE-BLOCK;' type=\"color\" name=\"cinput\" id=\"cinput\" value=\"#000000\"&gt;&lt;\/input&gt;<br \/>\n<\/code>\n<\/li>\n<\/ul>\n<p> &#8230; we were really expecting &#8220;tears before bedtime&#8221; rather than an approach using the HTML input type=&#8221;color&#8221; element above that really made it good at the emailee end, in particular, as we &#8230;<\/p>\n<ul>\n<li>have an emailer <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html\" title=\"Click picture\">start the ball rolling<\/a> (with <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html-GETME\" title=\"cmyk_rgb.html\">the changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html-GETME\" title=\"cmyk_rgb.html\">cmyk_rgb.html<\/a>) at this link &#8230; then &#8230;<\/li>\n<li>set up a colour of interest via any of the following approaches &#8230;\n<ol>\n<li>fill out Red, Green, Blue &#8230; 0 to 255 &#8230; RGB Colour System numbers<\/li>\n<li>fill out Cyan, Magenta, Yellow, Key &#8230; 0.0000 to 1.0000 &#8230; CMYK Colour System numbers<\/li>\n<li>click our new HTML input type=&#8221;color&#8221; element and follow your nose<\/li>\n<\/ol>\n<\/li>\n<li>and then, optionally, collaborate (or just share) with an emailee (textbox) they fill out and press the &#8220;Email to &#8230;&#8221; button &#8230; setting off &#8230;<\/li>\n<li>Ajax\/FormData functionality sends off the document.body.innerHTML (heavily amended) HTML data directed via our Inline HTML Email &#8220;emailhtml.php&#8221; (usual PHP) helper &#8230;<\/li>\n<li>email arrives for the emailee who sees a lot of what the emailer last saw &#8230; and &#8230;\n<ol>\n<li>we highly recommend clicking our new HTML input type=&#8221;color&#8221; element, then follow your nose <font size=2>(picking a colour <\/font>, <font size=1>not your &#8230; ?<\/font><font size=2>)<\/font> then &#8230; click RGB to CMYK button<\/li>\n<li>fill out Red, Green, Blue &#8230; 0 to 255 &#8230; RGB Colour System numbers &#8230; click RGB to CMYK button<\/li>\n<li>fill out Cyan, Magenta, Yellow, Key &#8230; 0.0000 to 1.0000 &#8230; CMYK Colour System numbers &#8230; click CMYK to RGB button<\/li>\n<\/ol>\n<p> &#8230; optionally adjusting the return email (as the original emailer&#8217;s email address, more than likely) &#8230; back out to &#8220;the net&#8221; with &#8230;\n<\/li>\n<li>the emailee&#8217;s web browser arrives at <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html\" title=\"Click picture\">the same colour systems web application<\/a> ready to, optionally, send more collaboration or sharing back to the emailer, as required<\/li>\n<\/ul>\n<p>Colourful discussions can ensue!  And don&#8217;t we know, lots of people have opinions about <i>colour<\/i>, even its <i>spelling<\/i>!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/colour-systems-inline-html-email-tutorial\/'>Colour Systems Inline HTML Email Tutorial<\/a>.<\/p-->\n<hr>\n<p id='cspt'>Previous relevant <a target=_blank title='Colour Systems Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/colour-systems-primer-tutorial\/'>Colour Systems 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\/cmyk_rgb.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"Colour Systems Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.jpg\" title=\"Colour Systems Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Colour Systems Primer Tutorial<\/p><\/div>\n<p>We want to talk, today, about <a target=_blank title='Colour space information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Color_space'>Colour (Space) Systems<\/a>.  There are, at least &#8230;<\/p>\n<ul>\n<li>additive colour systems &#8230; used in science &#8230; often used to define  web colours &#8230; red, green and blue are the primary colours<\/li>\n<li>subtractive colour systems &#8230; used by artists (and often the way we learn colours in early school) &#8230; often used with regard to printing &#8230; red, yellow and blue are the primary colours<\/li>\n<li>the CMYK colour system &#8230; used by printing industry &#8230; cyan, magenta, yellow and black are the primary colours<\/li>\n<\/ul>\n<p>You can read more about the comparisons and a description of these three at <a target=_blank title='Colour Systems' href='http:\/\/www.colormatters.com\/color-and-design\/color-systems-rgb-and-cmyk'>Colour Systems &#8211; RGB and CYMK<\/a>.<\/p>\n<p>We&#8217;ve got a small HTML and Javascript conversion program we call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html_GETME\">cmyk_rgb.html<\/a> (and that you can use as a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/cmyk_rgb.html\">live run<\/a>) which you can use today to convert a given colour to and from RGB and CYMK colour systems.<\/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='#d18532' onclick='var dv=document.getElementById(\"d18532\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/colour\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d18532' 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='#d49145' onclick='var dv=document.getElementById(\"d49145\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/email\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d49145' 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='#d49153' onclick='var dv=document.getElementById(\"d49153\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/collaboration\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d49153' 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='#d49159' onclick='var dv=document.getElementById(\"d49159\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/integration\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d49159' 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='#d49176' onclick='var dv=document.getElementById(\"d49176\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/datetime\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d49176' 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='#d49182' onclick='var dv=document.getElementById(\"d49182\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/subject\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d49182' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>On top of the Localized Datetime email subject line integrations of yesterday&#8217;s Gimp Guillotine Local Datetime Token Subject Tutorial we have been integrating &#8230; the changed intl_use.js &#8230; calling on &#8230; intl_use.html Datetime Internationalizations &#8230; in their relationships to (integrations &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/local-datetime-token-subject-integrations-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":[155,302,380,2671,491,2670,2212,576,614,620,3172,2383,932,997,2086,1867,1262,3304,1319],"class_list":["post-49182","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-body","tag-datetime","tag-email","tag-file-specification","tag-gimp","tag-guillotine","tag-head","tag-html","tag-integration","tag-internationalization","tag-intl","tag-localization","tag-php","tag-programming","tag-subject","tag-substitution","tag-textarea","tag-token","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/49182"}],"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=49182"}],"version-history":[{"count":11,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/49182\/revisions"}],"predecessor-version":[{"id":49193,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/49182\/revisions\/49193"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=49182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=49182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=49182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}