Skip to main content

XML Gadgets Do Not Work In HTML Templates

One of the more intriguing questions, seen occasionally in Blogger Help Forum: Learn More About Blogger, is about blog accessories, and template antiquity.
I feel the customization with HTML templates is a lot more unique - but I wanted a certain gadget, on my blog. I upgraded my template in order to add the gadget, and copy its coding. After reverting back to the Classic template, I placed the gadget into my HTML. How do I get the gadget to work?
This blog owner does not understand the differences between HTML and XML.

Many Blogger accessories are written in XML.

XML code won't run, in an HTML only environment.
Blogger XML is a lot more versatile than HTML / JavaScript. Unfortunately, XML won't run, in an HTML only environment.

With an HTML only template, your blog won't have the XML libraries which support XML coded accessories. You can't use an XML coded gadget, in a template that only uses HTML.

The benefits of Layouts / Designer class templates will offset the drawbacks.
It's time to move forward, and try out Layouts / Designer class templates. Unique customisations, or not, what you will get, with the newer templates, will make up for the differences.

The XML gadgets, that will only work with Layouts / Designer class templates, are just a small reason, to move forward.

Multiple environment template support cannot last forever.
Supporting multiple versions of Blogger code requires resources - and all resources are finite. One day, Blogger Management will realise that the cost of supporting HTML only templates exceeds the benefits.

Whether the decision to end HTML only templates comes in an emergency - or simply a long term strategy - support for Classic templates will end, one day.

When the end comes, you will not enjoy the experience.
I helped support the migration from FTP Publishing, in 2010 - 2011. You do not want to be part of a similar scenario, when Classic to Layouts migration becomes a necessity, and has a deadline.

If your blog uses an unconverted Classic template, move forward. It will be easier than you think, right now. Do it this month - or this year. Don't plan on waiting out the decade.

Comments

Farinaz Parsay said…
My blog is: Live on blog based on watermark, edit HTML. Should I change anything? If yes what should I change it to among all those types of blogs mentioned there. I am not very clear myself and I appreciate your help and advice.
Chuck Croll said…
Ah the mysterious Farinaz, terror of the immigration officer (poor fella),

Thanks for the question! Your blog uses Watermark, a Layouts class template.
/*
-----------------------------------------------
Blogger Template Style
Name: Watermark
Designer: Josh Peterson
URL: www.noaesthetic.com
----------------------------------------------- */

You have no real need to upgrade - but one day, you may look at the other Layouts and Designer templates, and find more possibilities.

Or maybe not. With use of the Template Designer, you can change background, colours and fonts, and layout at will.

So in your case, you are fine. Just keep adding stories like "Flashback".
This comment has been removed by the author.
Chuck Croll said…
Hi Penniwig,

Thanks for asking.

Unfortunately, you're not mentioning the URL Of the blog, anywhere that I can find. Let me know the URL of the blog?
This comment has been removed by the author.

Popular posts from this blog

Custom Domain Migration - Managing The Traffic

Your blog depends upon traffic for its success.

Anything that affects the traffic to your blog, such as any change in the URL, affects the success of your blog. Publishing the blog to a custom domain, like renaming the blog, will affect traffic to your blog. The effects of the change will vary from blog to blog, because of the different traffic to every different blog.Followers. People who find your blog because of recommendations by other people.Search engines. Robotic processes which methodically surf your blog, and provide dynamic indexing to people who search for information.Subscribers. People who read your content from their newsfeed reader, such as the dashboard Reading List.Viewers. People who read your content from their browser.No two blogs are the same - and no two blogs will have the same combinations of traffic sources.

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.