To view all the new blogs from Ketan please click here
New blogs is introduced from December 2016
blog.ketans.com

KetaN SalamoN NadaR

I change for a Change and I dont change for that change
Index

Wow it is now w3c compliant…

24 Apr 2009 22:09:00

I did this on 21st April 2009 and 22nd April 2009 .What I did will be revealed in the following lines of code.
(This code is just a sample code which will not work with any programming or scripting language.) Main blog starts below these lines of sample code.
	  public sub main(){public sub startDoing(){	havedinnerandgohome();	readbookandgotosleep();	activatebeautifuldreams();}private sub havedinnerandgohome(){	//had dinner..as usual some delicious food in Canara Hotel	//went to home watching the birds	(Birds at night????[try to understand... ha ha haha])}private sub readbookandgotosleep(){	//read book "God of Small things by Arundhati Roy"	//sleep tight as you have to get up early for swimming}private sub activatebeautifuldreams(){	//randomly generate some dreams...	var presenttime = now();	var strDreamType;	strDreamType =generaterandomdream();	//got the return value as 'dream type talking with 	//old boy friends' so sad...	activatethedreamfinally();}private function getsomerandomdream(var presenttime) as var{	//generate mood random 	select case mood 	{	case 'beautiful'	return hot girls;//Kitna kamina hoon main...ha h ahha	case 'scary'	return horrormovie; //Any horror movie will do 	case 'technical'	return daily generated code; //.Net related will be fun	case 'old memories'	if presenttime < 2:30	{	return talking with old girl friends; // Nah not to be revealed	}	else	{	return talking with old boy friends; // Any one will do..	//but they should not bug me	}	}}private sub activatethedreamfinally(){	try	{	var error = false	//random generated people by the dream	//Pravin and Vivek comes near me	//I said no I dont want to talk to these guys now...	//I have talked to them yesterday	//Pravin Said : You should write html codes which 	//will work in all browsers	//Vivek Said: You don't maintain standards	//I said : Have you come to prove that i am dumb...	//.... these lines of code didnt execute as the method 	//entered into an exception state	//....	}	catch	{	error = true;	}	if error = true	{	waveupnow();	}	else	{	wakeupinthemorning();	}}private wakeupnow(){	//reformated the website for the w3c standards...	//took 3 hours to do that	//web can be viewed in any browser	//updated some pages the the night	sleepahain();}private sub wakeupinthemorning(){.....} private sub sleepagain(){	wakeupinthemorning();}}	  	  
I guess it was not quite understandable by you. Even I didn’t understand that, maybe I have gone crazy to do something. It was on 21st April 2009 night. As every normal day I had my dinner and started to read the pending book "God of Small things" by Arundhati Roy. I dozed off by 2330hrs, but I never expected that this sleep would last only for some time.
Everyone expects that if they can see some dreams it should be worth seeing and it should be cherished. I also expected the same with my dream. As usual nothing happens the way you expect. I expected the dream will be full of beautiful girls surrounding me...but psst....my boy friends (not my gay partners) came all of a sudden...Those were Pravin and Vivek.

"Hi Ketan" both said together...
"I am fine...But...What the hell are you doing here?" I replied in full anger.
"Were you not expecting us? hmm hmm...Who is going to come? Tell us man" Pravin was inquisitive.
"He will not say man..."Vivek said pulling Pravin's hand.
"How come you are here today?Pravin you are in UK and Vivek you are in Pune..How come you are together and here in Karnataka"
Pravin stretched his body back and said “I took a private flight from London to Bombay and called Vivek"
I understood he was very tired from the journey
"How you came here?”
"I took my private helicopter from my garage which was not used for long and picked Pravin from Bombay airport .And now we are here...” showing the helicopter standing near the mansion where I stayed...
"Now tell me why in such a hurry without even informing me before" I questioned.
"You should develop software and applications which should run in any operating system and the pages which you design should get opened in any browser" Pravin shouted
"Yes even I have a complaint you don’t design pages which are of w3c standard...” Vivek joined Pravin
"Hello...you have come all the way to criticize my work..." I was surprised...

I abruptly opened my eyes and then I realized that was a dream. It was around 0230 hrs of 22nd April 2009.I just couldn’t understand why such a dream at such a moment. I was puzzled for 10 minutes. I was lying in my bed under the blanket thinking what the indication is. Those ten minutes all my previous talk wobbled in my mind which I had with my friends in my dream and in real. Even in real these friends had pointed out the flaws in my website. But at that time I was fooling myself by defending that I develop WebPages for IE and I don’t expect whether it will get opened properly in any other browser. Such a fool I was to think in such lines. Then I said to me "You idiots start your Computer and make the changes said by Pravin and Vivek"....

I got up had water and then switched on my computer to make the changes in my html and JavaScript codes. Took a heavy breath and started one by one. I said to myself I need to make the album section working in all browsers and make my html pages w3c compliant. I opened my JavaScript book, and then started digging inside the pages to find a solution for my gallery section which was not showing up in other browsers. I toiled for one hour doing research in my web pages. At the end I was just about to give up and sleep...I gave a last try to dig the source code again...Voila....I got it...I got the crux...I found the solution where I was making the mistake...I was just searching for someone at night to share what I did. How come I will get someone staying awake like me in the midnight at 3am.I emailed couple of close friends using my “plug 2 surf” that I cracked the gallery section and made it work in all the browsers from any vendor in the world. Still my WebPages were not W3c compliant. I went through the codes of all my html and CSS codes and started to verify it will the standards laid by w3c in their web site. After a revamp of 2 hours I completed modifying my web site according to w3c standards.

Now the question is what a big deal in it is. It is a big deal for me. As my web pages are w3c compliant and any one from anywhere in the world and from any web browsers can view my pages without any hassles and curse.

(Goto this webpage and enter my Url to check for w3c compliant.My server automatically adds some codes in the end of the webpage to calculate some stupid hit count .That could be one reason you may not be able to see an error free page if you give my page for checking.)

Moral : If you get up in the middle of a night do something useful then resume your sleep.


Post your valuable comments
Name 
Your Email ID   
Message
Please dont use HTML Markup  
 
 

Friends comments and suggestions

Vivek Bhat Says:
13 May 2009 at 07:57:12
See how did even coming of me in your dreams helped you!! You should always be thankful and obliged to be :D\r\n
Anup Says:
13 May 2009 at 18:40:05
\r\n Good job Ketan!!!
Bonny Says:
01 Dec 2009 at 17:32:28
Hey Vivek u should asked for a party .... i never let go this kind of situation ...
Yana Says:
23 May 2012 at 04:34:38
Undoubtedly feel that which you stated. Your firtvaoe justification appeared to get online the simplest issue to get aware of. I say for you, I definitely get irked when some people today consider worries that they just you should not learn about. You managed to hit the nail upon the top rated in addition as defined out the entire point devoid of owning side-effects , individuals can get a signal. Will probable be back again to get much more. Thanks This is seriously intriguing, You're an incredibly skilled blogger. I've joined your feed and glimpse forward to trying to get extra of your amazing post. Also, I've shared your web page in my social networks!