Rick Hurst Web Developer in Bristol, UK

Menu

Month: October 2006

Excellent accidental itunes playlist #1 – T and music with Rick Hurst, beginning with a Teenage Riot

By some fluke of circumstances, I have ended up listening to my iTunes library organised by song name, beginning with Sonic Youth – Teenage Riot. It’s shaping up into a nice little playlist – who needs a DJ 😉

Teen Age Riot – Sonic Youth
Teenage Ska – The Skatalites And Friends
Tell Her Tonight – Franz Ferdinand
Tell Mama – Janis Joplin
Tell Me Baby – Red Hot Chili Peppers
Tell Me Why – Neil Young
Tell You Why Tomorrow – Husker Du
Temptation island – love as laughter
Terraplane Blues – Robert Johnson
Territorial Pissings – Nirvana
Test Transmission – Kasabian
Testimony – Grant Lee Buffalo
Testing 1, 2, 3 – Barenaked Ladies
Texas Idiot – Athritic Foot Soldiers (AFS)

useful CSS hack – replace an image with an.. er.. image

via hicksdesign:-


img {
width: 0;
padding-left: 20px;
background: url(mynewimage.gif) no-repeat;
}

I have a real-world example of where this would be useful in plone skinning – in some places inline images are still used for icons (here and there – they are generally being phased out). At the moment I usually set them to display:none and apply padding and background image to the containing element, but this may be a better solution.

archived comments

Just wanted to say thanks for this. 🙂 It is exactly what I need for over-riding some annoying hard-coded images in a blog I’m skinning.

Sarah Lewis 2007-05-04 16:45:04

iPhoto ftp export – does it exist?

I’m surprised that I still can’t find an ftp export plugin for iPhoto. This would be really handy for maintaining websites but also using the ftp facility with photobox . In fact a photobox export plugin for iPhoto would be even better. If anyone knows of one or a tried and tested solution please leave a comment here!

archived comments

Hey Rick,

My new software PhotoUplink will let you FTP directly from the iPhoto export menu, as well as send to ODBC, Excel, PowerPoint and few other things. Its unfinished, but the FTP is working fine.

Cheers,

Mark.

Mark Morris 2006-10-16 19:46:06

Rick

No fancy GUI here, but this script will do the job if you don’t mind Mac OS X Terminal.
Photoboxfrequently terminates ftp sessions after a few files, with “service not available”, probably due to server load.

This script sends one file at a time, logging in and out each time. Not super efficient but at least it doesn’t fail and you can happily leave it running to do your uploads whilst you go down Gloucester Road for a pint of Smiles Best.

for F in $*
do
echo “PROCESSING $F”
ftp -n ftp.photobox.co.uk

Dave Kelly 2006-11-28 23:44:22

Sorry about the last post, it got chopped because your blog software is not doing an htmlentities on the comment field, lets try again with the code…

for F in $*
do
echo “PROCESSING $F”
ftp -n ftp.photobox.co.uk

Dave Kelly 2006-11-28 23:56:45

Third and final attempt…

for F in $*
do
echo “PROCESSING $F”
ftp -n ftp.photobox.co.uk <<!!
quote user your-username
quote pass yours-password
cd your-album
bin
put $F
quit
!!
done

Dave Kelly 2006-11-29 05:30:34

Thanks for that Dave – so what does that script actually upload? I can’t see what $* is?

Rick 2006-11-29 08:42:11

I’m a little late to the party, but thought I’d give you a heads-up about a new iPhoto FTP plug-in. Ubermind has just released a beta version of UberUpload for iPhoto, an iPhoto equivalent of it’s popular Aperture plug-in. It supports uploading to FTP and SFTP servers, has some solid export options including sizing, typing and zipping, and has a very responsive UI.

You can check it out at www.ubermind.com/beta/uberuploadforiphotobetareg.php.

Uriah 2008-05-20 21:54:18

Hey, just thought I’d follow up and let you know we have closed the betas and released the plug-ins. If you’re interested in checking them out, they can now be found at http://www.ubermind.com/products/.

Uriah 2008-06-03 22:11:55

I got the power

cocnut battery app showing high capacity

and just like that my battery fixed itself! Ha. if only – I actually coughed up and bought one from ebay in the end as the Apple store one isn’t going to arrive until well after plone conf seattle (but when it does i’ll have a spare which will give me a full working days worth of battery power). I think the calibration is confused at the moment as it thinks I have 4539mAh capacity (out of 4400mAh) – the battery status think in mac osx is stuck on “calculating”

archived comments

Mine climbed from 4300mA up to 4432mA (or something) over the first few cycles. (Although still not quite the same colour as the rest of the machine, even after a few reboots…)

Fraser Stephens 2006-10-12 10:58:02

using BackgroundImageCache to solve background image flicker in IE

Fantastic – at last a solution to IE background image flicker that doesn’t involve applying background images to containing elements. I will be using this – I’ll be interested to know if I can use the IE CSS filter version without a performance hit, as that could just sit in my IE-only stylesheet.

archived comments

Yes, you could.

Write the css rule so it will remove itself from the stylesheet after the first evaluation.
I’ll write an article on my blog about this technique.

Dan POPA 2006-10-08 09:08:07

Things to do in Seattle

As I mentioned before a few of us from netsight are going to Plone Conference 2006 in Seattle. Besides actually attending the conference i’ve been reading up on other things to check out while i’m there. I plan to visit a few of these coffee shops with wifi and i’ve also just read that the blog business summit is also on at the same time – maybe there could be a bit of cross-fertilisation there as many of the plone bloggers will be at Plone conf?

moving a plone site

something worth bearing in mind when moving a plone site (or upgrading a plone site, or any other process that requires a full export and reimport of a plone site). If like me you have a habit of installing lots of products just to see what they do, it is worth uninstalling them (removing any objects in the site created using them first) before you do the export. Otherwise you might just find yourself having to track down all the products you used at any point on the site before it will let you import the zexp.

plone navigation current folder/ node

I wonder if I am missing here – While the plone navtree is set up to help me apply a style to the currently selected item, I can’t think of a way to apply a style to the parent folder of that item. If the current location is something like:-

root -> sub-folder 1 -> item 3

“item 3″ will have a class of :”navTreeCurrentItem” applied to it, but I would also like “sub-folder 1” to have a class, something like “navTreeCurrentNode” so that I could apply a style to that too.

I can’t think of a straightforward way (well, any way in fact, I get so lost trying to find the relevant bit of code in plone 2.5) to do this, please let me know!

archived comments

I was able to figure out myself!
The property node/currentParent retirns whether a given node is a parent of the current item

Tech-PJ 2007-06-15 14:12:28

Hi Ricky,

I am trying to establish the above in our plone site. But wondering what exactly needs to change in portlet_navtree_macro.

Do you know what needs to be done?

Thanks
Tech-PJ

Tech-PJ 2007-06-15 13:01:32