Posts tagged 'hack'

RSS Feed for OCZ Vertex 3 SSD firmware updates

Here’s a quick and dirty solution to me not being able to keep updated with OCZ firmware updates for my Vertex 3 SSD.  For whatever reason, OCZ doesn’t provide a news feed of firmware updates (that I know of, correct me if I’m wrong!) so I’ve sorted a screen scraping Yahoo Pipes pipe to do it for me:

http://pipes.yahoo.com/pipes/pipe.run?_id=a1f15d7ead0122567ad6537b2de484a3&_render=rss

This RSS feed will (or should) only ever feature just 1 item - the latest version information for the firmware.  So, it won’t handle keeping track of …

Plone: Page Template Redirects

Was wondering how to get a Plone page template to go to a page before the template actually loads. Now, actually getting Plone to not go to this template would be FAR better, but since we can’t actually modify the functionality of the Favourites content items in the content listings (not easily), I instead modify it’s default view.

Using this:

<head>
    <metal:js fill-slot="javascript_head_slot">
        <script type="text/javascript"
        tal:content="python:'location.href=\''+portal.absolute_url()+'/'+here.remoteUrl+'\';;'">
        </script>
    </metal:js>
</head>

We see that the page reloads to the relevant location as soon as the head JavaScript …