Skip to main content

Posts

Showing posts with the label Template Edit HTML

Blogger Magic - Third Party Templates

There are millions of Blogger blog owners - and each owner has their own idea, how their blog should look. Not every blog owner is willing to settle for using a Blogger supplied template. Some blog owners design their own templates - and others choose templates provided by non Blogger developers. Some blog owners - even those with no technical background - choose third party supplied templates, and demand instructions in Blogger Help Forum: Learn More About Blogger . Not every blog owner can be supported, according to their personal level of need.

Atom Vs RSS - Choose One, Using FeedBurner

Occasionally, we see a blog owner in Blogger Help Forum: Learn More About Blogger , asking about newsfeed formats. Which is better, for my readers - Atom or RSS? How do I choose, what to provide, in my blog? The competing newsfeed formats - Atom and RSS - have been a part of Internet life, for many years. Both formats have their devotees - and this is why there are two formats. Both formats have their own advantages - and disadvantages .

Some bX Codes Caused By Zero Alpha ("rgba") Value

We're seeing a few reports of bX codes, that are not solved by simply resetting the template - and do not involve the mysterious "500 Internal Server Error" . In some cases, the blog owner may see a bX code when trying to use "Configure Blog Posts", or another Layout gadget wizard. If the blog itself can be viewed, and Template HTML Editor is usable, the bX error may come from use of a "0" Alpha color setting. Blogger Engineering is aware of the problem, and has suggested that a fix is being developed. While we await the necessary fix, we may need to work around the problem.

Recovering A Broken Template, Using "Edit HTML"

I have, for a long time, recommended regular template backups , for those who like to tweak the template. Normal backup uses the "Backup" wizard, on the dashboard Template page. When backed up, an XML file, containing the template code, is extracted and saved locally. To restore, the "Restore" wizard is used and a previous Backup XML file selected. That's how Backup / Restore should work - but it isn't always that easy.

HTML Based Accessories, For Individual Posts

Blog owners are constantly asking how to add post specific accessories, from third party services. How do I add a Like button, for my posts? Adding many post accessories requires adding XML code, to the post template. Adding code to the post template is scary - and it can cause problems, when incorrectly done. The easiest way to add a per post accessory is to add an HTML gadget that references the post by the URL, as displayed for the page. The problem with an HTML gadget is that it simply references the page displayed. If your posts are read from the main page, or an archive page - and somebody uses a Like accessory, what happens?

Blogger Magic - Reset The Post Template, 2015

In 2010, we learned about the mysterious Post Template - and the problems that can be caused, when it is corrupt or out of date. We developed magical ways of correcting the problems . Revert the widget templates. Reset the post template. Add or tweak specific template code. It's now 2015, and Blogger Engineering has rewritten the Template Editor , and given us new possibilities for correcting problems with the post template - and other gadgets.

Backup The Template, When Making Changes

If you've ever done programming - including updating existing code (generally made by another person, who you grow to hate) - you know of the value of backups. Any time you improve or repair existing code, there is always the possibility of making mistakes. Code is written by people - and people make mistakes. Sometimes, the mistake may be in the code, as originally created (and used for months, until you touched it). Other times you make one mistake on your own, and the whole thing crashes. Experienced programmers know that making mistakes is part of programming. When you make a mistake, be prepared to recover from - and learn from - the mistake. This is true, when making template changes, in your blog.

Add Accessories Using "Layout" - Avoid "Template"!

We've dealing with owner installed malware, for over 5 years , when reported in Blogger Help Forum: Get Help with an Issue . In early 2010, we diagnosed the first mass malware installation. Owner installed malware can be quite deceptively marketed , by the hackers who produce it. With proper blog setup, and accessory installation policy, though, identifying and removing misbehaving accessories can be made easier.

Diagnose Problems, With Blogs Using Dynamic Templates, Using Non Dynamic Templates

The process of examining browser source listings for a blog, and of having a blog owner carefully examine blog template code, is an important part of diagnosing many Blogger problems. With blogs published to dynamic templates, neither source listings , nor template "Edit HTML" , contain as much useful information, as with blogs published to non dynamic templates. Dynamic templates reference scripts, that are hosted in external libraries - and that cannot be updated or viewed. The idea of having templates that were less customisable was originally supposed to encourage people to work on post content, and increase stability of their blogs - not create instability.

Publishing A Gadget To A Specific Page

Long before Blogger developed static pages, blog owners had wanted to have some accessories or gadgets visible only on specific pages. Initially, we discovered that gadgets could be displayed conditionally , based upon the URL being displayed. This is a fairly simple task, when you get used to it - but it requires editing the template HTML - and can look a bit scary, to those inexperienced in template editing. Recently, we realised that some gadgets can be embedded in a page or post, by editing in HTML mode - and accomplish the same. I demonstrated my custom "Contact Me" gadget , using that ability.

Tweak The Post Template, Only When Necessary

Occasionally, we see the query, in Blogger Help Forum: How Do I? How do I change these captions? / Add this feature? / Remove specific components of this feature? Conversely, we see in Blogger Help Forum: Something Is Broken Why does this new Blogger feature not work in my blog? These questions, in many cases, may be related. We can see the connection, when we look closer at how the changes are applied.

Adding Author Identification, To Post On FaceBook

Similar to the Google Authorship feature , FaceBook provides an author identification feature. FaceBook uses " Open Graph " code to accomplish what Google provides, with simple back and forward links. The required FaceBook OG code is added to the blog template, as metadata. To add open graph FaceBook authorship identification to this blog, I added the necessary code to the blog template. You can do the same, with your blog.

Dynamic Template Instabilities Have Multiple Causes

For some time, we've been seeing reports, in Blogger Help Forum: Something Is Broken , about blogs using blogs using dynamic views, which display incompletely , and lack specific features. Various blog owners have developed, and reported, a workaround to the problem, which involves using an unpublicised Blogger setting found in the template HTML code. This workaround sets a loading delay, known as Timeout . There are several different causes of the dynamic view problem - some varying by the different blogs, others varying by the blog viewers - and some, varying by the Blogger / Google infrastructure. None of the causes will be universal in effect. This will result in varying success, when using a static Timeout setting as a workaround for the problems.

Dynamic Template Instabilities Have Multiple Symptoms

Recently, we've been seeing a few reports, in Blogger Help Forum: Something Is Broken , about blogs using dynamic templates, which display incompletely , and lack specific features. Various blog owners have developed, and reported, a workaround to the problem, which involves using an unpublicised Blogger setting found in the template HTML code. This workaround sets a loading delay, known as Timeout . The currently recommended Timeout setting will force a fixed delay on blogs using the workaround, which may not be 100% effective in all cases. The effectiveness may vary, according to the specific problems reported by the various blog owners.

Dynamic Templates, And Network Problems - #2

We're been getting problem reports in Blogger Help Forum: Something Is Broken , from various dissatisfied blog owners , who chose a dynamic template for their blog. The problems reported involve various symptoms. Blogs displayed will lack various gadgets, in the slideout gadget bar. Some blogs, when customised, will display using default layout and template settings. Some customisations, applied recently, just won't show up . Various blog owners have discovered a solution, based on code present in newer dynamic templates. This solution has been publicised, in forum discussions - and in various blogs and web sites. <script language='javascript' type='text/javascript'> setTimeout(function() { blogger.ui().configure().view(); }, 1000 ); </script> The solution, as proposed, involves a very simple change - but the change won't be immediately, or permanently, 100% effective.

When Using Template "Edit HTML", The Edit Window Remains Blank

Since Blogger released their improved Template Editor , blog owners have been reporting a new, transient problem. I click on "Edit HTML", and the editing display opens - but the HTML window remains blank. Generally, you may wait a few seconds, and the HTML window will fill with the content. With enough patience, you'll see the content arrive - eventually. Unfortunately, waiting won't always provide a solution.

All Template Changes Won't Always Be Visible, When The Blog Is Published

Not all blog owners appreciate the differences between using the various template wizards, and what they will actually see, once the blog is published. The confusion about the various template wizards, and what is actually seen, expressed in Blogger Help Forum: Something Is Broken , is numerous. Why aren't my changes to the template being saved? This question is expressed in a number of ways - and has a number of causes.

The Option To "Expand Widget Templates", In The Template "Edit HTML" Wizard, Is No More

One of the more confusing features of the Blogger Template "Edit HTML" wizard , used to be the option to Expand Widget Templates With the new "Edit HTML" wizard , that option is not needed. Given the choice to "Expand Widget Templates", the typical blog owner was frequently caught between a rock, and a hard place, when editing gadgets. Don't use the option - and the gadget code section, which was to be edited, remained concealed. Use the option - and all gadget code sections were expanded, revealing all gadget code. This frequently left the owner with either no information - or too much information, from which to work. Broken templates, caused by improper template HTML edits, were common.