Archive for » August, 2007 «

Is your site XHMTL compliant? Don’t know? “Run it through” the “Validator” at w.3.org.

It’s not uncommon for a site to contain many errors. Three reasons you may get errors are:

1) Your theme contains errors

2) Your plugins or widgets contain errors

3) Your advertising code contains errors.

To find out if a new theme you’ve uploaded contains errors, run it through the Markup Validation Service, before you add any plugins or posts to your site. If you find errors in a theme you’ve just uploaded, and you’re comfortable with HTML, try fixing them. If not, you may be better off, finding a theme which is compliant.

As you’re adding your plugins, test them one by one. If a plugin creates an error, you may decide not to use it.

As you add your advertising HTML code, check to see if it’s compliant. If it’s not, try a different ad format, or don’t use the ads from that particular advertiser.

If you correct the HTML code, remember to retest your site.

Remember to always keep a backup of your pages.

In the event you create problems on your site that deems it inoperable (and you didn’t keep a backup), go to your FTP client file, where you can “re-upload” the respective pages. If you’re not sure where you’ve messed up, delete the respective theme, and upload it again. You’ll have lost any changes you’ve made, however, your site should be back up and running.

If your site has a lot of posts, save a copy to your hard drive, before you start trying to correct HTML code. If you don’t save a backup, you could risk losing all of the hours you’ve invested in your blog development, plus your ratings and traffic counts.

BTW: When I first ran this site through the Validator, I had over 90 errors. I disabled several of my plugins and now am down to 23 errors.

Category: Archives, Lessons Learned, Plugins and Widgets  Comments off

Testing your WordPress blog on Firefox, Internet Explorer, and other browsers is imperative.

I use the Firefox browser for most of my work. However, when I began testing my blog’s appearance on the Internet Explorer (IE) browser, I began seeing a different “look”. When I thought I had things perfect, based on Firefox, a test on IE, showed me that some items, weren’t even close to perfection.

So, what do you do?

I’ve begun doing more tweaking of my blogs, using Internet Explorer, especially when I’m working with my sidebars, and adding  HTML code.

Having checked my stats, I’m seeing that over 25% of my readers are using Internet Explorer on my second blog, while on this blog, the percentage is lower. My ultimate goal is to present a blog that looks good, and is easy to navigate for all of my readers, no matter which browser they’re using.

Ironically, the theme I chose for my third blog, (which is still under construction), totally collapses in Internet Explorer. I’ve tried doing the “fix” that’s suggested, however, that still doesn’t make it readable in IE. So, for that blog, it’s back to the drawing board.

My next step is to begin testing all of my themes in other browsers.

Based on my findings, it appears your blog “theme”, is only as good as it’s appearance in all browsers.

Have you tested yours?

Adding a Google Search Bar on your blog/website, can help you increase your Google earnings.

This is almost a no brainer, as most themes already include a search bar.

To add AdSense for Search is easy.

Log into your Google account. Go to “AdSense Setup”, click on “AdSense for Search”, and follow the instructions.

You can add a search bar that will allow your readers to search either your site or Google, or just Google. You also choose the layout, and size of the search bar.

If you’re trying to shorten the length of the search bar, change the “length of text box” to a smaller number. I used “23″ for mine. and positioned the Google logo, above the search box.

Once you’ve made all of your choices, Google provides you with some HTML code to paste into your site.

I’ve added AdSense for Search to both of my blogs.

On this blog, you can see it “in action” on my right sidebar. I chose the white background.  A black background is also available.

So, if you’re looking for a way to increase your Google earnings, why not incorporate AdSense for Search into your site.


RSS feeds are a great way to let readers know when you’ve updated your blog.

After “crashing”, and “revamping” my blog last week, I’ve added a plugin named “Subscribe Me”. I have activated the “drop down” option, and offer my readers a variety of ways to subscribe to my blog.

I use the larger RSS feed symbol in my header, and added “Subscribe Me” plugin, to my “Social Network” section.

If you’re interested in this free plugin, more information and download instructions, can be found at Semiologic.com.

Category: Archives, Plugins and Widgets  Comments off

Some of my plugins are causing XHTML validation errors.

I recently used The W3C Markup Validation Service, to check the validity of my blog pages. The Markup Validation Service returned a lot of XHTML errors on my pages. Upon further research, I found that some of the plugins I was using, were creating the majority of these errors.

If you’ve never heard of this service, to quote them:

The Markup Validator is a free service by W3C that helps check the validity of Web documents.

Most Web documents are written using markup languages, such as HTML or XHTML. These languages are defined by technical specifications, which usually include a machine-readable formal grammar (and vocabulary). The act of checking a document against these constraints is called validation, and this is what the Markup Validator does.

Since using the validation service, I have deactivated some of my plugins, and am working on correcting the remaining errors that exist in my pages.

I’m not sure if having “invalid” pages creates problems for search engines or my readers, however, common sense tells me that having a “validated” page would result in less problems.

Or as quoted by The W3Markup Valaditor Service, in their FAQ

Why should I validate my HTML pages?

One of the important maxims of computer programming is: Be conservative in what you produce; be liberal in what you accept.

Browsers follow the second half of this maxim by accepting Web pages and trying to display them even if they’re not legal HTML. Usually this means that the browser will try to make educated guesses about what you probably meant. The problem is that different browsers (or even different versions of the same browser) will make different guesses about the same illegal construct; worse, if your HTML is really pathological, the browser could get hopelessly confused and produce a mangled mess, or even crash.

Related Posts with Thumbnails
Category: Archives, Lessons Learned, Plugins and Widgets  Comments off