Move With The Times
Thursday 7th May, 2015 13:29 Comments: 1
Over the last few months I've spent a bit of time creating a web based challenge using HTML5. It's almost complete (I still need to finish off the text based adventure game) and it works surprisingly well. Being able to use JavaScript to fade the volume of an audio element after a while in order to play a video is quite handy (I should use the onended event to fade the audio back up, in case the video takes a few seconds to buffer, but I've hardcoded it for now). I've even got the hang of using non-standard fonts.
At some point I want to use all this knowledge to update this site as it's looking dated (again). It's hard to keep a blog looking fresh when it's been online since 2002 - I think this is the third major theme (moving from HTML 4.01 Transitional to XHTML 1.0 to HTML5 along the way). I've usually kept the design simple to work on all browsers, but most browsers follow the standards really well (and mobile phones use the same engines, which is a million miles away from using my old Sony Ericsson K750i, even with Opera Mini). Don't expect to see this site plastered with audio and video, but I might make more of an effort to integrate my Twitter feed (which would help avoid some of the blank months in my blog).
At some point I want to use all this knowledge to update this site as it's looking dated (again). It's hard to keep a blog looking fresh when it's been online since 2002 - I think this is the third major theme (moving from HTML 4.01 Transitional to XHTML 1.0 to HTML5 along the way). I've usually kept the design simple to work on all browsers, but most browsers follow the standards really well (and mobile phones use the same engines, which is a million miles away from using my old Sony Ericsson K750i, even with Opera Mini). Don't expect to see this site plastered with audio and video, but I might make more of an effort to integrate my Twitter feed (which would help avoid some of the blank months in my blog).
Robert - Thursday 7th May, 2015 15:37
Turns out you can't easily obtain tweets from the past, the API doesn't support "since" or "until" unless you perform a search, but the search only goes back a few days. I could use the API to periodically scrape my tweets and insert them into a local database, and perhaps download all my previous tweets and work out a way to import them into the database, but it's not very elegant.