Say ‘no’ to styrofoam. | James Revillini

Archive for October, 2006

  • ‘no element found’ in firebug or firefox javascript console (part 2)

    I was right.  If the server sends a response and the ‘Content-Type’ attribute is ‘text/xml’, you must send at least a root node so the xml parser that is built into Mozilla’s XMLHTTPRequest object doesn’t cak and give you a ‘no element found’ Javascript error.
    This could be an issue for those of us who are […]

  • ‘no element found’ in firebug or firefox javascript console

    I think I figured it out.  I think that the issue crops up if your server sends a response header of ‘Content-Type’ set to ‘text/xml’ and you send no content.  The XMLHTTPRequest object then says ‘oh it’s xml? fine - i’ll just PARSE THIS and store it in the reponseXML property.’  At that point, the […]

  • A Bug in FireBug

    Firebug 0.4.1 and 0.4.0 suffer from a very peculiar bug.  If you create an object with a property called ‘-URL’, you can not use console.log to see the value of the property using the console.
    Steps to reproduce:
    In the console, type
    x = {’-URL’ : ‘foo.pdf’, ‘-Size’ : 100};
    Now type
    x
    Now press enter and click on the […]

  • Plans

    I’m planning to relaunch an old project I started - my family wiki.  When I do, it will be at http://family.revillini.com/
    Right now I’m trying to decide on which wiki to use.  I should probably use phpwiki since it will probably be the most compatible with the database I already have started.

  • Just Unzip

    I wrote a plugin for WordPress 2.x called Just Unzip. Just Unzip takes a zip file you upload from the “Write” page, unzips it, stores the zipped files in your upload folder, and associates the unzipped files with the current post. Just Unzip makes use of the PclZip php library (LGPL […]

james.revillini.com