Weโve continued on our journey into the โwhenโ and โwhereโ of our new timezone web application today by focussing on its abilities to help as a trip planner. We are surrounded by Google โsmartsโ today, and we thank them for โฆ
- Google Charts functionality
- Google Maps โฆ in particular, the โGet Directionsโ brilliance
โฆ because we figure, since yesterday, with HTML/PHP Timezone Feed Google Chart Map Tutorial as shown below, the involvement of Wikipedia, with this really useful link under the auspices of our PHP, then lead to the HTML of this web application benefitting from this intelligence, so that, now, this HTML can โjoin the clubโ of those weโve lately been adding to the list of web applications to use โClient Pre-emptive Iframeโ techniques โฆ perhaps you were here earlier this week for the last tutorial on this topic called Client Pre-emptive Iframe Crontab Curl Daily Tutorial. This comes about because the wbits.html interim file we derive from the Wikipedia data sits on the server, and can now be accessed by todayโs web application HTML via an HTML iframe element whose workings are not affected by any cross-domain issues. If you are wondering why? It is because this data has all we need for a Trip Planner, as it has โฆ
- Time Zone ID information, from which place names can be derived
- Latitude and Longitude geographical information
- Personality โฆ but we digress
So we add the concept of a โToโ place name to the mix, use all the information โsmartsโ, and the Google Charts onclick event functionality shown at PHP/Javascript/HTML Google Chart Map Onclick Tutorial, and voila โฆ a Trip Planner of sorts โฆ no money though โฆ awwwwwwww!!! Never mind.
All those map lovers and appreciators of โWhereโ meeting โWhenโ may find it interesting to again try a liverun, and or peruse the code as per โฆ
- HTML/Javascript source code daylight_saving_time
html (changed from yesterday as per thislink) โฆ supervising โฆ but needing โฆ
- PHP source code daylight_saving_time
php (changed from yesterday as per thislink) โฆ because the recent โClient Pre-emptive Iframeโ thoughts donโt work so well for the cross-domain requirements that GoMashupโs RSS feed and Wikipedia data presents to us
We hope you again enjoy thinking about time and space and maps and trips and holidays maybe โฆ and maybe some things that we can share in common.
Previous relevant HTML/PHP Timezone Feed Google Chart Map Tutorial is shown below.
Yesterday we started on our journey into the โwhenโ and โwhereโ of our new timezone web application when we presented HTML/PHP Timezone Feed Primer Tutorial as shown below. Today we delve into more sources of data to augment yesterdayโs GoMashup (thanks) source. And โwhyโ is that? Well, we want to further contextualize the โwhereโ of the web application by offering to show a representative map of a locality within the relevant Timezone on a map of the Earth. To do this, we can use the Google Charts Map Chart, as weโve discussed earlier. That is the โwhatโ (we use) about the scenario, but โhowโ about the โhowโ? We need a data source that links Timezone names with geographical latitude and longitude information, which the GoMashup data does not contain. Luckily, the wonderful Wikipedia came to the rescue with this really really useful link, so yet again, thanks Wikipedia!
The use of maps can help contextualize where we live and in any given Timezone of interest, you will find an east/west commonality for Timezone places, with possibly a lot of variation in north/south to places that have a common Timezone. As you probably learnt in school geography, this can mean a vast difference in climate from the cold polar regions (of really high or really low latitudes) to the warm and humid equatorial regions near the equator at zero degrees latitude.
But people of the same Timezone, may, for instance, share โฆ
- pet cat feeding times
- pet dog walking times
- dinner meal times
- start work and end work times
- ceremony times
We here in Sydney (with our cats) share โtimeโ with people in Vladivostok, in Russia (with their cats) for instance. Am sure, though, that these cats are not sharing any fur coats?!
Again, todayโs work has that special treat of combining โWhereโ and โWhenโ in its themes, and think you may find it interesting to again try a liverun, and or peruse the code as per โฆ
- HTML/Javascript source code daylight_saving_time
html (changed from yesterday as per thislink) โฆ supervising โฆ but needing โฆ
- PHP source code daylight_saving_time
php (changed from yesterday as per thislink) โฆ because the recent โClient Pre-emptive Iframeโ thoughts donโt work so well for the cross-domain requirements that GoMashupโs RSS feed and Wikipedia data presents to us
We hope you again enjoy thinking about time and space and maps โฆ and maybe some things that we all share in common.
Previous relevant HTML/PHP Timezone Feed Primer Tutorial is shown below.
Today we delve into timezone web applications using RSS feed data, in our case courtesy of Gomashup โฆ thanks.
Maybe you are good with timezones, as you make a lot of International phone calls, and get used to it, but there are a lot of exceptions to the geographical (ie. longitudinal position) logic for several reasons like โฆ
- daylight saving
- political decisions (especially around the International Date Line (180ยฐE and 180ยฐW) โฆ ie. the opposite longitude to Greenwich (as of Greenwich Mean Time), which is at at 0ยฐE and 0ยฐW)
โฆ plus we all know that โwhen you are having funโ โฆ well, you know what we mean?!
So all those interruptions to the longitudinal way the time should be, in any given longitudinal place on Earth, needs to get a name, so the international convention gives a Region/PlaceIdentifier type of TimeZoneID, and so, even though we offer a finder of your TimeZoneID from our web application today, donโt count on finding it that way, because the places used as TimeZoneID PlaceIdentifiers are sometimes quite obscure, or at least to those โnot in the knowโ I guess โฆ but my favourite so far has been โAmerica/Indiana/Tell_Cityโ, as I hadnโt heard of Tell City before doing this web application โฆ glad to meet you in code, Tell City, Indiana, USA.
Todayโs work has that special treat of combining โWhereโ and โWhenโ in its themes, and think you may find it interesting to try a liverun, and or peruse the code as per โฆ
- HTML/Javascript source code daylight_saving_time
html โฆ supervising โฆ but needing โฆ
- PHP source code daylight_saving_time
php โฆ because the recent โClient Pre-emptive Iframeโ thoughts donโt work so well for the cross-domain requirements that GoMashupโs RSS feed and Wikipedia data source presents to us
Thinking back on it, it stands to reason some aspects of โWhereโ are intertwined with โWhenโ by where we live โฆ doh!
Anyway, hope you enjoy thinking about time and space โฆ and all that. It is a topic of huge interest to those people out there trying to Internationalize their websites.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
14 Responses to HTML/PHP Timezone Feed Trip Planner Tutorial