A Journal about the experiences I have developing little applications in C#, Perl, Html and Javascript and talking about things new things that I use.
Always Geeky; Always Nerdy; Always poor Grammer!
Coding Horror [http://www.codinghorror.com/blog/] is a brilliant blog. It is the kind of blog that I like to read at the moment, it has some insighful entries and is just generally a good blog to read. I wish I could style myself around this Blog.
I might try the layout of that site in my own blog because it is very crisp and clean, my site is bloated, slow and ugly colours.
I am pretty sure people find my entries hard to read.
I know having a good looking blog doesn't make a good blog, but I think a blog that is easy to read and to follow is far better.
Anyway over the next week I will take a backup of this template and try a simpler much crisper layout.
The Opensearch spec that I wrote the other day was a little inaccurate, thanks to Michael Fagan for the comment.
Nice. I look forward to the day when all blogs offer this.Btw, your ShortName is much longer than 16 characters, the maximum, so you should be using LongName instead.
See http://opensearch.a9.com/spec/1.1/description/#longname . Also, while your OpenSearch Description file is correct, your display on the blog post uses some lowercase characters when they should be in uppercase. Somebody might get confused if they copy that and find out it doesn't work.
I have ammended the XML so that it is more in line with the spec and includes along name. I have also added in a URL for RSS results based off Google's Blog search.
One thing it doesn't do is integrate into http://www.A9.com because the search engine is not on my domain. It is a pity really, but I can see why they do it. I could route all the search results through a proxy script but I think that would be even more unfair to Google.
This site has a partner for the while. Check out Shopzilla UK at the top right of the page if you are interested in Laptops or Price Comparisons in the UK.
I managed to speak to the Google Adsense for Search team about using my Google Adsene Account in the SiteSearch in IE7, suffice to say I was correct in my first guess: You are not allowed to use anything but their search boxes. I think this is a bit limiting, but the person I spoke to said they would pass it to their product team for consideration.
So in summary, using IE 7's open search provider with Adsense is a no no.
If you are using IE7 Beta 2 and you are looking this entry from my site you should notice that I have provided a customer search provider.
The search provider hooks up with Google search, so you can now search my site for specific text. I am not too sure if this breaks any T's & C's of Google but I will take it down if anyone complains.
This is just a showcase really to show you how easy it is to set up a custom site search provider in Internet Explorer 7 Beta 2.
<opensearchdescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <shortname>Paul Kinlans Blog: Google Search</shortname> <description>A Google Search from Paul Kinlans C#, .Net Framework</description> <url template="http://www.google.com/custom?q={searchTerms} &domains=www.kinlan.co.uk& sitesearch=www.kinlan.co.uk&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&safe=active& cof=GALT:#008000;GL:1;DIV:#336699;VLC:663399; AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF; LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF; FORID:1;&hl=en" type="text/html"> </opensearchdescription>
And each page has the following in the section. <link title="C#, .Net Framework: Google Search" href="http://www.kinlan.co.uk/opensearch.xml" rel="search" type="application/opensearchdescription+xml" />
Hope this helps anyone who wants to set up search providers.
If you have a sealed class are all the methods inside the sealed class also typed as sealed.
I am asking this because I have some virtual functions inside an abstract class that I would like to seal, I don't want the class to be extended so sealing the class makes sense. Therefore if I just seal the class can all the methods be considered sealed by the JIT'er or do I have to seal the methods too.
If you are into rabbits [i.e the animal] the check out http://nibblin.com, it is a forum for rabbit owners and enthusiasts. It has a nice comunity already.
Rich Crane reports that he has posted the Code to Internet Explorer Browser Modules along with some examples.
It looks like a pretty cool framework for getting .Net to interact with Internet explorer. I can't wait to have a play, and not have to worry about me handling all the COM interop etc [it is already done in this framework]. I did notice that the number of Browser Events that are available seems to be less than what IE exposes. Maybe I am wrong though.
Staying on the subject, Sky Software who produce EZShellExtensions.Net and the Shell MegaPack.Net have produced new versions of their software for developers. The EZShellExtensions.Net software allows you to create Internet Explorer toolbands and Internet Explorer vertical and horizontal bands and most things you would want to do via Shell Extensions in .Net. The ShellMega pack is a collection of their own Shell Extensions that they have created ready for you to use.
Both packages support VS.Net 2002 - 2005 so that means it supports the .Net framework v1.0 - v2.0, whilst Rich Cranes project only supports VS 2005 from what I can tell. The prices of the product is quite reasonable for the stuff you get.
A user visited my site with the Query "internet explorer 7 favorites". My original content for IE7 favorites was with Beta 1, so I thought that it was only fair that I provided an update not that Beta 2 is on the streets.
I had two major problems:
The favorites menu when open would crash IE7 Beta 1
The favorites menu when extremly large would file the screen and you couldn't see what was happening.
It seems that both of my issues have been fixed in Internet Explorer Beta 2, the menu now doesn't take the entire screen, it works a similar way to the IE 6 browser where it is one long scrollable menu. And also it doesn't crash anymore. :)