Tue 25th Oct 2005
Posted late evening, filed under
Smarty Templates.
Looking through the Blogsome/WPµ source, I came across a Smarty function {globalvar}. “Righto,” I thought, “I’ll google that, and see what comes up.”
My template file was the first thing that did.
Okay, what this function does is take a Smarty variable, and make it global in the PHP scope. Used in my template, and most Blogsome ones, it sets the variable $comment to be a global one.
I haven’t come up with another good use for it, but it’s nice to know.
Tue 25th Oct 2005
Posted in the evening, filed under
Blogsome ,
PHP.
For some time, since the XMLRPC file was updated, posting to Blogsome via the XMLRPC interface has been broken. It works, but extraneous slashes are inserted before quotes and apostrophes.
I’ve been lucky enough to get my dirty little mitts on the source code, on a test server, and have come up with what may be a fix.
(more…)
Tue 25th Oct 2005
Posted early evening, filed under
General.
This isn’t really a full review or comparison, just a few quick notes.
I downloaded the demo version of iMediaView Pro, and ran it. I let it import all of my iPhoto library, and was fairly disappointed it didn’t automatically albumize them according to my iPhoto albums.
I must say I don’t like the interface nearly as much as iPhoto’s. iPhoto is pretty much a great program, except it’s dog slow whenever you try to do anything.
But it’s simple to use, and really has all of the cataloguing features I need right now. I just use a Smart Playlist to list every photo that doesn’t have an album, and create a new album each time I import photos, and add them all to that. Now that iPhoto has folders, I can have a level of hierarchical organisation.
And iPhoto has built-in capabilities to view photos by date of creation. If only it wasn’t so. damn. slow.
Tue 25th Oct 2005
Posted late afternoon, filed under
iTunes.
iTunes Music Store Australia is here.
Since you need to sign up to even get access to the free music, I had to enter my Credit Card Number. It didn’t work. Three times.
Apparently you need to actually have money in there for it to work.
Tue 25th Oct 2005
Posted late in the morning, filed under
General ,
JavaScript.
Apparently, it’s possible to use JavaScript to preload images.
checked = new Image();
checked.src = "/images/true.gif";
unchecked = new Image();
unchecked.src = "/images/false.gif";
This is better than doing the CSS trick display:none;, as this doesn’t always preload in every browser.