{"id":37820,"date":"2018-05-01T03:01:24","date_gmt":"2018-04-30T17:01:24","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=37820"},"modified":"2018-04-30T21:12:09","modified_gmt":"2018-04-30T11:12:09","slug":"google-chart-email-attachment-protocol-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/google-chart-email-attachment-protocol-tutorial\/","title":{"rendered":"Google Chart Email Attachment Protocol Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Google Chart Email Attachment Protocol Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map_file_protocol_issue_ipad_az.jpg\" title=\"Google Chart Email Attachment Protocol Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Google Chart Email Attachment Protocol Tutorial<\/p><\/div>\n<p>We&#8217;ve got a <i><a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> <a target=_blank title='Google Chart Map Chart information from Google' href='https:\/\/developers.google.com\/chart\/interactive\/docs\/gallery\/map'>Map Chart<\/a> Interfacing <strike>101<\/strike>A-Z<\/i> class for you today, building on yesterday&#8217;s <a title='Google Chart Email Attachment Mobile Tutorial' href='#gceamt'>Google Chart Email Attachment Mobile Tutorial<\/a> &#8230;<\/p>\n<blockquote cite=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/google-chart-email-attachment-mobile-tutorial\/\"><p>\nWe&#8217;re working towards trying to make the HTML coming off an email attachment (of a mobile device&#8217;s web browser&#8217;s webmail URL such as https:\/\/gmail.com on Safari on an iPad) be of some comparability in terms of its functionality as the original webpage, continuing on from yesterday&#8217;s <a title='Google Chart Email Attachment Post Tutorial' href='#gceapt'>Google Chart Email Attachment Post Tutorial<\/a>\n<\/p><\/blockquote>\n<p>Two <a target=_blank title='Google Charts select event help ... from Google' href='https:\/\/developers.google.com\/chart\/interactive\/docs\/events?hl=en'><i>select<\/i> event<\/a> menu options in our Map Chart interface needed work for the <a target=_blank title='location.protocol information from w3schools' href='https:\/\/www.w3schools.com\/jsref\/prop_loc_protocol.asp'>location.protocol<\/a> = file: scenarios that email attachment functionality can bring into play &#8230;<\/p>\n<ul>\n<li>A &#8211; Nearest Airports<\/li>\n<li>Z &#8211; Nearest TimeZones<\/li>\n<\/ul>\n<p> &#8230; ideally, in a non <a target=_blank title='location.protocol information from w3schools' href='https:\/\/www.w3schools.com\/jsref\/prop_loc_protocol.asp'>location.protocol<\/a> = file: scenario these two pieces of functionality would be handled in an HTML iframe element placed on the same webpage, but, as you may have guessed, you can&#8217;t do much mixing and matching of HTML iframe thoughts when mixing navigation among the <a target=_blank title='location.protocol information from w3schools' href='https:\/\/www.w3schools.com\/jsref\/prop_loc_protocol.asp'>location.protocol<\/a>s &#8230;<\/p>\n<ul>\n<li>file:<\/li>\n<li>ftp:<\/li>\n<li>http:<\/li>\n<li>https:<\/li>\n<li>mailto:<\/li>\n<\/ul>\n<p>To help here, just for the <a target=_blank title='location.protocol information from w3schools' href='https:\/\/www.w3schools.com\/jsref\/prop_loc_protocol.asp'>location.protocol<\/a> = file: scenario, we need to disentangle the way PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php--------------------------GETME\" title=\"map.php\">map.php<\/a> arranges the messaging between parent and (HTML iframe) child, and instead, make the &#8220;child&#8221; more independent, able to be called in a different way &#8220;calling on its newfound independence&#8221;.<\/p>\n<p>So the PHP &#8220;children&#8221; change as below &#8230;<\/p>\n<ul>\n<li>A &#8211; Nearest Airports &#8230; PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intair.php---GETME\" title=\"intair.php\">intair.php<\/a>&#8216;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/intair.php---GETME\" title=\"intair.php\">changes today<\/a>, and compare to the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php?title=Your%20Place%20and%20Airports&#038;onclick=y&#038;label=[%27Lat%27,&#038;value=%27Lon%27,%27Name%27]&#038;data=,[-33.8688,151.2093,~Sydney~],[-33.9461,151.1772,~Nearest%20Airport%20on%20GlobalAirportDatabase%209km%20to%20SYD\/KINGSFORD%20SMITH%20INTERNATIONAL%20AIRPORT\/SYDNEY\/AUSTRALIA~],[-33.9244,150.9883,~Nearest-%20on%20GlobalAirportDatabase%2021km%20to%20BWU\/SYDNEY%20BANKSTOWN\/SYDNEY\/AUSTRALIA~],[-33.6006,150.7808,~Nearest--%20on%20GlobalAirportDatabase%2050km%20to%20RCM\/RICHMOND\/RICHMOND\/AUSTRALIA~]\" title=\"intair.php\">live run<\/a> (Sydney, Australia) window.open() experience versus the <iframe style=\"width:100%;height:450px;\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php?title=Your%20Place%20and%20Airports&#038;onclick=y&#038;label=[%27Lat%27,&#038;value=%27Lon%27,%27Name%27]&#038;data=,[-33.8688,151.2093,~Sydney~],[-33.9461,151.1772,~Nearest%20Airport%20on%20GlobalAirportDatabase%209km%20to%20SYD\/KINGSFORD%20SMITH%20INTERNATIONAL%20AIRPORT\/SYDNEY\/AUSTRALIA~],[-33.9244,150.9883,~Nearest-%20on%20GlobalAirportDatabase%2021km%20to%20BWU\/SYDNEY%20BANKSTOWN\/SYDNEY\/AUSTRALIA~],[-33.6006,150.7808,~Nearest--%20on%20GlobalAirportDatabase%2050km%20to%20RCM\/RICHMOND\/RICHMOND\/AUSTRALIA~]\" title=\"intair.php\"><\/iframe> (Sydney, Australia) iframe experience<\/li>\n<li>Z &#8211; Nearest TimeZones &#8230; PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/tz_places.php-----------GETME\" title=\"tz_places.php\">tz_places.php<\/a>&#8216;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/tz_places.php-----------GETME\" title=\"tz_places.php\">changes today<\/a>, and compare to the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/tz_places.php?place=Sydney&#038;latitude=-33.8688&#038;longitude=151.2093&#038;plusdiv=%3Cdiv%20id%3Dnearesttz%3E%3Cdiv%20id%3Dpretz%3E%3C%2Fdiv%3E%3C%2Fdiv%3E#snearest\" title=\"tz_places.php\">live run<\/a> (Sydney, Australia) window.open() experience versus the <iframe style=\"width:100%;height:450px;\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/tz_places.php?place=Sydney&#038;latitude=-33.8688&#038;longitude=151.2093&#038;plusdiv=%3Cdiv%20id%3Dnearesttz%3E%3Cdiv%20id%3Dpretz%3E%3C%2Fdiv%3E%3C%2Fdiv%3E#snearest\" title=\"tz_places.php\"><\/iframe> (Sydney, Australia) iframe experience<\/li>\n<\/ul>\n<hr>\n<p id='gceamt'>Previous relevant <a target=_blank title='Google Chart Email Attachment Mobile Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/google-chart-email-attachment-mobile-tutorial\/'>Google Chart Email Attachment Mobile Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Google Chart Email Attachment Mobile Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map_file_protocol_issue_ipad.jpg\" title=\"Google Chart Email Attachment Mobile Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Google Chart Email Attachment Mobile Tutorial<\/p><\/div>\n<p>We&#8217;re working towards trying to make the HTML coming off an email attachment (of a mobile device&#8217;s web browser&#8217;s webmail URL such as https:\/\/gmail.com on Safari on an iPad) be of some comparability in terms of its functionality as the original webpage, continuing on from yesterday&#8217;s <a title='Google Chart Email Attachment Post Tutorial' href='#gceapt'>Google Chart Email Attachment Post Tutorial<\/a>.  There are issues.  Things to consider are &#8230;<\/p>\n<ul>\n<li>iOS devices do not regard an HTML form target=_blank (and it seems, other target values) &#8230; when in a &#8230;<\/li>\n<li><a target=_blank title='location.protocol information from w3schools' href='https:\/\/www.w3schools.com\/jsref\/prop_loc_protocol.asp'>location.protocol<\/a> = file: (ie. a local file system access) scenario to be wise, shall we say &#8230; and &#8230;<\/li>\n<li>the &#8220;pins&#8221; of our <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> <a target=_blank title='Google Chart Map Chart information from Google' href='https:\/\/developers.google.com\/chart\/interactive\/docs\/gallery\/map'>Map Chart<\/a> interface don&#8217;t show in this scenario either<\/li>\n<\/ul>\n<p>For this goal we have, we needed to break large data sets up into subsets whose URL length would be alright with the limits up at the rjmprogramming.com.au domain web server.<\/p>\n<p>Funnily enough, using Google Chrome web browser on an iPad did not change the issues above.<\/p>\n<p>Take a look at the PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php--------------------------GETME\" title=\"map.php\">map.php<\/a>&#8216;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php--------------------------GETME\" title=\"map.php\">changes today<\/a>, and compare to the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\" title=\"map.php\">live run<\/a> experience of establishing an emailee to communicate with, and to see what their download experience is.<\/p>\n<hr>\n<p id='gceapt'>Previous relevant <a target=_blank title='Google Chart Email Attachment Post Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/google-chart-email-attachment-post-tutorial\/'>Google Chart Email Attachment Post 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\/other_side_of_the_world.htm\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Google Chart Email Attachment Post Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/pie_chart_email_attachment_post.jpg\" title=\"Google Chart Email Attachment Post Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Google Chart Email Attachment Post Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a title='Google Chart Email Attachment Tutorial' href='#gceat'>Google Chart Email Attachment Tutorial<\/a> intimated &#8230;<\/p>\n<blockquote cite=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/google-chart-email-attachment-tutorial\/\"><p>\nFor the $_POST[] scenario, we&#8217;ll need to chip away at each parent Google Chart interface PHP web application code.  Home and hosed?!  Not yet, still fixing the leaks!\n<\/p><\/blockquote>\n<p> &#8230; and so that was a lot of today&#8217;s work for <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> interfacings, here &#8230;<\/p>\n<ul>\n<li>Pie Chart<\/li>\n<li>Line Chart<\/li>\n<li>Area Chart<\/li>\n<li>Bar Chart<\/li>\n<li>Geo Chart<\/li>\n<li>Intensity Chart<\/li>\n<li>Map Chart<\/li>\n<\/ul>\n<p> &#8230; in general terms revolving around the addition of the following Javascript (via PHP as well) code placed before a &lt;\/script&gt; tag &#8230;<\/p>\n<p><code><br \/>\nfunction preclickforemail() {<br \/>\n&lt;?php<br \/>\n if (isset($_POST['emailto'])) {<br \/>\n   if (strpos(urldecode($_POST['emailto']), '@') !== false) {<br \/>\n      if (isset($_POST['emailto'])) echo \"\\n if (document.getElementById('theto') && yesgo) { document.getElementById('theto').value='\" . urldecode($_POST['emailto']) . \"'; } \\n\";<br \/>\n      if (isset($_POST['emailsubject'])) echo \"\\n if (document.getElementById('thesubject') && yesgo) { document.getElementById('thesubject').innerHTML=\\\"\" . urldecode($_POST['emailsubject']) . \"\\\"; } \\n\";<br \/>\n      if (isset($_POST['emailcc'])) echo \"\\n if (document.getElementById('thecc') && yesgo) { document.getElementById('thecc').value='\" . urldecode($_POST['emailcc']) . \"'; } \\n\";<br \/>\n      if (isset($_POST['emailbcc'])) echo \"\\n if (document.getElementById('thebcc') && yesgo) { document.getElementById('thebcc').value='\" . urldecode($_POST['emailbcc']) . \"'; } \\n\";<br \/>\n    echo \"\\n<br \/>\n    if (yesgo) {<br \/>\n    yesgo3='MAILTO:\" . urldecode($_POST['emailto']) . \"';<br \/>\n    nogo3='MAILTO:fillin.email@address';<br \/>\n    yesgo2='\\\"' + document.URL.split('#')[0].split('?')[0].substring(0,10) + document.URL.split('#')[0].split('?')[0].substring(10).split('\/')[0] + '\/PHP\/butsel.php';<br \/>\n    nogo2='\\\"\/\/www.rjmprogramming.com.au\/PHP\/butsel.php';<br \/>\n    if (document.getElementById('another')) {<br \/>\n    yesgo=document.getElementById('another').href=document.URL.split('#')[0].split('?')[0];<br \/>\n    nogo='.\/' + document.URL.split('#')[0].split('?')[0].split('\/')[eval(-1 + document.URL.split('#')[0].split('?')[0].split('\/').length)];<br \/>\n    }<br \/>\n    }<br \/>\n     \\n \";<br \/>\n      echo \"\\n if (clickforemail) { clickforemail(); } else if (document.getElementById('thesemail')) { document.getElementById('thesemail').click(); } \\n\";<br \/>\n   }<br \/>\n }<br \/>\n?&gt;<br \/>\n}<br \/>\n<br \/>\n&lt;?php<br \/>\n if (isset($_POST['emailto'])) {<br \/>\n   if (strpos(urldecode($_POST['emailto']), '@') !== false) {<br \/>\n     echo \"\\n setTimeout(preclickforemail,4000); \\n\";<br \/>\n   }<br \/>\n }<br \/>\n?&gt;<br \/>\n<\/code><\/p>\n<p>You can see changes for via the report <a target=_blank href='HTTP:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/prediff.php?dpath=HTTP:\/\/www.rjmprogramming.com.au\/&#038;dfilespec=PHP\/*\/*.*GETME&#038;dmdates=2018-04-28&#038;dmdateb=2018-04-29'>HTTP:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/prediff.php?dpath=HTTP:\/\/www.rjmprogramming.com.au\/&#038;dfilespec=PHP\/*\/*.*GETME&#038;dmdates=2018-04-28&#038;dmdateb=2018-04-29&#8217;>HTTP:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/prediff.php?dpath=HTTP:\/\/www.rjmprogramming.com.au\/&#038;dfilespec=PHP\/*\/*.*GETME&#038;dmdates=2018-04-28&#038;dmdateb=2018-04-29<\/a> below &#8230;<\/p>\n<p><iframe src='HTTP:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/prediff.php?dpath=HTTP:\/\/www.rjmprogramming.com.au\/&#038;dfilespec=PHP\/*\/*.*GETME&#038;dmdates=2018-04-28&#038;dmdateb=2018-04-29'><\/iframe><\/p>\n<p> &#8230; and it was with the last of these that the implications for additional &#8220;sharing email&#8221; possibilities opens up, so we not only changed the PHP &#8220;parent&#8221; of the interfacings above but quite a few applications using that Map Chart, above, for lots of posted data.  Think (the web applications of) &#8230;<\/p>\n<ul>\n<li><a target=_blank title='PHP Wikipedia Australian List Integration Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/php-wikipedia-australian-list-integration-tutorial\/'>PHP Wikipedia Australian List Integration Tutorial<\/a><\/li>\n<li><a target=_blank title='Dams in the United States Timeline Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/dams-in-the-united-states-timeline-tutorial\/'>Dams in the United States Timeline Tutorial<\/a><\/li>\n<li><a target=_blank title='Daylight Saving Time TimeZone Emoji Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/daylight-saving-time-timezone-emoji-tutorial\/'>Daylight Saving Time TimeZone Emoji Tutorial<\/a><\/li>\n<li><a target=_blank title='Other Side of the World Google Chart Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/other-side-of-the-world-google-chart-tutorial\/'>Other Side of the World Google Chart Tutorial <\/a><\/li>\n<li><\/li>\n<\/ul>\n<p> &#8230; where a combination of HTML select element new options and new HTML input type=button elements helps with the email (via HTML attachment) interfacing. The real practical use, though, we would contend, is to use these tools to aid with map presentations and explanations via a series of emails to and from<br \/>\nyour emailee.<\/p>\n<p>You can see changes for via the report <a target=_blank href='HTTP:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/prediff.php?dpath=HTTP:\/\/www.rjmprogramming.com.au\/&#038;dfilespec=[HP][TH][MP]*\/*.*GETME&#038;dmdates=2018-04-28&#038;dmdateb=2018-04-29'>HTTP:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/prediff.php?dpath=HTTP:\/\/www.rjmprogramming.com.au\/&#038;dfilespec=[HP][TH][MP]*\/*.*GETME&#038;dmdates=2018-04-28&#038;dmdateb=2018-04-29<\/a> below &#8230;<\/p>\n<p><iframe src='HTTP:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/prediff.php?dpath=HTTP:\/\/www.rjmprogramming.com.au\/&#038;dfilespec=[HP][TH][MP]*\/*.*GETME&#038;dmdates=2018-04-28&#038;dmdateb=2018-04-29'><\/iframe><\/p>\n<hr>\n<p id='gceat'>Previous relevant <a target=_blank title='Google Chart Email Attachment Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/google-chart-email-attachment-tutorial\/'>Google Chart Email Attachment Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Google Chart Email Attachment Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart_email_attachment.jpg\" title=\"Google Chart Email Attachment Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Google Chart Email Attachment Tutorial<\/p><\/div>\n<p><a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> chart data is worth sharing, and we share with email using our interfacing PHP web applications.  There are a few reasons for today&#8217;s additional email &#8220;attachment&#8221; design functionality today (augmenting yesterday&#8217;s <a title='Google Chart Pie Chart Background Image Tutorial' href='#gcpcbit'>Google Chart Pie Chart Background Image Tutorial<\/a>), that we think are improvements to the existing &#8220;link in an email (to the RJM Programming domain URL)&#8221; email arrangements &#8230;<\/p>\n<ul>\n<li>an attachment in an email can snapshot the scenario of the emailer in a more direct way &#8230; and &#8230;<\/li>\n<li>downloading it provides the snapshot on the emailee&#8217;s local system, and\/or on their local web browser, potentially stored locally for as long as the emailee requires &#8230;<\/li>\n<li>is a more dynamic sharing response &#8230;<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/B9UBGAOWm_I\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe>\n<\/li>\n<li>can be used to handle the larger data sets, coming up more often now, with clipboard and image and CSV data ideas lately<\/li>\n<\/ul>\n<p>We arrange these changes at the &#8230;<\/p>\n<ul>\n<li>generic external Javascript <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/gchartgen.js---------GETME\" title=\"gchartgen.js\">gchartgen.js<\/a> which changed for this work, in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/gchartgen.js---------GETME\" title=\"gchartgen.js\">this way<\/a> &#8230; for those PHP web applications that don&#8217;t call gchartgen.js they make their own parallel coding arrangements &#8230; and &#8230;<\/li>\n<li>generic helper (for emailing) PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/webviewemail.php---GETME\" title=\"webviewemail.php\">webviewemail.php<\/a> which changed for this work, in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/webviewemail.php---GETME\" title=\"webviewemail.php\">this way<\/a>\n<\/ul>\n<p>In the simplest scenario, we have a very simple arrangement to make in the &#8220;parent&#8221; code of each Google Chart interfacing, that being the verification that it is ready by having exist before &lt;\/body&gt; &#8230;<\/p>\n<p><code><br \/>\n&lt;div id=\"thedivemail\"&gt;&lt;\/div&gt;<br \/>\n<\/code><\/p>\n<p>The email, with HTML attachment, navigation, as required, is placed into the <i>innerHTML<\/i> of this HTML div element &#8230;<\/p>\n<ul>\n<li>method=POST &#8230; to handle large or small data sets &#8230;<\/li>\n<li>target=theiemail &#8230; which is a reference to &#8230;<br \/>\n<code><br \/>\n&lt;iframe name=theiemail id=theiemail style='display:none;' src='..\/webviewemail.php'&gt;&lt;\/iframe&gt;<br \/>\n<\/code>\n<\/li>\n<li>onsubmit=&#8221;<br \/>\n<code><br \/>\n if (document.getElementById('theto').value.indexOf('@') == -1) {<br \/>\n   return false;<br \/>\n } else {<br \/>\n   fixanother();<br \/>\n   if (document.getElementById('thesubject').value == '' || document.getElementById('thesubject').innerHTML == '') {<br \/>\n    document.getElementById('thesubject').value='Google Chart Interfacing via RJM Programming';<br \/>\n   }<br \/>\n   var hcis='&lt;!DOCTYPE HTML PUBLIC ' + String.fromCharCode(34) + '-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN' + String.fromCharCode(34) + '&gt;&lt;html&gt;&lt;\/head&gt;' + document.head.innerHTML + document.body.outerHTML.split('&lt;div id=' + String.fromCharCode(34) + 'thedi' + 'vemail' + String.fromCharCode(34) + '&gt;')[0] + '&lt;\/body&gt;&lt;\/html&gt;';<br \/>\n   document.getElementById('thehtml').value=hcis.replace(\/\\+\/g,'%2b').replace(nogo,yesgo).replace(emailtitle,'');<br \/>\n   return true;<br \/>\n }<br \/>\n<\/code><br \/>\n&#8221;\n<\/li>\n<\/ul>\n<p> &#8230; and the timing of populating that HTML textarea &#8216;thehtml&#8217; value is after the <i>client<\/i> document.body <i>onload<\/i> event of the complete Google Chart, and this is automatic when gchartgen.js is getting URL ? and &#038; parameters in a $_GET[] scenario.  For the $_POST[] scenario, we&#8217;ll need to chip away at each parent Google Chart interface PHP web application code.  Home and hosed?!  Not yet, still fixing the leaks!<\/p>\n<hr>\n<p id='gcpcbit'>Previous relevant <a target=_blank title='Google Chart Pie Chart Background Image Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/google-chart-pie-chart-background-image-tutorial\/'>Google Chart Pie Chart Background Image Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Google Chart Pie Chart Background Image Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart_bg.jpg\" title=\"Google Chart Pie Chart Background Image Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Google Chart Pie Chart Background Image Tutorial<\/p><\/div>\n<p>We have another potential use for the clipboard, adding onto the recent <a title='Google Pie Chart via Clipboard Co-ordinates Tutorial' href='#gpccc-t'>Google Pie Chart via Clipboard Co-ordinates Tutorial<\/a> data set usage, today.   We allow the user to change the default white background to the <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/gallery\/piechart' title='Google Pie Charts'>Pie Chart<\/a> be tailored to be either &#8230;<\/p>\n<ul>\n<li>image URL &#8230; or &#8230;<\/li>\n<li>image data URI (most likely entered via the clipboard)<\/li>\n<\/ul>\n<p> &#8230; as a prefixing option when they enter in the Title of their Pie Chart.<\/p>\n<p>In order to achieve this, we were helped enormously by &#8230;<\/p>\n<ul>\n<li><a target=_blank title='Useful link' href='https:\/\/stackoverflow.com\/questions\/8828076\/how-can-i-hack-a-background-image-into-google-chart-tools-dynamic-javascript-s'>this very useful link<\/a>,  thanks &#8230; the crux of it being to get to put &#8230;<br \/>\n<code><br \/>\n  backgroundColor: 'none'<br \/>\n<\/code><br \/>\n &#8230; into the Pie Chart options &#8230; and some previous help we got when we presented &#8230;<\/li>\n<li><a target=_blank title='Column Intelligence Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/column-intelligence-primer-tutorial\/'>Column Intelligence Primer Tutorial<\/a>&#8216;s &#8220;Did you know?&#8221; section reference to <a target=_blank title='Useful link' href='https:\/\/stackoverflow.com\/questions\/7241341\/can-i-set-an-opacity-only-to-the-background-image-of-a-div'>incredibly useful link<\/a>&#8216;s advice on our &#8230;<br \/>\n<blockquote cite='https:\/\/www.rjmprogramming.com.au\/ITblog\/column-intelligence-primer-tutorial\/'><p>\nwish to apply opacity just to background image, but not the corresponding textual data (or other types) that is the primary content of that HTML element\n<\/p><\/blockquote>\n<\/li>\n<\/ul>\n<p>You can see a video of some of the practicalities to usage on an iPad mobile app version in the <a title='YouTube' href='https:\/\/youtube.com'>YouTube<\/a> video below &#8230;<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/6N55NeUfoBw\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><\/p>\n<p>Because data URIs are an option here, too, you will see in the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php------------GETME\" title=\"pie_chart.php\">code changes<\/a> to <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php------------GETME\" title=\"pie_chart.php\">pie_chart.php<\/a> the need, now, to cater for the switch of HTML form navigation from &#8230;<\/p>\n<ul>\n<li>method=GET (the default) &#8230; to &#8230;<\/li>\n<li>method=POST (when the URL becomes too long)<\/li>\n<\/ul>\n<p> &#8230; and that new bit of logic is slated home to the generic external Javascript we have set aside for Google Charts work called <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/gchartgen.js--------GETME\" title=\"gchartgen.js\">gchartgen.js<\/a> which changed for this work, in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/gchartgen.js--------GETME\" title=\"gchartgen.js\">this way<\/a>.<\/p>\n<p>Maybe you can see how to use this feature yourself, and if that is the case you can try this <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php\" title=\"Click picture\">live run<\/a> link.<\/p>\n<hr>\n<p id='gpccc-t'>Previous relevant <a target=_blank title='Google Pie Chart via Clipboard Co-ordinates Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/google-pie-chart-via-clipboard-co-ordinates-tutorial\/'>Google Pie Chart via Clipboard Co-ordinates Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Google Pie Chart via Clipboard Co-ordinates Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart_clipboard.jpg\" title=\"Google Pie Chart via Clipboard Co-ordinates Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Google Pie Chart via Clipboard Co-ordinates Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a title='Google Map Chart via Clipboard Co-ordinates Tutorial' href='#gmccc-t'>Google Map Chart via Clipboard Co-ordinates Tutorial<\/a> was a good precursor to today&#8217;s work interfacing this time to the <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/gallery\/piechart' title='Google Pie Charts'>Pie Chart<\/a>.<\/p>\n<p>With this work, we&#8217;ve started refining the clipboard &#8220;smarts&#8221; by looking for linefeeds &#8230; in Javascript thoughts &#8230;<\/p>\n<p><code><br \/>\nString.fromCharCode(10)<br \/>\n<\/code><\/p>\n<p> &#8230; and as the data exits the Javascript prompt window on its way, before navigating back to the PHP itself, we can check for too many fields to the right of the data, and truncate the clipboard data, as necessary.  Along the way, we may be able to reject any header records with this same approach.  We can check for no numerical fields here.  Business specific logic can be applied here too.  With a Pie Chart, the original data, or the user, may be tempted to place &#8220;%&#8221; after the numerical data, and we can take the opportunity to weed these out.  Also, with the character data, it may be delimited by a double quote (ie. within &#8220;&#8221;), and with this knowledge in mind, we may be able to weed out confusing additional commas that could confuse us with the clipboard comma separated value format of the data.<\/p>\n<p>The lesson here, is to &#8220;validate early&#8221; and it could be good to &#8220;validate often&#8221; as well.  Real data can be strange indeed.<\/p>\n<p><code><br \/>\n function dlp(thisris) {<br \/>\n      if (thisris != null) {<br \/>\n        var commacount=thisris.toLowerCase().replace(\/\\&lt;\\\/td\\&gt;\/g,'  ,  ').indexOf(',');<br \/>\n        if (thisris.toLowerCase().replace('https:','http:').indexOf('http:') == 0) {<br \/>\n             fti=true;<br \/>\n             allowed=true;<br \/>\n             datac=thisris;<br \/>\n        } else if (commacount &gt;= 0) {<br \/>\n             var thatris=thisris.replace(\/\\ \\\"\/g,String.fromCharCode(10) + '\"').replace(\/\\&lt;tr\\&gt;\/g,'').replace(\/\\&lt;\\\/td\\&gt;\\&lt;td\\&gt;\/g,',').replace(\/\\&lt;\\\/tr\\&gt;\/g,String.fromCharCode(10)).replace(\/\\&lt;\\\/td\\&gt;\/g,',').replace(\/\\,\\,\/g,',').replace(\/\\,\\,\/g,',').replace(',' + String.fromCharCode(10),String.fromCharCode(10));<br \/>\n             var zisok=true, fldq=thatris.split(',');<br \/>\n             var pielines=thatris.split(String.fromCharCode(10));<br \/>\n             if ((fldq[0].replace('\"','').trim() + ' ').substring(0,1) &lt; '0' || (fldq[0].replace('\"','').trim() + ' ').substring(0,1) &gt; '9') {<br \/>\n              if ((fldq[eval(-1 + fldq.length)].replace('\"','').trim() + ' ').substring(0,1) &lt; '0' || (fldq[eval(-1 + fldq.length)].replace('\"','').trim() + ' ').substring(0,1) &gt; '9') {<br \/>\n               zisok=false;<br \/>\n              }<br \/>\n             }<br \/>\n             if (!zisok && pielines.length &gt; 1) {<br \/>\n             fldq=pielines[1].split(',');<br \/>\n             zisok=true;<br \/>\n             if ((fldq[0].replace('\"','').trim() + ' ').substring(0,1) &lt; '0' || (fldq[0].replace('\"','').trim() + ' ').substring(0,1) &gt; '9') {<br \/>\n              if ((fldq[eval(-1 + fldq.length)].replace('\"','').trim() + ' ').substring(0,1) &lt; '0' || (fldq[eval(-1 + fldq.length)].replace('\"','').trim() + ' ').substring(0,1) &gt; '9') {<br \/>\n               zisok=false;<br \/>\n              }<br \/>\n             }<br \/>\n             }<br \/>\n             if (zisok) {<br \/>\n             while (thatris.indexOf(String.fromCharCode(10)) != -1) {<br \/>\n              var inpies, pied='';<br \/>\n              thatris='';<br \/>\n              var sthatris='';<br \/>\n              for (var ipie=0; ipie&lt;pielines.length; ipie++) {<br \/>\n               inpies=pielines[ipie].split(',');<br \/>\n               if (inpies.length &gt; 1) {<br \/>\n                if ((inpies[0].trim() + \" \").substring(0,1) == '\"' && (inpies[1].trim() + \" \").substring(0,1) == '\"') {<br \/>\n                sthatris=pied + inpies[0].trim().substring(1).split('\"')[0].trim().replace('%','').replace(',','').replace(',','') + ',' + inpies[1].trim().substring(1).split('\"')[0].trim().replace('%','').replace(',','').replace(',','');<br \/>\n                } else if ((inpies[0].trim() + \" \").substring(0,1) == '\"') {<br \/>\n                sthatris=pied + inpies[0].trim().substring(1).split('\"')[0].trim().replace('%','').replace(',','').replace(',','') + ',' + inpies[1].trim().replace('%','').replace('\"','');<br \/>\n                } else if ((inpies[1].trim() + \" \").substring(0,1) == '\"') {<br \/>\n                sthatris=pied + inpies[0].trim().replace('%','') + ',' + inpies[1].trim().substring(1).split('\"')[0].trim().replace('%','').replace(',','').replace(',','');<br \/>\n                } else {<br \/>\n                sthatris=pied + inpies[0].trim().replace('%','') + ',' + inpies[1].trim().replace('%','').replace('\"','');<br \/>\n                }<br \/>\n                inpies=sthatris.replace(pied,'').split(',');<br \/>\n                if (((inpies[0].trim() + \" \").substring(0,1) &gt;= '0' && (inpies[0].trim() + \" \").substring(0,1) &lt;= '9') || ((inpies[1].trim() + \" \").substring(0,1) &gt;= '0' && (inpies[1].trim() + \" \").substring(0,1) &lt;= '9')) {<br \/>\n                thatris+=sthatris;<br \/>\n                pied=',';<br \/>\n                }<br \/>\n               }<br \/>\n              }<br \/>\n             }<br \/>\n             thatris=thatris.replace(\/\\,\\,\/g,',');<br \/>\n             fti=true;<br \/>\n             allowed=true;<br \/>\n             datac='http;' + thatris;<br \/>\n             thisris='http;' + thatris;<br \/>\n             }<br \/>\n        }<br \/>\n      }<br \/>\n      return thisris;<br \/>\n }<br \/>\n<\/code><\/p>\n<p>Our PHP Google Chart Pie Chart interface is <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php-----------GETME\">pie_chart.php<\/a> changed <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php-----------GETME\">this way<\/a> for today&#8217;s work, that you can try yourself at this <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php\" title=\"Click picture\">live run<\/a> link.<\/p>\n<p>Our PHP helper <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/csv.php----------GETME\">csv.php<\/a> changed <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/csv.php----------GETME\">this way<\/a> for today&#8217;s work.<\/p>\n<p>If you want to recreate the conditions as shown in today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart_clipboard.jpg\" title='Tutorial picture'>tutorial picture<\/a> &#8230;<\/p>\n<ol>\n<li>copy the contents below &#8230;<br \/>\n<iframe style='width:100%;height:330px;' src='http:\/\/www.rjmprogramming.com.au\/PHP\/ChartEditor\/intensity_chart.csv_GETME' title='Copy this'><\/iframe><br \/>\n &#8230; <\/li>\n<li>and paste into the 4th prompt (window&#8217;s text) box of the Google Charts Pie Chart interfacing <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php\" title=\"Click picture\">live run<\/a> link<\/li>\n<li>click OK button &#8230; P.S.  On first prompt, appending <i>&amp;onclick=y<\/i> to what you want as a Pie Chart title will work the Pie Chart&#8217;s select event logic we harness with this interfacing<\/li>\n<li>&#8230; or, if you are feeling lazy &#8230;<br \/>\n<a target=_blank title=\"https:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php?title=Country%20Populations&#038;onclick=y&#038;task=Country&#038;desc=Populations&#038;data=,%20[~https;China,1347000000,India,1241000000,United%20States,312000000,Indonesia,238000000,Brazil,197000000,Pakistan,177000000,Nigeria,162000000,Bangladesh,151000000,Russia,143000000,Japan,128000000,Mexico,115000000,Philippines,96000000,Vietnam,88000000,Ethiopia,87000000,Germany,81800000,Egypt,82600000,Iran,78000000,Turkey,74000000,Thailand,69500000,Congo,67800000,France,63300000,United%20Kingdom,62700000,Italy,60800000~,100]\" href=\"https:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php?title=Country%20Populations&#038;onclick=y&#038;task=Country&#038;desc=Population&#038;data=,%20[~https;China,1347000000,India,1241000000,United%20States,312000000,Indonesia,238000000,Brazil,197000000,Pakistan,177000000,Nigeria,162000000,Bangladesh,151000000,Russia,143000000,Japan,128000000,Mexico,115000000,Philippines,96000000,Vietnam,88000000,Ethiopia,87000000,Germany,81800000,Egypt,82600000,Iran,78000000,Turkey,74000000,Thailand,69500000,Congo,67800000,France,63300000,United%20Kingdom,62700000,Italy,60800000~,100]\">https:\/\/www.rjmprogramming.com.au\/PHP\/PieChart\/pie_chart.php?title=Country%20Populations&#038;onclick=y&#038;task=Country&#038;desc=Populations&#038;data=,%20[~https;China,1347000000,India,1241000000,United%20States,312000000,Indonesia,238000000,Brazil,197000000,Pakistan,177000000,Nigeria,162000000,Bangladesh,151000000,Russia,143000000,Japan,128000000,Mexico,115000000,Philippines,96000000,Vietnam,88000000,Ethiopia,87000000,Germany,81800000,Egypt,82600000,Iran,78000000,Turkey,74000000,Thailand,69500000,Congo,67800000,France,63300000,United%20Kingdom,62700000,Italy,60800000~,100]<\/a><\/li>\n<\/ol>\n<hr>\n<p id='gmccc-t'>Previous relevant <a target=_blank title='Google Map Chart via Clipboard Co-ordinates Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/google-map-chart-via-clipboard-co-ordinates-tutorial\/'>Google Map Chart via Clipboard Co-ordinates Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Google Map Chart via Clipboard Co-ordinates Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/mapclipboard.jpg\" title=\"Google Map Chart via Clipboard Co-ordinates Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Google Map Chart via Clipboard Co-ordinates Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a title='Google Map Chart via URL Co-ordinates Tutorial' href='#gmcurlc-t'>Google Map Chart via URL Co-ordinates Tutorial<\/a> added functionality directed towards a &#8230;<\/p>\n<ul>\n<li>secondary data source, that you access &#8230; but today we are going to extend that functionality to support a &#8230;<\/li>\n<li>primary data source that you enter a comma separated values list for the [place,lat,long] data sets (yourself, via the computer keyboard) &#8230; as well as a &#8230;<\/li>\n<li>&#8220;subset&#8221; of a secondary data source, that you access, more than likely, using you computer device&#8217;s <i>clipboard<\/i><\/li>\n<\/ul>\n<p>The invention of the <a target=_blank title='Clipboard information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Clipboard_%28computing%29'><i>clipboard<\/i><\/a> was a brilliant step.  Before it, we were so beholden to programmers to get tailored work done, and though it&#8217;s sad that so many of you get on without us (cough, cough) &#8230; well &#8230; we were being overworked anyway &#8230; and there was that project to &#8220;make the morning breakfast coffee before you even know you wanted it&#8221; to get onto &#8230; finally.<\/p>\n<p>Perhaps we all forget now what the <i>clipboard<\/i> has meant, for so many of us.  It is the freedom of &#8220;copy and paste&#8221;, the individualism tool of content creation.<\/p>\n<p>Yesterday&#8217;s functionality idea is a case in point.  &#8220;Secondary data sources&#8221; are, by definition, out of your control, as to what the content of a web page is.  Notice how, yesterday, we made some content that was (s)ftp transferred over to the rjmprogramming.com.au domain via &#8230; yes, you guessed it &#8230; <\/p>\n<ol>\n<li>me copying (off the <a target=_blank title='Co-ordinates, thanks' href='https:\/\/www.mapbox.com\/help\/troubleshoot-csv\/#example'>mapbox.com<\/a> website, thanks, as <b>part<\/b> of the contents of a webpage) &#8230; then &#8230;<\/li>\n<li>pasting that content into a csv text file on the MacBook Pro computer we&#8217;re using (locally) &#8230; and then &#8230;<\/li>\n<li>(s)ftp transferred over to rjmprogramming.com.au domain to represent a &#8230;<\/li>\n<li>URL usable within the functionality of our <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> <a target=_blank title='Google Chart Map Chart information from Google' href='https:\/\/developers.google.com\/chart\/interactive\/docs\/gallery\/map'>Map Chart<\/a> interface we host here as the PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php-------------------------GETME\">map.php<\/a>&#8216;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\" title=\"Click picture\">live run<\/a> link<\/li>\n<\/ol>\n<p>But there you are, an intelligent human, able to determine for yourself the data you are interested in (quite often not the entire contents of a webpage, as yesterday&#8217;s work is ideally asking for), so that being the case, the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php-------------------------GETME\" title=\"map.php\">map.php<\/a> modifications to PHP code<\/a> we&#8217;ve made today, make it possible for (the much simpler) &#8230;<\/p>\n<ol>\n<li>me copying (off the <a target=_blank title='Co-ordinates, thanks' href='https:\/\/www.mapbox.com\/help\/troubleshoot-csv\/#example'>mapbox.com<\/a> website, thanks, as <b>part<\/b> of the contents of a webpage) &#8230; then &#8230;<\/li>\n<li>pasting that content within the functionality of our <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> <a target=_blank title='Google Chart Map Chart information from Google' href='https:\/\/developers.google.com\/chart\/interactive\/docs\/gallery\/map'>Map Chart<\/a> interface we host here as the PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php-------------------------GETME\">map.php<\/a>&#8216;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\" title=\"Click picture\">live run<\/a> link<\/li>\n<\/ol>\n<p>If you have the <i>clipboard<\/i> as your friend, your time around computers becomes so much more enjoyable, and flexible, and within <i>your<\/i> control.  We, as programmers, need to think, on occasions, or encourage, on occasions, how the user is likely to use the clipboard, in conjunction with our applications.  As you might surmise, that can be a pretty unpredictable &#8220;artform&#8221;.<\/p>\n<p>Our PHP helper <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/csv.php---------GETME\">csv.php<\/a> changed <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/csv.php---------GETME\">this way<\/a> for today&#8217;s work.<\/p>\n<hr>\n<p id='gmcurlc-t'>Previous relevant <a target=_blank title='Google Map Chart via URL Co-ordinates Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/google-map-chart-via-url-co-ordinates-tutorial\/'>Google Map Chart via URL Co-ordinates Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Google Map Chart via URL Co-ordinates Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/mapmore.jpg\" title=\"Google Map Chart via URL Co-ordinates Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Google Map Chart via URL Co-ordinates Tutorial<\/p><\/div>\n<p>The last blog posting referring to the <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Chart<\/a> <a target=_blank title='Google Chart Map Chart information from Google' href='https:\/\/developers.google.com\/chart\/interactive\/docs\/gallery\/map'>Map Chart<\/a> interface we host here was with <a title='Emoji Name Search Map Chart Weather Tutorial' href='#ensmcwt'>Emoji Name Search Map Chart Weather Tutorial<\/a>, but today we are presenting a major functionality addition with implications for other Google Chart interfacing PHP codesets here.  We are allowing the user at the second prompt to take the data from a URL data source containing CSV (comma separated values) place,latitude,longitude data or those three fields in an HTML table element contents perhaps.<\/p>\n<p>We&#8217;ve added the ability to &#8220;map&#8221; (tee hee) &#8230;<\/p>\n<p><code><br \/>\nHTTP:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php?title=Where%20We%20Are&onclick=y&label=['Lat',&value='Lon',%20'Name']&data=<b>,%20[-33.90743410270099,151.17646964910696,~Parent1~]%20,%20[-33.907440603083124,151.1764659419197,~Parent2~]<\/b><br \/>\n<\/code><\/p>\n<p> &#8230; from a CSV data URL look with contents &#8230;<\/p>\n<p><code><br \/>\n-33.907434102700991,151.17646964910696,Parent1<br \/>\n-33.907440603083124,151.17646594191973,Parent2<br \/>\n<\/code><\/p>\n<p> &#8230; that if placed at rjmprogramming.com.au&#8217;s Document Root and called parent.csv then a URL of &#8230;<\/p>\n<p><code><br \/>\nHTTP:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php?title=Where%20We%20Are&onclick=y&label=['Lat',&value='Lon',%20'Name']&data=<b>,%20[0.00000001,0.0000000,~HTTP:\/\/rjmprogramming.com.au\/parent.csv~]<\/b><br \/>\n<\/code><\/p>\n<p> &#8230; could be a shortcut to that first URL same look.  You can see another example using data from <a target=_blank title='Co-ordinates, thanks' href='https:\/\/www.mapbox.com\/help\/troubleshoot-csv\/#example'>mapbox.com<\/a>, thanks, show the scenario our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/mapmore.jpg\" title=\"Tutorial picture\">tutorial picture<\/a> illustrates.<\/p>\n<p>The way this &#8220;mapping&#8221; (tee hee, tee hee) of URLs can happen is that the PHP supervisor <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php------------------------GETME\">map.php<\/a> (changed <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php------------------------GETME\">this way<\/a> and which you can try with this <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\" title=\"Click picture\">live run<\/a> link) &#8220;includes&#8221; (ie. calls) &#8230;<\/p>\n<p><code><br \/>\n    include \"..\/csv.php\";<br \/>\n<\/code><\/p>\n<p> &#8230; a (now bigger, and more functional) <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/csv.php--------GETME\">csv.php<\/a> (changed <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/csv.php--------GETME\">this way<\/a>) does its best to handle a few looks to the CSV or tabular data, with code to allow for &#8230;<\/p>\n<ul>\n<li>CSV data ordered place,latitude(decimal),longitude(decimal) or latitude(decimal),longitude(decimal),place or place,longitude(decimal),latitude(decimal) or longitude(decimal),latitude(decimal),place<\/li>\n<li>CSV data ordered place,latitude(W\/S\/E\/N_deg_min_secs),longitude(W\/S\/E\/N_deg_min_secs) or latitude(W\/S\/E\/N_deg_min_secs),longitude(W\/S\/E\/N_deg_min_secs),place or place,longitude(W\/S\/E\/N_deg_min_secs),latitude(W\/S\/E\/N_deg_min_secs) or longitude(W\/S\/E\/N_deg_min_secs),latitude(W\/S\/E\/N_deg_min_secs),place<\/li>\n<li>HTML tabular data ordered place,latitude(decimal),longitude(decimal) or latitude(decimal),longitude(decimal),place or place,longitude(decimal),latitude(decimal) or longitude(decimal),latitude(decimal),place<\/li>\n<li>HTML tabular data ordered place,latitude(W\/S\/E\/N_deg_min_secs),longitude(W\/S\/E\/N_deg_min_secs) or latitude(W\/S\/E\/N_deg_min_secs),longitude(W\/S\/E\/N_deg_min_secs),place or place,longitude(W\/S\/E\/N_deg_min_secs),latitude(W\/S\/E\/N_deg_min_secs) or longitude(W\/S\/E\/N_deg_min_secs),latitude(W\/S\/E\/N_deg_min_secs),place<\/li>\n<\/ul>\n<hr>\n<p id='ensmcwt'>Previous relevant <a target=_blank title='Emoji Name Search Map Chart Weather Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-map-chart-weather-tutorial\/'>Emoji Name Search Map Chart Weather 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\/world_flags.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Emoji Name Search Map Chart Weather Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/worldflagw.jpg\" title=\"Emoji Name Search Map Chart Weather Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Emoji Name Search Map Chart Weather Tutorial<\/p><\/div>\n<p>If you&#8217;ve been studying the code of our hierarchy for our Emoji Flags of the World web application &#8230;<\/p>\n<ul>\n<li>grandparent <a target=_blank title='World Flags live run' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html'>Emoji Flags of the World live run<\/a>, with this HTML and Javascript <a target=_blank title='world_flags.html' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html-GETME'>world_flags.html<\/a> HTML and Javascript, unchanged from yesterday&#8217;s <a title='Emoji Name Search Timezone Tutorial' href='#enstt'>Emoji Name Search Timezone Tutorial<\/a> &#8230; supervising &#8230;<\/li>\n<li>parent <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php----GETME\" title=\"emoticon_keyboard_shortcuts.php\">emoticon_keyboard_shortcuts.php<\/a> PHP partner, also unchanged from yesterday, because, today, our focus is on what this supervises &#8230;<\/li>\n<li><b>child <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php---------------------GETME\" title=\"map.php\">map.php<\/a> PHP that changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php---------------------GETME\" title=\"map.php\">this way<\/a> (and which is an independent <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\">Google Chart Map Chart interfacing live run<\/a> in its own right)<\/b><\/li>\n<\/ul>\n<p> &#8230; am sure you&#8217;ll have noticed how bottom heavy it is on the &#8220;child&#8221; as far as functionality goes.  What we like to call &#8220;the hard working duck syndrome&#8221;.  Partly, that is because we see the <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Charts<\/a> <a target=_blank title='Google Chart Map Chart' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4832'>Map Chart<\/a> interface we have as being a very useful &#8220;meeting point&#8221; with interfacing web applications tending towards the &#8220;where&#8221; of life.<\/p>\n<p>Today&#8217;s job, extending yesterday&#8217;s <a title='Emoji Name Search Map Chart Tutorial' href='#ensmct'>Emoji Name Search Map Chart Tutorial<\/a> is to add Map Chart interfacing to the great <a target=_blank title='Weather Underground' href='http:\/\/www.wunderground.com'>Weather Underground<\/a> and its great API service for autocomplete name searches for weather (and hurricane) information &#8230; thanks.<\/p>\n<p>The changes are again just to that &#8220;hard working duck&#8221; Map Chart interface &#8220;child&#8221; web application, as for yesterday&#8217;s work.  We were very keen to do this, especially because &#8230;<\/p>\n<ul>\n<li><a target=_blank title='Weather Underground' href='http:\/\/www.wunderground.com'>Weather Underground<\/a> database works most succinctly with <i>Placename, Country<\/i> identification pairs, better than for the &#8230;<\/li>\n<li><i>Continent\/Placename<\/i> setup of (PHP) Timezones<\/li>\n<\/ul>\n<p> &#8230; and so, while we are going to so much trouble scouring Timezone places for their associated Countries, it is a really good opportunity to slot in some Weather API interfacing to our Emoji World Flags web application, which is starting to be looking better and better as a trip planning aid.<\/p>\n<hr>\n<p id='ensmct'>Previous relevant <a target=_blank title='Emoji Name Search Map Chart Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-map-chart-tutorial\/'>Emoji Name Search Map Chart 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\/world_flags.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Emoji Name Search Map Chart Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/worldflagtz.jpg\" title=\"Emoji Name Search Map Chart Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Emoji Name Search Map Chart Tutorial<\/p><\/div>\n<p>We now have a three tier functionality hierarchy for our Emoji Flags of the World web application &#8230;<\/p>\n<ul>\n<li>grandparent <a target=_blank title='World Flags live run' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html'>Emoji Flags of the World live run<\/a>, with this HTML and Javascript <a target=_blank title='world_flags.html' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html-GETME'>world_flags.html<\/a> HTML and Javascript, unchanged from yesterday&#8217;s <a title='Emoji Name Search Timezone Tutorial' href='#enstt'>Emoji Name Search Timezone Tutorial<\/a> &#8230; supervising &#8230;<\/li>\n<li>parent <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php----GETME\" title=\"emoticon_keyboard_shortcuts.php\">emoticon_keyboard_shortcuts.php<\/a> PHP partner, also unchanged from yesterday, because, today, our focus is on what this supervises &#8230;<\/li>\n<li><b>child <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php--------------------GETME\" title=\"map.php\">map.php<\/a> PHP that changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php--------------------GETME\" title=\"map.php\">this way<\/a> (and which is an independent <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Map\/map.php\">Google Chart Map Chart interfacing live run<\/a> in its own right)<\/b><\/li>\n<\/ul>\n<p> &#8230; all made so very possible when web applications sit in the same domain and you utilize the HTML <a target=_blank title='HTML iframe element information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_iframe.asp'>iframe<\/a> element.<\/p>\n<p>We wanted to enhance its integration by &#8230;<\/p>\n<ul>\n<li>adding in &#8220;locality pins&#8221; for all PHP Timezone places in the country of interest<\/li>\n<li>involving Emoji flags in the Map Chart title (rather than as a pin) because Emojis, after all, are like textual data, not HTML (but can use HTML Entity representations in both)<\/li>\n<\/ul>\n<p>To work the latter of these we called on recent experience with the &#8220;Fifth Beatle&#8221; discussion in <a target=_blank title='Emoji Name Search Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-primer-tutorial\/'>Emoji Name Search Primer Tutorial<\/a> &#8230;<\/p>\n<blockquote cite='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-primer-tutorial\/'><p>\nWe got quite excited recently with <a title='Rainbow Games PHP Emoji Tutorial' href='#rgphpet'>Rainbow Games PHP Emoji Tutorial<\/a> when we added a (fourth Beatle) <i>emoji helper<\/i>, called <a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a>, into the mix of tools to gather emoji information.  Today, we&#8217;ve got a new Emoji Search web application that introduces a new (<a target=_blank title='Pete Best information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Fifth_Beatle'>fifth Beatle(?)<\/a>) <b>emoji helper tool<\/b> to add into the &#8220;how we see it&#8221; mix &#8230;\n<\/p><\/blockquote>\n<p>We found that <a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a> could be used in our map Chart interfacing PHP to look up the HTML Decimal Entity for a flag of a country via the URL pattern &#8230;<\/p>\n<p><code><br \/>\nHTTP:\/\/www.emojiterra.com\/flag-for-[CountryNameSpacesMakeMinusSignsLowerCase]<br \/>\n<\/code><\/p>\n<p>So even though Google Chart Map Charts do not allow HTML in their titles there is nothing stopping you putting in an HTML Entity Emoji coding.<\/p>\n<p>As far as the former goes, we again called on the PHP <a target=_blank title='DateTimeZone class' href='http:\/\/php.net\/manual\/en\/class.datetimezone.php'>DateTimeZone<\/a> class to scrutinize the first Timezone in the Map Chart title, derive its ISO 2 letter Country Code, and look through the array list of (PHP) Timezones to garner latitude and longitude, time now, and GMT offset information necessary to improve the &#8220;where&#8221; and &#8220;when&#8221; aspects of our Google Chart Map Chart interfacing.<\/p>\n<hr>\n<p id='enstt'>Previous relevant <a target=_blank title='Emoji Name Search Timezone Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-timezone-tutorial\/'>Emoji Name Search Timezone 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\/world_flags.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Emoji Name Search Timezone Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/worldflag.jpg\" title=\"Emoji Name Search Timezone Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Emoji Name Search Timezone Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a title='Emoji Name Search Map Tutorial' href='#ensmt'>Emoji Name Search Map Tutorial<\/a> was a step in the direction of &#8220;where&#8221; functionality, but because PHP teams up with the supervisory HTML &#8220;Emoji World Flags&#8221; web application, to make all this happen, there is the opportunity to add interest by adding a &#8220;when&#8221; aspect to how it works.<\/p>\n<p>As we&#8217;ve said many times now, should you have access to PHP, you also have access to its <a target=_blank title='DateTimeZone class' href='http:\/\/php.net\/manual\/en\/class.datetimezone.php'>DateTimeZone<\/a> class where Timezones can be linked to ISO 2 letter Country Codes, useful as an integration point as of recent times when we introduced ISO 2 letter Country Codes to today&#8217;s (supervisory) <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html\" title=\"Click picture\">live run<\/a>&#8216;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html-GETME\" title=\"world_flags.html\">world_flags.html<\/a> HTML and Javascript code.<\/p>\n<p>But it is not HTML code that changes today.  It is its PHP partner <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php----GETME\" title=\"emoticon_keyboard_shortcuts.php\">emoticon_keyboard_shortcuts.php<\/a> changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php----GETME\" title=\"emoticon_keyboard_shortcuts.php\">this way<\/a>, that arranges that its call of <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Charts<\/a> <a target=_blank title='Google Chart Map Chart' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4832'>Map Chart<\/a> passes across a new URL &#8230;<\/p>\n<p><code><br \/>\n&amp;ccode=[ISO 2 letter Country Code]<br \/>\n<\/code><\/p>\n<p> &#8230; argument that uses a new PHP function as below (arrays shortened for practicality purposes) &#8230;<\/p>\n<p><code><br \/>\n&lt;?php<br \/>\n function inctycodecheck($incd, $sofar) {<br \/>\n    $nearname=[\"Africa\/Abidjan\",\"Africa\/Accra\", ... ]; \/\/ array of Timezone names<br \/>\n    $retv=\"\";<br \/>\n    $retd=\"\";<br \/>\n    $otz = new DateTimeZone(\"UTC\");<br \/>\n    $jj=0;<br \/>\n    $origin_dt = new DateTime(\"now\", $otz);<br \/>\n    for ($best1=0; $best1&lt;sizeof($nearname); $best1++) {<br \/>\n        try {<br \/>\n        $tz = new DateTimeZone($nearname[$best1]);<br \/>\n        $cloc = $tz-&gt;getLocation();<br \/>\n        $ctrycode = $cloc['country_code'];<br \/>\n        if (strtoupper($incd) == strtoupper($ctrycode)) {<br \/>\n         $remote_dt = new DateTime(\"now\", $tz);<br \/>\n         $offset = ($tz-&gt;getOffset($remote_dt) - $otz-&gt;getOffset($origin_dt)) \/ 3600;<br \/>\n         $newp=$retd . $nearname[$best1] . \"\/\" . $remote_dt-&gt;format('Y-m-d_H:i:s') . \" (GMT\" . $offset . \")\";<br \/>\n         $huhs=explode(\" (GMT\" . $offset . \")\", $retv);<br \/>\n         if (sizeof($huhs) == 2) {<br \/>\n           if (explode(\"\/\", $newp)[0] != explode(\"\/\", explode(\",\", $huhs[0])[-1 + sizeof(explode(\",\", $huhs[0]))])[0]) {<br \/>\n             $huhs=explode(\"youwillneverfindthis\", $retv);<br \/>\n           }<br \/>\n         }<br \/>\n         if (($sofar + strlen(urlencode(($retv . $newp)))) &lt; 950 && $jj &lt; 10 && sizeof($huhs) == 1) {<br \/>\n          $retv.=$newp;<br \/>\n          $retd=\",\";<br \/>\n          $jj++;<br \/>\n         }<br \/>\n        }<br \/>\n        } catch (Exception $exc) { }<br \/>\n    }<br \/>\n    return $retv;<br \/>\n }<br \/>\n?&gt;<br \/>\n<\/code><\/p>\n<p> &#8230; called later in the code with the <b>new block of code<\/b> as per &#8230;<\/p>\n<p><code><br \/>\n&lt;?php<br \/>\n       $urlis=urldecode($_GET['gmc']); \/\/ URL to point at template Google Chart Map Chart call for Country of interest<br \/>\n       if (strpos($urlis, ',,') !== false) {<br \/>\n       $urlis=str_replace(\",,\", urlencode($latis . \",\" . $longis . \",\"), $urlis);<br \/>\n       } else {<br \/>\n       $urlis=str_replace(urlencode(\",,\"), urlencode($latis . \",\" . $longis . \",\"), $urlis);<br \/>\n       }<br \/>\n       <b>if (isset($_GET['ccode'])) {<br \/>\n        $urlis=str_replace(\"&onclick=\", \"%20\" . urlencode(inctycodecheck(urldecode($_GET['ccode']), (strlen($urlis) + 3))) . \"&onclick=\", $urlis);  \/\/ appends to the title argument<br \/>\n       }<\/b><br \/>\nif (isset($_SERVER['HTTPS'])) {<br \/>\n    if ($_SERVER['HTTPS'] == \"on\") {<br \/>\n       header(\"Location: https:\" . $urlis);<br \/>\n    } else {<br \/>\n       header(\"Location: http:\" . $urlis);<br \/>\n    }<br \/>\n} else {<br \/>\n       header(\"Location: http:\" . $urlis);<br \/>\n}<br \/>\n       exit;<br \/>\n?&gt;<br \/>\n<\/code><\/p>\n<hr>\n<p id='ensmt'>Previous relevant <a target=_blank title='Emoji Name Search Map Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-map-tutorial\/'>Emoji Name Search Map 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\/world_flags.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Emoji Name Search Map Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/worldflags.jpg\" title=\"Emoji Name Search Map Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Emoji Name Search Map Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s posted data <a title='Emoji Name Search Posting Tutorial' href='#enspt'>Emoji Name Search Posting Tutorial<\/a> functionality opened the door to &#8220;where&#8221; web application (software) integration, because the wonderful <a target=_blank title='Wikipedia' href='http:\/\/www.wikipedia.org'>Wikipedia<\/a> has compiled Latitude,Longitude co-ordinate pairs for those countries, and that is our foot in the door to place an HTML <i>a<\/i> link under the Emoji flags, that points to our favourite &#8220;where&#8221; interfacing tool, the <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>Google Charts<\/a> <a target=_blank title='Google Chart Map Chart' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4832'>Map Chart<\/a>.<\/p>\n<p>Because the Map Chart and Emoji Flag web application share the same domain we can keep this functionality on this same Emoji Flag webpage in an &#8230;<\/p>\n<ul>\n<li>HTML iframe element <i>name=gcmi<\/i> <i>id=gcmi<\/i> initially invisible &#8230; &#8220;populated by&#8221; &#8230;<\/li>\n<li>HTML <i>a<\/i> element <i>target=gcmi<\/i> <i>href=[URL to Map Chart for Country of Interest]<\/i> <i>onclick=aoc();<\/i> &#8230;<br \/>\n<code><br \/>\nfunction aoc() {<br \/>\n   document.getElementById('gmci').style.width='450px';<br \/>\n   document.getElementById('gmci').style.height='450px';<br \/>\n   document.getElementById('gmci').style.display='inline-block';<br \/>\n}<br \/>\n<\/code>\n<\/li>\n<\/ul>\n<p>Another way to zoom around the world online!<\/p>\n<p>You can try the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html\">Emoji Flags live run<\/a> (with underlying <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html-GETME\">world_flags.html<\/a> changed <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html-GETME\">this way<\/a>) or the other Emoji functionalities that have this <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php\" title=\"Click picture\">live run<\/a> and\/or its PHP source code <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php---GETME\" title=\"emoticon_keyboard_shortcuts.php\">emoticon_keyboard_shortcuts.php<\/a> changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php---GETME\" title=\"emoticon_keyboard_shortcuts.php\">this way<\/a> to extend its software integration capabilities.<\/p>\n<hr>\n<p id='enspt'>Previous relevant <a target=_blank title='Emoji Name Search Posting Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-posting-tutorial\/'>Emoji Name Search Posting Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Emoji Name Search Posting Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.jpg\" title=\"Emoji Name Search Posting Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Emoji Name Search Posting Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a title='Emoji Name Search Tailoring Tutorial' href='#enstt'>Emoji Name Search Tailoring Tutorial<\/a> was suitable for data sets of that smaller size able to be handled by the web server limit of URL length.  But what if there are too many data items in your data set to be handled by PHP&#8217;s $_GET[] array URL ? and &#038; delimited URLs?  We, having PHP serverside code at our disposal, can turn to $_POST[] (HTML) method=POST form action=[here&#8217;sLookingAtYouKid] scenarios, to get around this issue.  The unfortunate side effect of this is that the HTML <a target=_blank title='mailto information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tryit.asp?filename=tryhtml_link_mailto'><i>mailto:<\/i><\/a> <i>a<\/i> link (email client) method of sharing your Emoji web application relies on that $_GET[] approach, that is, unless you wrote a whole &#8220;bespoke&#8221; web application to help out, like we do today for our new Emoji &#8220;World Flags&#8221; web application with this <a target=_blank title='World Flags live run' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html'>live run<\/a>, with this HTML and Javascript <a target=_blank title='World Flags live run' href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/world_flags.html_GETME'>world_flags.html<\/a> source code.<\/p>\n<p>That new &#8220;supervisor&#8221; being a guinea pig idea into the $_POST[] thinking, we add some HTML form element input type=text <i>additions<\/i> to allow for, out of &#8230;<\/p>\n<ul>\n<li>Emoji look class &#8230; and &#8230;<\/li>\n<li><i>Wording next to Emoji<\/i> &#8230; and &#8230;<\/li>\n<li><i>URL of Wording&#8217;s link, be that substituted or appended<\/i><\/li>\n<\/ul>\n<p> &#8230; <i>mapped values<\/i>, optionally, off a newly offered HTML form element input type=text for this mapped comma or blank separated word list.<\/p>\n<p>Perhaps, now, you &#8220;long data set thinkers&#8221; want to try the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php\" title=\"Click picture\">live run<\/a> and\/or its PHP source code <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php--GETME\" title=\"emoticon_keyboard_shortcuts.php\">emoticon_keyboard_shortcuts.php<\/a> changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php--GETME\" title=\"emoticon_keyboard_shortcuts.php\">this way<\/a> to extend its data set size capabilities.<\/p>\n<hr>\n<p id='enstt'>Previous relevant <a target=_blank title='Emoji Name Search Tailoring Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-tailoring-tutorial\/'>Emoji Name Search Tailoring Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Emoji Name Search Tailoring Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts_more.jpg\" title=\"Emoji Name Search Tailoring Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Emoji Name Search Tailoring Tutorial<\/p><\/div>\n<p>Information Technology is full of &#8220;buzz words&#8221;, and am sure you wince at some to all of them yourselves.  That&#8217;s a bit why am using &#8220;Tailoring&#8221; rather than &#8230;<\/p>\n<p><strike><\/p>\n<ul>\n<li>sharing<\/i>\n<li>personalization<\/li>\n<\/ul>\n<p><\/strike><\/p>\n<p> &#8230; to give you a <strike>slumber<\/strike>rest from having to look under <strike>struck through<\/strike>deleted wording to look for hidden <strike>&#8220;buzz words&#8221;<\/strike>terminology that makes your <strike>hare<\/strike>hair <strike>sit up<\/strike>stand <strike>watching<\/strike>on <strike>Bugs Bunny<\/strike>end.<\/p>\n<p>We think, perhaps, that emojis can be important for young &#8220;would be&#8221; programmers to launch into.  Personally wonder how many &#8220;would be&#8221; programmers give the game up far too soon just because they don&#8217;t have those graphics skills, well, with emojis, a lot of that hard work, in miniature, has been done for you by some pretty creative people, so why not enjoy the fruits (chortle, in context, chortle) of their labour and start developing your own web applications to use them.  Daily, their use is increasing, as are the sharing of access methods.<\/p>\n<p>In today&#8217;s extension to the functionality started with yesterday&#8217;s <a title='Emoji Name Search Primer Tutorial' href='#enspt'>Emoji Name Search Primer Tutorial<\/a> we separate the <a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a> aspects to how it works and allow the user to &#8230;<\/p>\n<ul>\n<li>supply an Emoji Word List of interest<\/li>\n<li>perhaps supply a heading and subheading to describe the &#8220;concept&#8221; of that list<\/li>\n<li>supply either a &#8230;\n<ol>\n<li>URL prefix &#8230; or &#8230;<\/li>\n<li>URL with the ~ (tilde) character where you want, substituted, your emoji name<\/li>\n<\/ol>\n<p> &#8230; to be a navigation destination in that similar new window navigation we used to access <a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a> &#8230;\n<\/li>\n<li>presenting all this in an HTML form action=[here&#8217;sLookingAtYouKid] method=GET &#8230; <\/li>\n<li>that method=GET opening the door to be able to offer an email client engine method to <strike>&#8220;share&#8221;<\/strike>email somebody the link to a screen that looks like the one you&#8217;re seeing<\/li>\n<\/ul>\n<p>Of course, we&#8217;d like you to find some of your own such Emoji Display Dynamically Created Web Applications yourself, but to encourage, we, in the web application, today, identified two ideas, namely &#8230;<\/p>\n<ul>\n<li>Fruit and Vegetables via Wikipedia at <a target=_blank title='Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/'>https:\/\/en.wikipedia.org\/wiki\/<\/a> as a prefix &#8230; and &#8230;<\/li>\n<li>Astrology via Cafe Astrology at <u>https:\/\/cafeastrology.com\/~dailyhoroscope.html<\/u> via ~ (tilde) character substitution<\/li>\n<\/ul>\n<p> &#8230; each of which (and any you make will also) feature a link to the HTML <a target=_blank title='mailto information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tryit.asp?filename=tryhtml_link_mailto'><i>mailto:<\/i><\/a> <i>a<\/i> link out through the email client and to your recipient who can click the email link to <strike>&#8220;share&#8221;<\/strike><a target=_blank title='?' href='https:\/\/www.youtube.com\/watch?v=civzfZ_3uVc'>compare notes<\/a>.<\/p>\n<p>Perhaps, now, you want to try the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php\" title=\"Click picture\">live run<\/a> and\/or its PHP source code <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php-GETME\" title=\"emoticon_keyboard_shortcuts.php\">emoticon_keyboard_shortcuts.php<\/a> changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php-GETME\" title=\"emoticon_keyboard_shortcuts.php\">this way<\/a> to extend its functionality, involving a <a target=_blank title='Reveal blog postings at this blog' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/reveal'>reveal<\/a> favourite of ours, the use of HTML(5)&#8217;s <a target=_blank title='HTML details tag information from w3schools' href='https:\/\/www.w3schools.com\/tags\/tag_details.asp'>details<\/a> (and summary) element.<\/p>\n<p>You can also see this play out at WordPress 4.1.1&#8217;s <a target=_blank  href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-tailoring-tutorial\/'>Emoji Name Search Tailoring Tutorial<\/a>.<\/p>\n<hr>\n<p id='enspt'>Previous relevant <a target=_blank title='Emoji Name Search Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/emoji-name-search-primer-tutorial\/'>Emoji Name 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\/PHP\/emoticon_keyboard_shortcuts.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Emoji Name Search Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.jpg\" title=\"Emoji Name Search Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Emoji Name Search Primer Tutorial<\/p><\/div>\n<p>We got quite excited recently with <a title='Rainbow Games PHP Emoji Tutorial' href='#rgphpet'>Rainbow Games PHP Emoji Tutorial<\/a> when we added a (fourth Beatle) <i>emoji helper<\/i>, called <a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a>, into the mix of tools to gather emoji information.  Today, we&#8217;ve got a new Emoji Search web application that introduces a new (<a target=_blank title='Pete Best information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Fifth_Beatle'>fifth Beatle(?)<\/a>) <b>emoji helper tool<\/b> to add into the &#8220;how we see it&#8221; mix below &#8230;<\/p>\n<ul>\n<li><a target=_blank title='Emojipedia' href='http:\/\/www.emojipedia.org'>Emojipedia<\/a> is good for looking up Emoji names or concepts in words<\/li>\n<li><a target=_blank title='FileFormation Information website' href='http:\/\/www.fileformat.info'>FileFormat Information<\/a> is great for HTML Entity determinations for your less complex Emojis<\/li>\n<li><a target=_blank title='Iemoji website' href='http:\/\/www.iemoji.com'>Iemoji<\/a> is great for HTML Entity determinations for Emojis of all complexities<\/li>\n<li><i><a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a> performs similar functionality as Iemoji but has a permalink organization more friendly to an &#8220;emoji search via emoji title&#8221; query, and that has suited our purposes today, and before, so, thanks a lot<\/i><\/li>\n<li><b><a target=_blank title='Iemoji website' href='https:\/\/afeld.github.io\/emoji-css\/'>Emoji CSS<\/a> performs similar functionality to Emojipedia, but has a pictorial view of Emoji names as well, right from the word go, thanks<\/b><\/li>\n<\/ul>\n<p>With these emoji tools in mind we wrote a new PHP web application combining those last two to show Emojis pictorially (with their short name) initially and allow the user to search for an Emoji (match) list via their HTML input type=text (textbox) entry, which results in &#8230;<\/p>\n<ul>\n<li>the Emoji (match) list look (as an Emoji &#8220;display&#8221;) &#8230; and &#8230;<\/li>\n<li>an HTML <i>a<\/i> link which is that Emoji&#8217;s short name &#8230; linking to &#8230;<\/li>\n<li>an <a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a> webpage with more detail, including HTML Entity information if &#8220;short name&#8221; is unique, or one extra click away, if not<\/li>\n<\/ul>\n<p>Maybe you need to try the <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php\" title=\"Click picture\">live run<\/a> and\/or its PHP source code <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/emoticon_keyboard_shortcuts.php_GETME\" title=\"emoticon_keyboard_shortcuts.php\">emoticon_keyboard_shortcuts.php<\/a> to download, perhaps?<\/p>\n<hr>\n<p id='rgphpet'>Previous relevant <a target=_blank title='Rainbow Games PHP Emoji Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/rainbow-games-php-emoji-tutorial\/'>Rainbow Games PHP Emoji 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\/emoji_walk_animation.htm\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Rainbow Games PHP Emoji Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation_php.jpg\" title=\"Rainbow Games PHP Emoji Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Rainbow Games PHP Emoji Tutorial<\/p><\/div>\n<p>In order to take that further genericization step onto the achievements of yesterday&#8217;s <a title='Rainbow Games Genericization Tutorial' href='#rggt'>Rainbow Games Genericization Tutorial<\/a> to <b>get onto<\/b> (the mathematics Induction principle inspired) &#8230;<\/p>\n<ul>\n<li>prove for the first case<\/li>\n<li>prove for the second case<\/li>\n<li><b>prove for the n<sup>th<\/sup> case<\/b><\/li>\n<\/ul>\n<p> &#8230; we had a choice of &#8230;<\/p>\n<ul>\n<li>continue on (with) the HTML code creation of new &#8220;hardcoded&#8221; arrays (managed by Javascript eval abstractional approach) &#8230; or &#8220;bite the bullet&#8221; and &#8230;<\/li>\n<li>try to work out a generic &#8220;emoji look<font size=1>erer<\/font> up<font size=1>perer<\/font>&#8221; arrangement<\/li>\n<\/ul>\n<p>Guess you can tell we opted for the latter, huh?!  We started the investigation of this by examining our three favourite emoji informational websites, namely &#8230;<\/p>\n<ol>\n<li><a target=_blank title='Emojipedia' href='http:\/\/www.emojipedia.org'>Emojipedia<\/a><\/li>\n<li><a target=_blank title='FileFormation Information website' href='http:\/\/www.fileformat.info'>FileFormat Information<\/a><\/li>\n<li><a target=_blank title='Iemoji website' href='http:\/\/www.iemoji.com'>Iemoji<\/a><\/li>\n<\/ol>\n<p> &#8230; and were a bit surprised that we could not quite swing a generic method to glean the information, so don&#8217;t know whether our new &#8220;player&#8221; is &#8220;Ringo Starr&#8221; or not, but can tell you this, &#8220;its beat is much better than its bite&#8221; &#8230; <font size=1>chortle, chortle<\/font> &#8230;<\/p>\n<p><a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a> performs similar functionality as Iemoji but has a permalink organization more friendly to an &#8220;emoji search via emoji title&#8221; query, and that suits our purposes today, so, thanks a lot.  Without this query by &#8220;emoji title&#8221; possibility we&#8217;d have been forced to adopt more of those &#8220;hardcoded&#8221; arrays, which would have been alright, but this second approach opens the door to &#8220;sport&#8221; events in &#8220;The Rainbow Games&#8221; web application using emojis of the future (ie. they haven&#8217;t been invented yet).<\/p>\n<p>How to work the interfacing to <a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com'>Emoji Terra<\/a>?<\/p>\n<ul>\n<li>good ol&#8217; PHP serverside language<\/li>\n<li>good ol&#8217; PHP&#8217;s <a target=_blank title='file_get_contents' href='http:\/\/us1.php.net\/file_get_contents'>file_get_contents<\/a> (supplemented by)<\/li>\n<li>good newish &#8220;PHP Source File as the Database Source&#8221; we&#8217;ve talked about in the past with <a target=_blank title='PHP Require Database Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/php-require-database-primer-tutorial\/'>PHP Require Database Primer Tutorial<\/a> and <a target=_blank href='https:\/\/www.rjmprogramming.com.au\/ITblog\/signature-signature-php-tutorial\/' title='Signature Signature PHP Tutorial'>Signature Signature PHP Tutorial<\/a> whereby the PHP Source File updates itself with web application data<\/li>\n<\/ul>\n<p>This new PHP <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_lookup.php_GETME\" title=\"emoji_lookup.php\">emoji_lookup.php<\/a> treats the &#8220;<b>prove for the n<sup>th<\/sup> case<\/b>&#8221; sports as ones to &#8230;<\/p>\n<ul>\n<li>look up the emoji information for (in the order &#8220;PHP Source File as the Database Source&#8221; then try <a target=_blank title='file_get_contents' href='http:\/\/us1.php.net\/file_get_contents'>file_get_contents<\/a> of Emoji Terra lookup), and &#8230;<\/li>\n<li>read the HTML partner source code <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.htm\" title=\"Click picture\">live run<\/a>&#8216;s underlying HTML and Javascript and CSS <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html---GETME\" title=\"emoji_walk_animation.htm\">emoji_walk_animation.htm<\/a> (which changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html---GETME\" title=\"emoji_walk_animation.html\">this way<\/a>)<\/li>\n<li>amend that HTML source to supplant the &#8220;Sprint&#8221; default sport for this new nominated sport <font size=1>&#8230; trying not to fall over laughing at some of the new sports we present (inspired by a visit to <a target=_blank title='Emoji Terra' href='http:\/\/www.emojiterra.com\/search\/woman'>Emoji Terra search<\/a>)<\/font><\/li>\n<li>write out that amended HTML code as the web page (the beauty of a serverside language like PHP)<\/li>\n<\/ul>\n<p>The more detailed specifics of the <i><a target=_blank title='file_get_contents' href='http:\/\/us1.php.net\/file_get_contents'>file_get_contents<\/a> of Emoji Terra lookup<\/i> above are &#8230;<\/p>\n<ul>\n<li>build up a URL starting with <i>HTTP:\/\/emojiterra.com\/<\/i> &#8230; then &#8230;<\/li>\n<li>in emoji<i>land<\/i> arrangements there are two genders (as our prefixes if you will) &#8230; <i>woman-<\/i> and <i>man-<\/i><\/li>\n<li>then add on a &#8220;middle&#8221; sport descriptor (eg. <i>biking<\/i>)<\/li>\n<li>in emoji<i>land<\/i> emoticon<i>land<\/i> arrangements there are five descriptors (as our suffixes if you will) &#8230; <i>-dark-skin-tone<\/i>, <i>-medium-dark-skin-tone<\/i>, <i>-medium-skin-tone<\/i>, <i>-medium-light-skin-tone<\/i>, <i>-light-skin-tone<\/i><\/li>\n<li>for that set of 2x1x5=10 URLs glean what &#8220;HTML dec&#8221; (HTML Entity) information you can glean via the <a target=_blank title='file_get_contents' href='http:\/\/us1.php.net\/file_get_contents'>file_get_contents<\/a> call of the Emoji Terra URLs described above (eg. <a target=_blank title='' href='http:\/\/emojiterra.com\/woman-biking-dark-skin-tone'>Emoji: Woman Biking: Dark Skin Tone<\/a>) &#8230; built into a <i>Javascript array<\/i> string to &#8220;plug into&#8221; the previously read HTML partner source code, and amended to output as the web page the user sees<\/li>\n<\/ul>\n<p>Sports of the future in emoji<i>land<\/i>?  Just ask for the equivalent of <i>biking<\/i> (above) off the user via a Javascript prompt window (on the proviso you read <a target=_blank title='Conditional Alternative to Javascript Popup Windows in iOS Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/conditional-alternative-to-javascript-popup-windows-in-ios-tutorial\/'>Conditional Alternative to Javascript Popup Windows in iOS Tutorial<\/a> first please).<\/p>\n<hr>\n<p id='rggt'>Previous relevant <a target=_blank title='Rainbow Games Genericization Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/rainbow-games-genericization-tutorial\/'>Rainbow Games Genericization 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\/emoji_walk_animation.htm\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Rainbow Games Genericization Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation_row.jpg\" title=\"Rainbow Games Genericization Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Rainbow Games Genericization Tutorial<\/p><\/div>\n<p>What would help genericize the recent <a title='Rainbow Games Double Transformation Tutorial' href='#rgdtt'>Rainbow Games Double Transformation Tutorial<\/a> &#8220;Rainbow Games&#8221; web application?   How about introducing another sport?<\/p>\n<p>Again, in honour of &#8220;onions of the 4th dimension&#8221; approaches, we mainly, turn to the power of Javascript&#8217;s <a target=_blank href='http:\/\/www.w3schools.com\/jsref\/jsref_eval.asp' title='Javascript eval'>eval<\/a> methodology to achieve this <a target=_blank title='Abstraction information from Wikipedia, thanks.' href='https:\/\/en.wikipedia.org\/wiki\/Abstraction'>abstracted<\/a> feeling to our web application.  Today, with this, we go <b>two thirds<\/b> of the way along the &#8220;Mathematical Induction&#8221; approach &#8230;<\/p>\n<ul>\n<li><b>prove for the first case<\/b><\/li>\n<li><b>prove for the second case<\/b><\/li>\n<li>prove for the n<sup>th<\/sup> case<\/li>\n<\/ul>\n<p>How does this use of Javascript eval manifest itself in this way?<\/p>\n<ul>\n<li>there are two arrays that work with the &#8220;content&#8221; of our &#8220;Rainbow Games&#8221; sport(s) (<font size=1>well, at least, the first &#8220;sprint running&#8221; sport<\/font>) called <i>emoticons[]<\/i> and <i>choices[]<\/i><\/li>\n<li>wherever we find references in the code to either of these two arrays we start to <b>involve<\/b> the global var<font size=1>iable<\/font> <b>verbsuffix<\/b> &#8230;<br \/>\n<code><br \/>\nvar verb='Sprint';<br \/>\nvar verbs=['Sprint','Row'];<br \/>\nvar anotherverb='run';<br \/>\n<b>var verbsuffix='';<\/b><br \/>\n<\/code><br \/>\n &#8230; in <b>altered<\/b> ways like &#8230;<br \/>\n<code><br \/>\nfunction plus(ih,ihep) {<br \/>\n  var outihep=ihep;<br \/>\n  if (<b>eval(\"<\/b>emoticons<b>\" + verbsuffix + \"<\/b>[<b>\" + <\/b>ih<b> + \"<\/b>]<b>\")<\/b>.indexOf('&lt;p&gt;') != -1) {<br \/>\n    outihep += ' (' + <b>eval(\"<\/b>emoticons<b>\" + verbsuffix + \"<\/b>[<b>\" + <\/b>ih<b> + \"<\/b>]<b>\")<\/b>.split('&lt;p&gt;')[1].split('&lt;')[0] + ')';<br \/>\n  }<br \/>\n  return outihep;<br \/>\n}<br \/>\n<\/code><br \/>\n &#8230; in that <i>abstracted<\/i> way &#8230; noting that sometimes you don&#8217;t need the &#8220;eval()&#8221; encasings &#8230;\n<\/li>\n<li>and so, working through the code this way it just falls to the coder to define new members for all the arrays for all the new sports (ours is &#8220;rowing&#8221; today), some of those new arrays (like for rowing are <i>emoticonsrowing[]<\/i> and <i>choicesrowing[]<\/i>) to involve &#8230;<\/li>\n<li>looking up emoji definitions from &#8230;\n<ol>\n<li><a target=_blank title='Emojipedia' href='http:\/\/www.emojipedia.org'>Emojipedia<\/a><\/li>\n<li><a target=_blank title='FileFormation Information website' href='http:\/\/www.fileformat.info'>FileFormat Information<\/a><\/li>\n<li><a target=_blank title='Iemoji website' href='http:\/\/www.iemoji.com'>Iemoji<\/a><\/li>\n<\/ol>\n<p>&#8230; not forgetting to &#8230;\n<\/li>\n<li>make sure the event logics work for multiple sport scenarios &#8230; but mostly they do by sticking to the principles above &#8230; especially for the &#8230;<\/li>\n<li>new HTML select (dropdown) element allows the user to pick a sport<\/li>\n<\/ul>\n<p>Remaining a work in progress, you can try out our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.htm\" title=\"Click picture\">live run<\/a> link that has underlying HTML and Javascript and CSS <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html--GETME\" title=\"emoji_walk_animation.htm\">emoji_walk_animation.htm<\/a>, and which changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html--GETME\" title=\"emoji_walk_animation.html\">this way<\/a> regarding today&#8217;s genericization work.  We hope it gives you food for thought.<\/p>\n<hr>\n<p id='rgdtt'>Previous relevant <a target=_blank title='Rainbow Games Double Transformation Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/rainbow-games-double-transformation-tutorial\/'>Rainbow Games Double Transformation 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\/emoji_walk_animation.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Rainbow Games Double Transformation Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation_dt.jpg\" title=\"Rainbow Games Double Transformation Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Rainbow Games Double Transformation Tutorial<\/p><\/div>\n<p>We were on the &#8220;road to personalization&#8221; for the web application game we started with yesterday&#8217;s <a title='Rainbow Games Primer Tutorial' href='#rgpt'>Rainbow Games Primer Tutorial<\/a> when &#8220;an old chestnut&#8221; came up again.  It&#8217;s happened before, the desire to &#8220;double transform&#8221; in CSS came about from our emoji &#8230; <\/p>\n<table>\n<tr>\n<td style='font-size:36px;'>&#127939;&#127998;&#8205;&#9792;&#65039;<\/td>\n<\/tr>\n<\/table>\n<p> &#8230; table cell <i>mirroring<\/i> styling as per &#8230;<\/p>\n<p><code><br \/>\n&lt;style&gt;<br \/>\n* { overflow-x: visible; }<br \/>\n<br \/>\nselect { font-size: 36px; }<br \/>\n<br \/>\ntd.runner { width: 50px; word-wrap: break-word; font-size: 36px;<br \/>\n     <i>transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1);<\/i><br \/>\n        }   \/\/ <\/p>\n<table>\n<tr>\n<td style='font-size:36px;transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1);'>&#127939;&#127998;&#8205;&#9792;&#65039;<\/td>\n<\/tr>\n<\/table>\n<p>tr { max-height: 40px; }<br \/>\n&lt;\/style&gt;<br \/>\n<\/code><\/p>\n<p> &#8230; necessary to make our running emojis run from left to right (that, alas, also transformed any accompanying &#8230; <\/p>\n<table>\n<tr>\n<td style='font-size:36px;transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1);'>&#127939;&#127998;&#8205;&#9792;&#65039; <\/p>\n<p style=\"display: block; font-size: 12px;-\">Florence<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p> &#8230; name), was added to in <b>this double transformational clause<\/b> to prove what this <a target=_blank title='Great link, thanks' href='https:\/\/stackoverflow.com\/questions\/5406368\/can-you-use-css-to-mirror-flip-text'>wonderful web page<\/a> advice had to say.  In other words, a &#8220;double transform&#8221; CSS styling scenario like the one below &#8230;<\/p>\n<p><code><br \/>\n&lt;style&gt;<br \/>\n* { overflow-x: visible; }<br \/>\n<br \/>\nselect { font-size: 36px; }<br \/>\n<br \/>\ntd.runner { width: 50px; word-wrap: break-word; font-size: 36px;<br \/>\n     <i>transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1);<\/i><br \/>\n        }<br \/>\ntr { max-height: 40px; }<br \/>\n<br \/>\n<b>p {<br \/>\n    display: block;<br \/>\n    font-size: 12px;<br \/>\n    -webkit-transform: matrix(-1, 0, 0, 1, 0, 0);<br \/>\n    -moz-transform: matrix(-1, 0, 0, 1, 0, 0);<br \/>\n    -o-transform: matrix(-1, 0, 0, 1, 0, 0);<br \/>\n    transform: matrix(-1, 0, 0, 1, 0, 0);<br \/>\n}  <\/b>  \/\/ <\/p>\n<table style='width:50px;'>\n<tr style='width:50px;'>\n<td style='width:50px;font-size:36px;transform: scale(-1, 1); -o-transform: scale(-1, 1); -moz-transform: scale(-1, 1); -ms-transform: scale(-1, 1); -webkit-transform:  scale(-1, 1);'>&#127939;&#127998;&#8205;&#9792;&#65039; <\/p>\n<p style=\"display: block; font-size: 12px;-webkit-transform: matrix(-1, 0, 0, 1, 0, 0);-moz-transform: matrix(-1, 0, 0, 1, 0, 0);-o-transform: matrix(-1, 0, 0, 1, 0, 0);transform: matrix(-1, 0, 0, 1, 0, 0);\">Florence<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p>&lt;\/style&gt;<br \/>\n<\/code><\/p>\n<p> &#8230; works as a &#8220;double transform&#8221; to first &#8230;<\/p>\n<ul>\n<li>mirror (image) flip the table cell (td) emoji data &#8230; but us appending some &#8220;Runner Name&#8221; textual data underneath also, annoyingly, got flipped  until &#8230;<\/li>\n<li>within that (same) table cell (td) element and after the emoji data we append an HTML <a target=_blank title='HTML p tag information from w3schools' href='https:\/\/www.w3schools.com\/tags\/tag_p.asp'>p<\/a>(aragraph) element to both &#8230;\n<ol>\n<li>introduce a new HTML element type into the (CSS styling) mix &#8230; and to &#8230;<\/li>\n<li>introduce a new CSS transformation type, the matrix &#8230; perhaps either or both new parts to the problem critical to its success when, believe me, lots of other approaches don&#8217;t work<\/li>\n<\/ol>\n<\/ul>\n<p> &#8230; to personalize the &#8220;runners&#8221; and &#8220;users&#8221;, optionally, &#8220;into the game&#8221;, by allowing the &#8220;user&#8221; to name their &#8220;runners&#8221; and allow for a &#8220;runner energy&#8221; setting be a bit randomized, to add for some other interest &#8220;variety&#8221; to the game&#8217;s workings.  So, still a work in progress that you can try out at our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html\" title=\"Click picture\">live run<\/a> link that has underlying HTML and Javascript and CSS <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html-GETME\" title=\"emoji_walk_animation.html\">emoji_walk_animation.html<\/a>, and which changed in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html-GETME\" title=\"emoji_walk_animation.html\">this way<\/a> regarding today&#8217;s work.<\/p>\n<hr>\n<p id='rgpt'>Previous relevant <a target=_blank title='Rainbow Games Primer Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/rainbow-games-primer-tutorial\/'>Rainbow Games 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\/emoji_walk_animation.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Interesting Places Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.jpg\" title=\"Rainbow Games Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Rainbow Games Primer Tutorial<\/p><\/div>\n<p>It&#8217;s been a while since we&#8217;ve written any conventional HTML and Javascript and CSS game.  Today&#8217;s game uses the &#8220;emoticon&#8221; section of the Emoji character set, defaulting so far, to the &#8220;running woman&#8221; emoji featuring in <a target=_blank title='Compound Emoji WordPress Usage Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/compound-emoji-wordpress-usage-tutorial\/'>Compound Emoji WordPress Usage Tutorial<\/a>.<\/p>\n<p>It&#8217;s the early days of our &#8220;Rainbow Games&#8221; web application, and we&#8217;re starting with the animation featuring horizontal hashtag navigation techniques for a running race start to our game.  Where it finishes?  Hard to say! Today, we&#8217;ve looked at &#8220;splits&#8221; and a finish line.<\/p>\n<p>You can try out our burgeoning <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html\" title=\"Click picture\">live run game concept<\/a> link that has underlying HTML and Javascript and CSS <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/emoji_walk_animation.html_GETME\" title=\"emoji_walk_animation.html\">emoji_walk_animation.html<\/a>.<\/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='#d35745' onclick='var dv=document.getElementById(\"d35745\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/game\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d35745' 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='#d35768' onclick='var dv=document.getElementById(\"d35768\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/transformation\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d35768' 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='#d35879' onclick='var dv=document.getElementById(\"d35879\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/eval\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d35879' 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='#d35937' onclick='var dv=document.getElementById(\"d35937\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/file_get_contents\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d35937' 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='#d36261' onclick='var dv=document.getElementById(\"d36261\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/emoji\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d36261' 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='#d36272' onclick='var dv=document.getElementById(\"d36272\"); 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='d36272' 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='#d36311' onclick='var dv=document.getElementById(\"d36311\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/post\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d36311' 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='#d36342' onclick='var dv=document.getElementById(\"d36342\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/iframe\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d36342' 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='#d36381' onclick='var dv=document.getElementById(\"d36381\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/timezone\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d36381' 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='#d36392' onclick='var dv=document.getElementById(\"d36392\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/software\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d36392' 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='#d36404' onclick='var dv=document.getElementById(\"d36404\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/weather\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d36404' 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='#d37462' onclick='var dv=document.getElementById(\"d37462\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/geographicals\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d37462' 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='#d37486' onclick='var dv=document.getElementById(\"d37486\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/clipboard\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d37486' 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='#d37507' onclick='var dv=document.getElementById(\"d37507\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/csv\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d37507' 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='#d37729' onclick='var dv=document.getElementById(\"d37729\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/background\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d37729' 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='#d37748' onclick='var dv=document.getElementById(\"d37748\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/attachment\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d37748' 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='#d37769' onclick='var dv=document.getElementById(\"d37769\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/post\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d37769' 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='#d37791' onclick='var dv=document.getElementById(\"d37791\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/ipad\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d37791' 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='#d37820' onclick='var dv=document.getElementById(\"d37820\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/iframe\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d37820' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve got a Google Chart Map Chart Interfacing 101A-Z class for you today, building on yesterday&#8217;s Google Chart Email Attachment Mobile Tutorial &#8230; We&#8217;re working towards trying to make the HTML coming off an email attachment (of a mobile device&#8217;s &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/google-chart-email-attachment-protocol-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":[111,126,127,174,199,214,1707,2531,265,283,380,481,513,518,587,590,2532,626,630,2533,2020,745,2126,795,796,876,907,932,944,970,997,1002,1866,1168,1319],"class_list":["post-37820","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-tutorials","tag-attachment","tag-background","tag-background-image","tag-button","tag-chart","tag-clipboard","tag-co-ordinates","tag-comma-separated-values","tag-copy","tag-csv","tag-email","tag-geographicals","tag-google","tag-google-chart","tag-iframe","tag-image","tag-include","tag-ios","tag-ipad","tag-line-feed","tag-linear-gradient","tag-map","tag-map-chart","tag-mobile","tag-mobile-app","tag-opacity","tag-paste","tag-php","tag-pie-chart","tag-post","tag-programming","tag-protocol","tag-select","tag-software-integration","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/37820"}],"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=37820"}],"version-history":[{"count":7,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/37820\/revisions"}],"predecessor-version":[{"id":37827,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/37820\/revisions\/37827"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=37820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=37820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=37820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}