Archive for April, 2008

Xlinks – 21/04/08

Monday, April 21st, 2008
    Mod js
    Added on 04/20/2008 at 09:32PM
    Getting creative with PNG transparency
    Added on 04/20/2008 at 09:30PM

    lasix and furosemide

    10 reasons entrepreneurs need to have more vacations
    Added on 04/20/2008 at 03:04PM

    NSFW Blocker Using MooTools and CSS: How to dynamically mask images that are not safe for work
    Added on 04/18/2008 at 11:29AM

    IBM launches internal pilot program to test migration to Macs
    Added on 04/18/2008 at 10:08AM

    Fostering Innovation at Pixar
    Added on 04/18/2008 at 09:45AM

    Busy.js – javascript loading library
    Added on 04/17/2008 at 09:34AM

    Usingjs library – Managing Javascript dependencies
    Added on 04/15/2008 at 01:01PM

    KML is now a OGS standard
    Added on 04/15/2008 at 10:21AM

    More from 37 signals on Ricardo Semeler’s Maverick
    Added on 04/15/2008 at 09:55AM

    XMPP: Hat tip to Rowan for spotting the new technology
    Added on 04/15/2008 at 09:12AM

    Salesforce with Google Apps
    Added on 04/14/2008 at 05:15PM

    37 signals on Gary Vaynerchuk branding and marketing
    Added on 04/10/2008 at 10:38AM

    37 Signals on “Maverick ” – Ricardo Semler’s book : This is one of the best business books out therehellip
    Added on 04/10/2008 at 10:31AM

    Super Mario written in Javascript : All the Super Mario goodness in only 14k
    Added on 04/09/2008 at 07:26PM

    Heroku – RoR platform on the cloud
    Added on 04/09/2008 at 05:23PM

Rails 2.0.2 – test setup not being called

Monday, April 21st, 2008

The setup method for ActionController::TestCase is useful in some circumstances, e.g. having a user login in your tests.

drug azithromycin

def setup
super
login_as :quentin
end

However, when you run the tests, all your tests with login_required fails.

Basically, this is a bug in Rails 2.0.2 where setup is not called. This was fixed in revision 8442 (one revision after rails 2.0.2 was released). See http://dev.rubyonrails.org/ticket/10568

So, we would want that revision by using:

rake rails:freeze:edge REVISION=8442

NOTE: rubyonrails.org is down/domain expired so rake might fail. In the meantime, try svn export or some other way to get revision 8442 from another repository.

UPDATE: rubyonrails.org is back up (domain renewed)!

Mapping and Spatial RSS feed aggregator in NZ

Monday, April 21st, 2008

I’ve decided to create a RSS (Blog) feed to aggregate all of the RSS from all of the NZ mapping and spatial companies. I thought it would a great idea to promote a single RSS feed to the industry to promote ideas, products etc.

cipro xr brand

After a quick look at some of the top players in the space, very few have RSS feeds. (Which is very disappointing!)
If you know of a blog that should be on this list either email me john at projectx.co.nz or add it on the wiki page I have created at barcamp wiki.

Spatial bar camp

Monday, April 21st, 2008

Spatial bar camp is being held in Wellington on the 1st of May. They are running a spatial mash-up competition in which they are asking companies or people mashing spatial data. More information at http://barcamp.org.nz/wellington-spatial-mash-2008-1-may-2008

ProjectX will be submitting 2-3 entries, showcasing our new visualisation engine.

next day cialis

Tuning Google sitemaps

Monday, April 14th, 2008

We’ve just taken another looking at Google sitemaps for the first time in a long while. We’ve had mixed resulting using the sitemaps. Changes that we’ve made were taking weeks to come through. So with all the frustration at the way Google indexes our site, we decided to write a little program that parses our weblogs and looks at our crawler traffic. Its been incredibly useful to see what the google crawler is upto.

Here’s how it helped us, as we refine our SEO for our recent photos page, we got to see the effects to the crawler and on the site.

viagra australia

Our Google sitemap had this :

<url>
<loc>http://www.zoomin.co.nz/?recent/photos</loc>
<changefreq>hourly</changefreq>
<priority>1.0</priority>
</url>

And this was our traffic before the changes

2008-04-10 /?recent/photos MSN [65.55.209.80]
2008-04-10 /?recent/photos Yahoo [67.195.37.116]
2008-04-10 /?recent/photos Yahoo [67.195.52.85]
2008-04-09 /?recent/photos Yahoo [67.195.52.85]
2008-04-08 /?recent/photos Yahoo [67.195.52.85]
2008-04-08 /?recent/photos Yahoo [74.6.29.187]
2008-04-07 /?recent/photos Yahoo [67.195.37.116]
2008-04-06 /?recent/photos Yahoo [67.195.37.94]
2008-04-06 /?recent/photos Yahoo [67.195.37.116]
2008-04-06 /?recent/photos Google [66.249.65.206]
2008-04-06 /?recent/photos Yahoo [74.6.29.187]
2008-04-05 /?recent/photos Yahoo [67.195.37.94]
2008-04-05 /?recent/photos Yahoo [67.195.37.99]

We changed the changefreq to always and it seems to have had an affect.

<url>
<loc>http://www.zoomin.co.nz/?recent/photos</loc>
<changefreq>always</changefreq>
<priority>1.0</priority>
</url>

Using the always change frequency tag denotes that a page is dynamic and changes all the time. Our photo page doesn’t change all the time, but it wasn’t getting indexed by google as often as the content has been changing.

The change had an effect within 24 hours of changing our sitemap.

Displaying 1-25 of 70
Date Place Crawler
2008-04-13 /?recent/photos Google [66.249.65.206]
2008-04-13 /?recent/photos Google [66.249.65.206]
2008-04-13 /?recent/photos Yahoo [67.195.58.157]
2008-04-13 /?recent/photos Yahoo [67.195.37.116]
2008-04-13 /?recent/photos Yahoo [67.195.52.85]
2008-04-12 /?recent/photos Google [66.249.65.206]
2008-04-12 /?recent/photos Yahoo [67.195.37.116]
2008-04-12 /?recent/photos Yahoo [67.195.52.85]
2008-04-12 /?recent/photos Google [66.249.65.206]
2008-04-11 /?recent/photos Yahoo [67.195.37.116]

We’re currently thinking about making our seo tool opensource, as its really useful for medium sized sites to figure out what Google is upto.