Well, it happened again... I got carried away with an idea and now I have to write something about it to justify the time I spent on it.
While searching trove.nla.gov.au recently I noticed how un-responsive it is, I mean, some elements respond to different browser window sizes but using it on a phone is not very fun. so I thought I would have a play with Troves API and see what I could come up with.
Using the API is easy enough, just create a Trove account and request access, it is also simple enough to get a hang of quickly with the documentation provided. I will note there are some obvious limitations to the API which are probably there on purpose to protect the content and Trove itself. Once I had API access and ran a few tests I started with a Boostrap framework, who can pass up the ability to have a neat responsive site so fast, even if it does mean sacrificing a completely unique design...
For the most part building rove was straight forward, I used jQuery AJAX requests with all data returned as JSON objects, it was then just a case of cycling through objects to list results. My biggest challenge was getting thumbnail images as they do not always come through the API. To get around this I wrote a small PHP script utilising the simple html dom script to lookup each search results URL and scrape the image source from it, a bit of a hack but it works!
Right now you can search all content types and it links to the trove items page, my next 2 main features are pagination of results with a "show more results" button at the end of each search and then I want to add article content to the result when it is clicked, this way results can be viewed in the same window as the search results and a user can then click through to the items full details on Trove.
Rove is online here: http://rove.michaelhalls.net
Setting up Phaser is not very hard and there are a lot of examples out there, there is also a very active support forum that I had to make use of, my question was answered overnight and my little testing platform is complete! I had some design ideas floating around so with idraw and sublime text I went at it. Click the screenshot below to try the platform, to play the game use your keyboard arrow keys to move and the up arrow to jump...
The question is, does anyone remember where the games music track is from??? It's 90's gaming memories for me!
I have a feeling it is going to be a good year, well, I mean so far it has been very productive, onwards and upwards?! At least right now anyway everything looks so beautiful on my new macbook pros retina display, so maybe I am just a bit lovestruck... speaking of lovestruck I just finished upgrading Roseann's (my wife's) website. We started with a base Wordpress theme and modified it to suit, she can take over now and update content and blog away, over the next few weeks I need to implement a client viewing gallery area so that might be the next subject for a Wordpress plugin.
As usual with the site, I have stared at it for too long so cannot be subjective in critiqing it, I do know though it was a big upgrade from the last version of the site!
Now I have to try and figure out how to get enough sleep to be able to get up in 5 1/2 hours! There is never a dull moment with kids!
I have been quite busy with work lately but have somehow been able to find some time to create my first Wordpress plugin, I am sure there are many things wrong with how I made it so I will be looking for feedback, but, delving in to the Wordpress Codex was rewarding and I took away quite a bit of knowledge about the core of Wordpress and am excited about creating my next plugin soon!
Check it out! I created a page with some documentation and download links: WC Bulk Buyer Discounts Plugin
Well it's January 2014 and with the new year came a new house for my family and I, moving in and doing some renovations at the end of the month means I wanted to clear my plate of projects, in this respect I have been lucky enough to start 2014 with productive results! I finished another website this week which leaves me just on call for work during my 2 week moving/renovation 'holiday'...
www.art101.com.au, an Art Gallery/Studio website with e-commerce for booking lessons, I did a lot of work for cross browser/device compatibility and am proud to say its a very responsive site! It was built over 2 months and looks great thanks to the beautiful artwork photos all supplied by my art lessons teacher and ART101 owner Mel, it makes it easy to build a nice looking website when the client is a very talented artist!
Now it's time to start tuning out, leave approaches!