I am making final travel preparations for the Forge accelerator in Rome next week, and need to start preparing for DevCon Europe as well.
As always, when you have no time to spare, something else urgent cropped up as well requiring immediate attention:
Forge DevCon Europe Coming
As Kean Walmsley just pointed out, we are counting down to Forge DevCon Europe, the second European edition of the Forge DevCon.
It is being held in Darmstadt on October 16th, the day before this year’s AU Germany.
This is a free, English-language event where you can learn all about the capabilities that are currently (and soon will be) available through the Forge platform (the entire DevCon event is in English language, whereas the Autodesk University following it is in German).
Here are some reasons to attend, provided by the Forge team:
- Get to Know Forge – Take a deep dive into the Forge Viewer, BIM 360 API, Reality Capture, and industry specific solutions created with Forge APIs. Plus, preview just-released Forge updates to integrations, end-to-end workflow capabilities, and much more.
- Disruptive Technologies – AR, VR, machine learning and generative design can be brought to life using Forge. Learn how, and see how easy it is to get started.
- Web Programming – Delve into topics from web application security to architecture to testing best practices, or brush up on the basics you need to transition from desktop to web programming.
- Forge Industry Stories – Take in cross-category case studies showing how Autodesk partners and customers used Forge to solve real business problems, and what they learned along the way.
- Construction Technology with Forge + BIM 360 – Learn how Forge and BIM 360 have been used to create countless apps across the construction industry, helping teams innovate, digitize job sites, minimize data loss and increase efficiency.
I will be there, together with Kean and many other world-wide colleagues.
You can register today via this link.
Also, again like Kean, my next stop is next week in Rome at the Forge accelerator.
I hope you can make it to one of our upcoming events as well.
Hijacking Typepad Search Input for Google Site Search
Matt Taylor submitted a comment on yesterday's blog post pointing out that the search functionality stopped working:
Just a heads-up that the search box on your blog doesn't appear to be working.
I tested in IE and Chrome.
It used to work...
I'll normally add the site to the search like this in a search engine:
site:http://thebuildingcoder.typepad.com floor
... Which is what I did when it didn't work.
The problem is caused by the built-in Typepad search module.
Just for your information, the entire blog source code is also available in parallel in the tbc GitHub repository, so you can always download from there to your own system and search there with full control and flexibility.
After some in-depth research and JavaScript twiddling, I am now opening my own Google search window in a new tab in parallel with the dysfunctional Typepad search.
I dove into the blog source code to determine and retrieve the search input text box and submit button and hijack it to open a second Google search window doing just that.
Here is the code that I added to the site to achieve this:
<script type="text/javascript"> window.onload = function(){ var form = document.getElementById('search-blog'); var submit = form.getElementsByClassName('btn')[0]; var searchinput = form.getElementsByClassName('form-control')[0]; submit.addEventListener('click', function(event) { var s = searchinput.value; s = s.replace(/ /g, '+'); var url = 'https://www.google.com/search?q=' + s + '&as_sitesearch=thebuildingcoder.typepad.com'; //window.location.href=url; var win = window.open(url, '_blank'); win.focus(); }); } </script>
I initially tried to override the Typepad functionality completely using window.location.href
, but that failed.
Therefore, I open the second Google site search window in parallel and set the focus to that instead.
By the way, I found
this ultimate guide to the Google search parameters useful
to determine what URL arguments to add, i.e., as_sitesearch
.
Finally, I discussed the issue with Typepad, saying:
the built-in typepad search module does not work. i now implemented my own javascript version to open a google search engine in a separate tab. what can i do to make the built-in typepad search module work as intended? to see what i mean, please go to thebuildingcoder.typepad.com, type
IExternalCommandAvailability
in the search input text box and click 'Submit'. the built-in search reports that no results are found:No Results Found – Sorry, there were no results returned for “IExternalCommandAvailability” – please check your spelling, or try something less specific.
i open a new tab with a google search engine limited to thebuildingcoder site, and it reports many results.
Typepad answers:
Thank you for reaching out to us. We are aware search results are not displaying as expected, and we are currently working on an update to the search feature. We apologize for the inconvenience. If you have any other questions, please let us know.
I have no other questions, thank you, Typepad.
Thank you very much, Matt, for pointing this out!