Archive for January, 2005

Cleaning up template

Saturday, January 29th, 2005

My biggest concern over the template of my website is the vast number of links that was growing on each side. I’ve noticed that one of the blogs that I frequent (The Cave) uses a drop-down list to visit her blogs. It is a real space saver.

I wanted to do the same thing, but then I would no longer appear to link to those websites according to search engines and agents from variouse sites. I’m required to have the links on my site within an “A” element tag.

After some hard work and much testing, I finally came up with the answer using javascript, cascading stylesheets, and a little bit of brain power. I setup the javascript to index each list of links that has a list of “compact” and create a drop-down list. I then insert that drop-down list in the same container as my list. With cascading style sheets, I hide any list that has a class of “compact”.

Hopefully no one has any problems. I’ve tested it with Firefox and Explorer. If anyone is interested, here is the code that I used:

    1 <body>
    2 <div class=”panel”>
    3     <b>Test</b>
    4     <ul class=”compact”>
    5         <li><a href=”http://www.lewismoten.com”>Lewis Moten</a></li>
    6         <li><a href=”http://www.klooze.com”>Klooze</a></li>
    7     </ul>
    8 </div>
    9 <style>
   10 .compact{display:none;}
   11 </style>
   12 <script language=”javascript” type=”text/javascript”>
   13 <!–//
   14 compactLists();
   15 function compactLists()
   16 {
   17     UL = document.getElementsByTagName(“UL”);
   18     for(var i = 0; i < UL.length; i++)
   19         if(UL[i].className == “compact”) compactList(UL[i]);
   20 }
   21 function compactList_onchange(e)
   22 {
   23     var obj = e ? e.target : event.srcElement;
   24     window.location.href = obj[obj.selectedIndex].value;
   25 }
   26 function compactList(UL)
   27 {
   28     var select = document.createElement(“select”);
   29     select.onchange = compactList_onchange;
   30     var option = document.createElement(“option”);
   31     option.value = “”;
   32     option.innerText = “– choose one –”;
   33     option.text = “– choose one –”;
   34     select.appendChild(option);
   35 
   36     for(var i = 0; i < UL.childNodes.length; i++)
   37     {
   38         var li = UL.childNodes[i];
   39         if(li.tagName != null)
   40         {
   41             var a = li.childNodes[0];
   42             option = document.createElement(“option”);
   43             option.value = a.href;
   44             option.innerText = a.innerText;
   45             option.text = a.innerHTML;
   46             select.appendChild(option);
   47         }
   48     }
   49     UL.style.display = “none”;
   50     UL.parentNode.appendChild(document.createElement(“br”));
   51     UL.parentNode.appendChild(select);
   52     select.selectedIndex = 0;
   53 }
   54 //–>
   55 </script>
   56 </body>

Blogazoo

Saturday, January 29th, 2005


The next big thing with traffic exchange services for blogs is about to be online in two hours or less from now. I don’t remember how I found out about Blogazoo, but the site looks friendly to me. All of the other traffic exchange sites are more business like.

Since I got in as one of the early people who signed up for this service, my ID number is only 165. Add each digit together and you get 12. Now, 12 represents the time that I will probably wake up tomorrow and start surfing. How is that for some numerology for you? I’m such a smart aleck.

Here is a portion of the email that I just got in my inbox:

I must say, this has been an AWESOME 36 hours! Over 300 new members in BlogAzoo thus far, with no sign of slowing down!

I want to be the first to say thank you to each and every one of you. Without your assistance and participation, none of this would be possible. All of us here at BlogAzoo are impressed with the level of support you have offered us.

Ok, is everyone ready to start reading some exciting new Blogs? I hope so, as the surfing option will be LIVE within the next 2 hours. Probably much sooner, as we only have a couple things to give the final once over prior to release. So make sure you have your Blog’s URL entered under *My Blog* in the members area. Also make sure that you have any available credits assigned to the link under *Credits*. All referral credits, bonus credits, and purchased credits MUST be manually assigned to your Blog’s link.

You can also set the *Auto-Assigned* percentage under *Credits*. This means that a pre-determined percentage of any credits earned through reading other Blogs (surfing) are automatically assigned to your Blog, alleviating the need to do so manually. This ensures that as long as you are actively using BlogAzoo your Blog is being seen, and read by others.

That is about it for now. I look forward to working with each of you now, and in the future. If there is anything we can do to improve our services to you PLEASE let us know by using the *Contact* link in the members area, or on any page within the system. We will be offering an interactive resource for service and support very soon to assist in improving our services.

Richard Taylor

Admin Team

I logged in and found that I had forgotten to add my site when I signed up yesterday. This is odd, because that would usually be the first thing that I attempt to do. However, I think I know why I didn’t do it. All of the graphical buttons look like they are disabled. The interesting thing is that they actually work.

I wish this email had come sooner in the night. I can’t stay up for another two hours just to surf blogs. I’m fighting off the sandman from making a visit to my cranial cavity as I write. I also have to wait for my link to be approved. Hopefully all will be taken care of by time I wake up tomorrow.

Search Terms

Saturday, January 29th, 2005

I just setup a precision counter on my blogs index page a few days ago. Today, I published the code throughout the entire blog.

One of the more interesting things that I look for when looking at stats is referring urls and search terms. Precision counter shows me the top 50 keywords / referrers, and also the last 10 of each.

So for anyone who is interested, here are some search terms that I have seen show up today:

jib jab - Whoa, 4 searches on this one today. I can’t believe that my mother in-law helped me get these visitors.

blogs about shopping - Yea, like that is all I talk about. Apparently my little shoe shopping adventure with Angel was interesting.

hunting blogs - I was hunting for a dog … Apparently I got a visitor instead.

link:www.blogcrowd.com - Hmm… Someone was checking up on loyal linkers.

mitch hedberg - My favorite comedian on XM Radio.

mitch hedberg listen - Wow, someone else’s favorite.

mitch hedberg review - Come on people, it’s not like he is the only thing I talk about!

san andreas hookers - Cause everyone knows that I’m a true G.

seti blogs - Aliens are looking at my blog for intelligence.

Out of the statistics so far, it would appear that most people find my blog through Yahoo! I am shocked at this finding. I’ve always used Google to do my searches, and everyone that I personally know uses Google. Of course, we are all have IT jobs. I’ve heard the general rumors on the Internet that Google is mostly used by the IT profession. So who is the target audience for Yahoo! search?

29 years and 8 months

Saturday, January 29th, 2005

Shalovee had left a comment on my blog and I went over to see what there blog was all about. It’s got some nice reads about bath salts (Naked Chocolatey goodness). I don’t use them, and I doubt my Angel uses them either. I think we would need a bigger tub to actually enjoy laying back and just relaxing in warm water.

I saw that she had a neat little ticker at the top of her blog for losing weight. I went ahead and created a ticker for myself. I couldn’t do one for losing weight, because I’ve pretty much fallen off the wagon. I’ve lost 46 pounds since I started and still had 25 left to go. I feel a bit horrible about it.

To get back to the point of this little post, I decided to create a ticker for my age. I didn’t have to sign up for an account or anything. I picked my background, my pointer, and put in what day I was born along with my name.

In the end, I had a big blue caterpillar with numbers one through ten. My marker wasn’t even on the image. The cool thing was that it said my age was 29 years and 8 months. Check it out!


Rich Text Format

Friday, January 28th, 2005


Many people think that RTF is actually an HTML editor for there blog or content management system. This is true to a point. RTF originally was a file format known as Rich Text Format. These were text files with special instructions for formatting. Each file would be saved with an extension of RTF.

Lately, I’ve been working with “real” rtf controls and learning the language so that I could create colored text on the fly with the C# programming language. My main goal was to show two text boxes next to each other and color the differences between the two. If anyone has worked with source controlled environments, this will pretty much be the same thing as your code comparing tools, but much more simpler.

I’ve been looking across the internet for help on RTF commands and usually end up on sites helping people out with the HTML RTF Controls. However, I have finally found some good sites for RTF commands and would like to document them here for later reference.

The RTF Cookbook Overview and quick Reference

Rich Text Format (RTF) Version 1.5 Specification

My Boss’s Boss

Friday, January 28th, 2005


When I first joined up with the company I am currently working with, I had a guy (Mr. N) who I worked under, and then there was a guy (Mr. T) who he worked under. I always referred to this upper-management guy as my boss’s boss, so that my wife could understand the hierarchy easier.

I got the job through Mr. N - he was my room mates friend. Mr. N was a young guy who was just … Faced paced and not meant to be a manager (not yet at least). Mr. T was a guy with a cool personality and the desire to embrace new technologies. I don’t want to say anything mean about Mr. T, because there was nothing mean about him. My problem is with the evil Mr. N. I don’t think he realized the damages of his actions and inactions.

Anyway, Mr. N was not great. In fact, he was horrible. Any time I had problems with him, I always CC’d Mr. T on the emails that we had back and forth to keep him in the loop. It got to the point where I didn’t enjoy coming into work at all and would search for reasons in the morning why I should continue coming into work.

The biggest reason … I had just purchased a house and couldn’t afford to lose my job. This alone was the reason why I would continue into work every day and bear with the stuff that had gone down.

I had later moved within the company to another location and heard stories from another co-worker about there horror stories with Mr. N. They even got there boss switched with someone else. I didn’t even know that was an option!

Anyway, later on, Mr. T became a normal co-worker and had even transferred over to my location. He was no longer my superiors superior, but my equal. How weird is that? I still refer to him as my boss’s boss (even though it should be my ex-boss’s ex-boss who is now my co-worker).

Now, Mr. T has left as well as more then half of the people that I started out with at this new location. Everyone had different reasons. I just discovered that Mr. T has his own blog and has a theory that managers drive people away (not companies). He related this to a co-worker that had just transferred to another location. I just couldn’t see this latest co-worker as having problems with my current manager, Mr. P.

Actually, I have left many companies because of management. I would never stay longer then a year with them. However, this company is different. I’ve been here for three and a half years. My current manager is great - primarily because he can understand my skill sets. Most of my managers in the past didn’t know what they had. Also, Mr. P acknowledges my skills and encourages me along with my co-workers.

Mr. P is also sincere when acknowledging my skills. In the past, when other managers would say something, they would say it without understanding. I guess Mr. N would say things with meaning, but I don’t recall any acknowledgements except when raises and reviews came around.

Sometimes I would get worked up with Mr. N’s reviews. They would be so damning, but worded with nice words. With Mr. P - it is a consistent acknowledgement and I’m the go to guy for many problem solving tasks. I get great reviews every year with him.

Beating the system

Thursday, January 27th, 2005


I’ve been surfing a few traffic exchange services in order to drive traffic to my own blog. The services make you wait twenty to thirty seconds before moving on. If you surf to fast, you don’t earn your credits.

I would get bored just waiting for my time to pass or forget about it all together. So I signed up for five of them and just keep moving between browser windows to surf the next blog. This takes all the fun out of it and I begin to realize that this is probably what many of the people who hit my own website through these programs are doing.

Blog Explosion

Blog Crowd

Blog Clicker

Hit Safari

Wolf Surfer

This just goes to prove to me once again that the real drive behind visitors to my site is collaboration and networking. I’m going to have to get out there and talk to people on there blogs one-on-one by leaving feedback to stories. Of course, you can’t just leave any feedback. I’ll have to actually read, comprehend, and have a good opinion to leave behind.

Oh, this is going to take too long. I’ll just have to limit myself to just using one for now on and interact with the sites that I visit.

Why can’t I just be famous? Why do I have to do all this extra work for people to come to my website? And … Why do I want people to come here? I think that is the biggest question. I started this blog with the intent of just writing about my life for a reference to look back on. Why do I have this desire for everyone else to read about it?

I’m a Mid-Level Nerd

Thursday, January 27th, 2005

I found this quiz through Soy Un Perdedor while surfing Blog Explosion. I figured that I would give it a go. I didn’t come close to his score of 96 … but he, I’m not really a nerd. I’m a dork.

My wife gets confused and accidentally calls me a geek sometimes. I get really worked up and have to explain the differences to her. Actually, the only differences I can come up with is the letters in the word. They pretty much mean the same thing. One sounds better to me then the other. That’s about it.



I am nerdier than 76% of all people. Are you nerdier? Click here to find out!

Embarrassing Moments

Thursday, January 27th, 2005

Many friends of mine in the blogosphere are listing there most embarrassing moments. I figured that I would join in on the fun and list mine.

Most of my embarrassing moments were the result ignorance about my lactose intolerance until my wife pointed it out to me. Pretty painful experiences if you ask me. Once she suggested it, I was in denial at first. Looking back on my past, so many things started to make sense. I wonder why my parents never caught onto this.

One time was going to the movie theater to see Teenage Mutant Ninja Turtles The Movie. I was with my brother and Gandhi. I ran to the bathroom but didn’t make it all the way in time. I cleaned myself up as best as I could and watched the movie, but the whole time I was there, I was hoping to God that no one could smell anything. Mom came by later to pick us up and go home.

Let’s see … There was that stage during puberty when I would spend long amounts of time in the bathroom. My mother stormed in on me once telling me to get off the toilet. I guess she thought I was doing something else that I hadn’t learned about at that time yet. A little after that, she took me in to see a doctor and from what I remember, he suggested to eat plenty of yogurt so that my stomach could handle food easier. Yea, like that would help. It pretty much made it worse.

While I was growing up, my parents would get a lot of government cheese. Me, my brother and two sisters would make a snack out of that stuff. It was easy. Cut it up into small cubes and dip it in mustard.

I was showing off how much of a man I could be by eating a very hot Jalapeno pepper at Popeye’s restaurant. It came in a small package individually wrapped. It was hard enough just to breathe. I immediately asked for milk to soothe the pain in my mouth. I spent the next hour on the toilet in a disgusting bathroom. It was one of those bathrooms where the door wouldn’t stay shut, so my hands are outstretched pressing against the door while my other end is ripping to pieces.

White Marsh, Maryland

Wednesday, January 26th, 2005


white-marsh


white-marsh,
originally uploaded by lewismoten.

This picture has a lot to say. You can see my first dog, Barney. He is just a pup in this photo. I must have been really small back then. Maybe I was in elementary school. We couldn’t really play with him because he was always on a chain.

I remember the day that I came home and saw him lying dead on the ground with his tongue out. The funny thing is that I was quiet about it and didn’t cry until a few weeks later at the dinner table. I’m guessing that might be why they went ahead and got Marble. He was great to play with when he was a puppy because I could hold him close to me and think about stuff. But before long, he got big and jumpy and was put on the same chain as Barney. The two looked just like each other.

Behind Barney is the big oak tree in our back yard. This was our designated play area. You can see a tire swing hanging off of it and a big sand pile as well. There was a regular swing set on the front side of it. I remember just laying on my back and lookup up through the branches. The leaves would blow in the wind with a great sound and I could see the sky in small areas between the leaves. I loved that tree. I hope it is still standing today.

My dad was a big fire wood kind of guy. We had radiators all throughout the house, but we also had a large iron wood stove in our living room. My brother and I would come in from the snow and squeeze the water out of our gloves onto the wood stove for kicks. It was fun watching how the water would boil and turn into steam really fast. Dad would also put iron pans full of water on the stove if the air got too dry in the house.

Dad had five acres of wooded property up in Delray, West Virginia that we would go off to every now and then. He would cut down any dead trees that he found and then cut them up. My brother and I would grab the wood and haul them over to the van. We would sometimes take turns with who would stack the logs in the van while the other ran and picked up the wood. My back would kill me from bending over when I was in there. Actually, my back would kill me when I ran to get the wood as well. It was hard work.

Behind the wood tree is the cherry tree next to the green apple tree. That cherry tree had split in half, but my parents got a winch and brought it back together. The tree survived and we would still make cherry pies every year afterward. We would spend hours pitting them with a cherry pitter. Mom really knew how to make those pies really sweet. She would also make apple pies too.

Behind the cherry and apple trees is a shack. There are 4 beds in there. Actually, they were remains of beds. There was wood with rope that you would put a mattress on top of, but it was mainly full of junk. There was a chicken coup attached to the back made of metal. Only dad would go in to feed them and get the eggs. Behind that building is the old willow tree.

The building closest to the camera is the garage. I would spend hours up in the attic of the garage just looking through my parents junk. It was really hot up in there. Sometimes I would just stand at the top of the ladder and look out the window at the top just looking at the back yard. I was afraid of heights so getting all the way up into the attic meant that I would have to get back on the ladder. Getting on a ladder to go down is harder then getting off when you are at the top. I still have problems with the step ladder up to my attic today.