Monday, March 27, 2006

Me and Programmaing : LIA to ALI !

Yah, I don't do that ! BUT ever since I have started blogging I think I am learning a little bit of that as well..I don't understand the language or science behind...how all these programs or specifically this BLOG works! But somehow by looking at the Template I figured out where to make the necessary changes, so that I can add people to the blog..or add the links I want..

Today I stretched my experiment a little further. I wanted to add the following lines to 'My Vision' in the sidebar to thank all those people who are taking out their time to comment on my snaps.

"Photography is almost my obsession, and I want to be better at it. So, criticize my pictures as much as you want. Look forward to your comments, and THANKS for your time."

While editing the links I learn't that any thing written between LIA to ALI jsut appears as texts on your blog, if you exclude the "STUFF BETWEEN THE QUOTES"


<li><a href="http://2006-photo-a-day.blogspot.com/">Vikas</a></li>

(need to thank madan here, he helped me in understanding the funda behind tags and writing the above code, else i was getting the link directly! !!eeeehhh)

So I wrote what I had to write, then I had to decide a place for it. It wasn't difficult to find the end of the profile description in the template to insert LIA to ALI, where I wanted. Everything was perfect at the first go....BUT then to stretch it further I wanted these words right after "VIEW MY COMPLETE PROFILE" ! And while doing so I did something such that my whole template changed to something horrible! Entire formatting was lost! The black back ground disappered! Snaps were placed here and there...!! :(

And I got totally pissed with myself...there is saying in hindi..'Khane bulo to rahne ko mangthe hain' thats what I thought! I regretted what I did. But then I got this brilliant idea, to load back the template. I though that would fix the problem. I got excited and loaded it back.

But, it lost all the edits I had made! People and Links I had added! And offcourse I did not remember the links! Got, more disappointed with myself!

Then I remembered something and got another brilliant idea. I had saved the entire template of my previous blog. I always do that before I start messing up with it. :) back was my smile!
Because then all I did was compared the current template with what I had and figured out where and what I messed up and uploaded the previous template!

So while addressing things between 'LIA to ALI' I had deleted the following :)


<title><$BlogPageTitle$></title>
<$BlogMetaData$>
<style type="text/css">
/*
-----------------------------------------------
Blogger Template Style
Name: Minima Black
Designer: Douglas Bowman
URL: www.stopdesign.com
Date: 26 Feb 2004
----------------------------------------------- */
body {
background:#000;
margin:0;
padding:40px 20px;
font:x-small "Trebuchet MS",Trebuchet,Verdana,Sans-Serif;
text-align:center;
color:#ccc;
font-size/* */:/**/small;
font-size: /**/small;
}


As I read the above code I understood why I got a BIZZARE blog, for a while...and went OFF- Blog for a while!! PHEW!! Me and Programming! Thankgod that this is not my full time job. However, thanks to the mess with 'LIA to ALI' I got to know how to make changes to the template :). BTW, I still have some lines showing up as highlighted or linked to something...if anybody can be suggest how to get rid of it, that will be great. Thanks.

11 comments:

Shyam said...

Oh man!!! I got to do something in wildlife now ;)
People in wildlife start programming. So, why not programmers in wildlife???

Nice job madamji and madanji.

micromysore said...

dude shyama, she bugged me for an hour .. past midnight .. i almost passed out due to stress clearing the mess of tags ..

I am said...

he he....:) :P...thanks 'madan' again..hugs and love..
and shyam, let me start working in India, am sure I will have some interesting job for PGM'S (programmers)..

Deepak said...

LIA and ALI. What a way to remember things!! ;-)

One piece of advice (You might know it by now)... Back up the entire template code before messing with the template. Otherwise your existing changes will go for a toss. Like the problem I'm having now. My blog looks fine in Firefox; but in IE, it is messed up.

Deepak said...

BTW, is the underlines coming up when you move your mouse pointer over that...is that the problem you are talking about?
To remove that problem just change the LIA ALI (;-)) for that sentence to li and /li (With the < and > of course)
In short, remove the a and /a enclosing that sentence.

-Deepak

Diana Sahu said...

oh...same problem i had last month when i deleted myself from the adminstrator list of my blog..and my entire blog gt deleted....even my blog looks fine in firefox bt in explorer...half of the things are missin....hazards of blogging.

AWY said...

@tanushree...
lol..
also.. you don absolutely need to place the text you want to appear on the blog between (li a ) and (a li).
If you put it anywhere between the <body> and </body> it will come on the blog as long as its not in quotes ("") or tags (<>)..
I am not sure of this.. but from experience , i think its sorta works..
and.. uhm.. i just realised.. the link on your sidebar to my blog.. is to a specific post.. the eve teasing one.. is that intentional ?

I am said...

Thanks to everybody and dropped by while I was gone.
@deepak will make the changes...from Li to LI :) sounds chineese :) now..

@shyam - there are lots of progammers in our field. I don't do it. or did not have to do it till now...but will have to eventually for my research.

@Nina & Diana - i just dont get embarassed with my mistakes any more..:),just accept it :)

@Anna - thanks for letting me know where I might be wrong. also link to your blogs post is intentional...so that i can keep track of it and also you :) hope the voice reaches beyond the blog.

Deepak said...

@Diana: What you see in Firefox is the correct one.
IE actually doesn't support some of the HTML standards. But unfortunately, a majority of the population uses IE and we have to keep them happy :(

Anonymous said...

SUggestion,
U need to ensure that there is a "previous posts" section on the side bar when a post's page is displayed.

example: http://tanushree.blogspot.com/2006/03/me-and-programmaing-lia-to-ali.html
if u go there, u will find that there are no links to go to an earlier post. The default(unedited:) template would have had that section..check it:)
- Just an idea.

I am said...

@IRIS/AI - hmm definately a nice idea..will check the template for it