In new features, I added a location provider which will, instead of looking up the browser location, will use the location in your user profile. I also added an endpoint to update the user location so I can set up a macro on my phone to trigger an update whenever I want. Finally, if you are logged in, you can now see location on private posts.
Simple Location Version 3.5.0 Released
The new version completely redesigns the interface inside the post editor to work in both classic and Gutenberg. It doesn’t integrate with Gutenberg in any way. It relies on Gutenberg’s compatibility functionality. Because of that, the box with the Gutenberg settings is now in the sidebar, rather than below, and expands to show the various options.
The interfaces with weather APIs like DarkSky and OpenWeatherMap were reorganized to improve the quality of the return data. And all data will be stored going forward in international units. While I am a Fahrenheit and Feet user, most of the world isn’t. So everything will be converted on the fly for display for those of us in the imperial system, making it much less fragile. Flip a setting and it changes.
Simple Location uses the WordPress REST API, and there are new endpoints for frontend use. The geocoding endpoint now has an option to return the weather as part of the lookup instead of requiring a second request. New abilities to lookup by airport code are also built in, mostly for the current conditions widgets. This will be fully functional in a future version.
For those of you worried about hitting or being charged for API usage on commercial sites, I added a simple weather provider courtesy of the U.S. National Weather Service. This will only work with locations inside the United States. It finds the nearest NWS Weather Station to you and uses the current conditions from that location.
There is a new Weather Station widget, split from the other Weather Widget, which allows you to display from a specific station.
There are a lot of good features here, but there will be more in future. So try it out.
- Indigenous for Android can add Location from a phone, and my code does reverse geocoding to look up the location name and weather
- On the Browser, HTML5 geolocation is used to get the location.
But the problem is that HTML5 geolocation is often wrong, and for automatic posts, there is no way but IP address location, also often wrong, to get accurate data.
The easiest way to solve is for me to run a server to store my location and query it, but I’m not ready to do that. So, I wrote a quick hack to interface with my home automation system, which does geofencing on my location. But its not ideal.
So, I have two efforts I want to do:
- I’m going to add a webhook so my site can receive updates from my phone and save them…so I can press a button on my phone and send the info while I’m writing, using a simple web query. I have an HTTP shortcut app for this.
- Look into adding a dummy location provider that always returns something.
I wrote into my site the ability to query any API for the location. Anyone have one I can use?
I previously added /kind/photo/2018/12 – Date(year, month, and day) archives for my post kinds. As well as the ability to pull a tag archive of some, such as.. /kind/photo/parkeologychallenge .
Available on all Post Kinds enabled sites right now.
There were 46 rides running at Walt Disney World. Was it possible to hit them all — Epcot, Hollywood Studios, Animal Kingdom and the juggernaut Magic Kingdom — in a single day?
Parkeology Challenge November 2018
In order for the people who run Parkeology to certify the results, you have to provide a Twitter record of same. That was handled by one of my four teammates, but I kept a recording on my site of all of the locations I was in. This would be my timeline for the day. The pictures are backed up from the original challenge.
To see the individual posts, you can click here.
- 5:45AM – Wake up
- 6:30AM – Leave hotel room
- 6:56AM – Transportation and Ticket Center
- 7:25AM – Arrive Magic Kingdom Park – Opening not till 7:45AM
- 7:55AM – Ride 1 Main Street Vehicles
- 8:51AM – Disney’s Animal Kingdom
- 9:13AM – Ride 2 Avatar Flight of Passage
- 10:19AM – Ride 3 Kilimanjaro Safari
- 10:58AM – Ride 4 Kali River Rapids
- 11:20AM – Ride 5 Na’vi River Journey
- 11:42AM – Ride 6 Primeval Whirl
- 12:09PM – Ride 7 Triceratops Spin
- 12:23PM – Ride 8 Dinosaur
- 12:55PM – Ride 9 Expedition Everest
- 1:31PM – Arrive Hollywood Studios
- 1:40PM – Ride 10 Toy Story Mania
- 2:12PM – Ride 11 Twilight Zone Tower of Terror
- 2:35PM – Ride 12 Rock ‘N’ Roller Coaster
- 3:11PM – Ride 13 Slinky Dog Dash
- 3:31PM – Ride 14 Star Tours
- 3:54PM – Ride 15 Alien Swirling Saucers
- 4:48PM – Return to the Transportation and Ticket Center
- 5:00PM – Ride 16 Walt Disney World Railroad
- 5:11PM – Ride 17 Splash Mountain
- 6:03PM – Arrive Epcot
- 6:10PM – Ride 18 Journey into Imagination with Figment
- 6:23PM – Ride 19 Living with the Land
- 6:46PM – Ride 20 Soarin’
- 7:13PM – Ride 21 The Seas with Nemo and Friends
- 7:30PM – Ride 22 Mission: Space
- 8:23PM – Ride 23 Gran Fiesta Tour
- 8:32PM – Ride 24 Frozen Ever After
- 8:54PM – Ride 25 Test Track
- 9:22PM – Ride 26 Spaceship Earth
- 10:09PM – Arrive back at Magic Kingdom
- 10:15PM – Ride 27 Magic Carpets of Aladdin
- 10:22PM – Ride 28 Pirates of the Carribbean
- 10:43PM – Ride 29 Haunted Mansion
- 10:59PM – Ride 30 Prince Charming Carousel
- 11:06PM – Ride 31 Mad Tea Party
- 11:11PM – Ride 32 Dumbo the Flying Elephant
- 11:18PM – Ride 33 The Barnstormer
- 11:27PM – Ride 34 Tomorrowland Speedway
- 11:40PM – Ride 35 Buzz Lightyear’s Space Ranger Spin
- 11:52PM – Ride 36 Seven Dwarfs Mine Train
- 12:30PM – Meetup with the Other Teams
- 12:48AM – Ferry back to the Car
- 1:25AM – Arrive back at hotel
It was a day I can honestly say I will not soon forget.
Parkeology Challenge 2018 in Brief
“To all the awesome teams that ran the @Parkeology #parkeologychallenge today we offer a huge congratulations! It was freezing, rides broke down, hours were lost and you still crushed it! Thanks, we look forward to seeing you again soon!” via Twitter.
A few facts
- The Park Operating Hours for the Day Determines Difficulty. Less than 18 hours is considered Expert.
- The last completion of the challenge was August 18th, though there have been many attempts since.
- Over 39,000 steps
- Over 17 miles of walking
- The numbers above are based on my phone. My watch actually has a higher number.
- There were 10 teams competing that day. Only one other team had 4 people on it.
- The range of completed rides were 11-42. The other 4 person team got 42.
- 6 Teams Completed the 3 Parks We Did. It seems like a lot of people were looking to complete on that day, which is a rarity.