Weblog of Prasad

Feb 14, 2005 at 08:08 o\clock

It was a surprising present.

by: prasad

Mood: Surprised

Well it was a really surprising to get the birthday present from blogigo.
I thank BlogIgo team for wishing me on this day.

Jan 27, 2005 at 08:44 o\clock

GreaseMonkey Plugin

by: prasad

Hey, GreaseMonkey (http://greasemonkey.mozdev.org/) is really a cool extension to firefox. Using this you can customize the website you want, with your javascript.

For example:
On loading/reloading of the page (http://mail.yahoo.com) you can write a simple javascript to set the desired user name in the login box and install the script using greace monkey. And when you load the (http://mail.yahoo.com) you can see your java script in action.

It is quite simple to install the user java script.
(First get the greace monkey plugin installed).
1. Write a java script file having extension "user.js"
For example:
(function myOnLoad() {document.login_form.login.value="yahooId";})();
2. Open the file in the firefox.
3. Click Tools -> Install User Script
4. In the Dialog box, Edit the entry with "*" and type http://mail.yahoo.com specifying that you are installing the javascript for http://mail.yahoo.com page and press OK

5. Open the page http://mail.yahoo.com

You can see that 'YahooId' is displayed in Login

Thats so simple. Enjoying exploring other things. :)

Jan 26, 2005 at 08:46 o\clock

Never miss a space

by: prasad

Mood: Surprised

I was till now, trying XSLT on Firefox.

I used to have a XML generated by a application that had to print the
<?xml-stylesheet type="text/xsl" href="somefile.xsl"?> that would instruct the application of XSL Transformation on this XML.

I had a tough time to figure a small mistake of not having the space between the type value and href tag. My application would produce
<?xml-stylesheet type="text/xsl"href="somefile.xsl"?>

Firefox would still apply the XSL transformation to this XML. But I found that IE showed the whole document as XML. It was a really hard to figure what went wrong in IE that was perfectly fine in Firefox as it was really too late of the day and I was also looking at some other issue.

Yes, finally I had a zoom in look at the XML rendered in IE and surprisingly found a missing space in between the type tag value and href tag.

Yes, now I fixed the problem by adding a space and IE applied the XSL Transformation perfectly.

Beware, IE looks even for a space to validate

Jan 20, 2005 at 09:51 o\clock

FIrst Entry

by: prasad

This is my first blog entry in the blogigo. It is pretty simple and nice to blog out here with simple and light-weight GUI. It lot easy to customize and add template and change css. Oh!...