OpenSearch Plugin
I added OpenSearch to a customers intranet application a few weeks ago. It was so simple it’s almost embarrassing to blog a about it. Then, tonight, I found myself trying to remember what exactly I did to enable the OpenSearch plugins for IE7 and Firefox 2? It was so easy that it didn’t really sink into my memory very well. So I decided to add the OpenSearch plugin to my site and document it on my wiki. Maybe now it’ll stick. If not, I know were to find it! Keep in mind the OpenSearch is much deeper than a cool plugin in your browsers search box. OpenSearch is the beginning of standardized searching where the search server can describe how it’s to be searched to the client and then return the results to the client in an XML format.
Flickr badge vs XHTML 1.0
My website has been XHTML 1.0 Transitional for a while now. I decided to take the next step in XHTML and start serving the mime type application/xhtml+xml to user agents that accept it and serve text/html to those agents that are slipping behind the times (read IE-7). First thing I did was include this PHP code in my files.
<?php
if ( stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml") ) {
header("Content-type: application/xhtml+xml");
}
else {
header("Content-type: text/html");
}
?>
ANT and FTP
I’m using ANT to FTP files to my website. Before you can do this, you’ll need to download these…
eXist xml database
I’ve been using eXist for a little while now on a project that I’m doing for ATS. I have to say that I like it so far. It runs out of the box with no problems. I’ve installed it on a windows server running Tomcat. ANT has tasks specifically for eXist.