--> Convert Blogger Template into a blank HTML Page | Experience Lab - Online business creation and development guide for bloggers and startups

Convert Blogger Template into a blank HTML Page

BlogSpot templates are codded using the XHTML 1.0 Strict Document Type . It was developed by world wide web consortium on 26 January 2000. ...



turn blogger to blank pageBlogSpot templates are codded using the XHTML 1.0 Strict Document Type. It was developed by world wide web consortium on 26 January 2000. Unlike PHP or ASP.net the rules of XML are strict and unforgiving. A slight mistake in code results in terrifying error messages that you often see while editing your blog template. In order to understand how these templates are designed and programmed. You need to start from scratch. I was planning to release some grid and List view templates but the tough work schedule made it difficult to do so. However I am releasing today a simple code that will turn your test Blog's XML structure into a plain, empty template with no widgets. The entire blogger template consists of widgets that are operated and managed using classes and IDs. The blog posts section itself is a giant widget that can be styled in different ways. To make things simple I will share today how to create a blank HTML Page out of a Blogger Template and then start adding widgets to it to experiment exciting new ways of customizing the blog view.






Live Demo



Also check the Colouful tabs Demo page, the menu was added to a blank HTML Page created based on today's method.


How this is done?



A simple HTML Page has a document type description followed by a HTML, HEAD and BODY tags respectively. The meta tags,  JavaScripts and style sheets are always added inside the head section and the DIV sections or content is enclosed inside the body section. In Blogger since the template is programmed automatically through dynamic b:section tags therefore we first need to remove all such sections and leave just one because the XML markup tag requires presence of at least on such section. To simplify the process I have created a "Static HTML Theme"  that will work just fine for you. You can use this theme to play with exciting new tools, Fancy CSS3 tweaks, and practice your design skills. You will love working on it because it provides you with a much pleasant experience as compared to MBT HTML Editor


Steps To Install the Theme:



  1. Go To Blogger Dashboard

  2. Create a New Test Blog

  3. Give it a title and address

  4. Choose the Simple Template and not Dynamic Views

  5. Next Navigate to Template > Edit HTML > Proceed

  6. Replace all the code inside the editor with the following code:





<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE html>

<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>

  <head>

    <meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/>

    <b:if cond='data:blog.isMobile'>

      <meta content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0' name='viewport'/>

    <b:else/>

      <meta content='width=1100' name='viewport'/>

    </b:if>

    <b:include data='blog' name='all-head-content'/>

    <title><data:blog.pageTitle/></title>

   <b:skin><![CDATA[/*

-----------------------------------------------

////////////////////////STATIC HTML THEME////////////////////////////////////////////////////////////////////////////////////////

////////////////////////CODED BY : Mohammad Mustafa Ahmedzai////////////////////////////////////////////////////////////

/////////////////////// DOWNLOAD FROM: www.MyBloggerTricks.com  //////////////////////////////////////////////////

----------------------------------------------- */

#navbar-iframe {   height:0px;   visibility:hidden;   display:none   }

body {

  font: $(body.font);

  color: $(body.text.color);

  background: $(body.background);

  padding: 0 $(content.shadow.spread) $(content.shadow.spread) $(content.shadow.spread);

  $(body.background.override)  margin: 0;

    padding: 0;

}



]]></b:skin>

  

  </head>

  <body>

  <b:section class='navbar' id='navbar' maxwidgets='1' showaddelement='no'>

<b:widget id='Navbar1' locked='true' title='Navbar' type='Navbar'/>

</b:section>



<div style='margin-top:400px; '>

<!--Please keep the Credits intact-->

<center><p><a href='http://www.mybloggertricks.com'>My Blogger Tricks </a>&#169; 2012.</p></center>

</div>

  </body>

</html>



    7.  Click save and when prompted about the following error:




Warning: Your new template does not include the following widgets:                 BlogArchive1 Profile1 Attribution1 Header1 Blog1





simply click on Delete widgets and you are all done!



Important points:


  • While creating widgets, you will add the JavaScript just below <head> or above </head>

  • You will add the CSS code inside the two yellow highlighted sections

  • And you will add the widget data or HTML code inside the two green body tags





What you can't do?


Now if you visit the layout section of your blog by going to Blogger > Layout. You will find a blank field with the Favicon Widget only. If you create new posts or pages, they wont appear on your blog. If you have previously created posts then they will remain there, they wont get deleted but unless you add the blog post widget, no posts or comments will appear.




Create a Blog Post widget


create blog post widgetNow to give you an idea of how easily a blogger template could be designed from scratch simply add the following code just above </body> to make the Post widget function on your Static HTML Theme.








<b:section class='main' id='main' showaddelement='yes'>

<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>

</b:section>


Save your template and then visit the layout page again. You will be able to see the Post widget and you can now easily edit its formatting options. Go and create a new post and visit your blog to see it working just fine. Congratulations! you have created one of your first blogger widgets. Play this way with some exciting new widgets and find out how creative you could go.


To understand Google blogs programming, you will need to familiarize yourself with standard layout and widget tags. The best reference is provided by Blogger team itself. Please visit the following link to understand the core basics of data tags.


I also recommend using Codelobster for Designing web pages on your desktop or localhost.




Can you create a website now?



By turning the template into a static version, you can now easily create HTML web pages. Showcase your portfolio, promote your Ebooks by designing a download page for your Ebook and do whatever you want!





Your views



I hope this tutorial might have helped you to better develop and design your blogs. I am keeping the tutorials easy for the sake of better understandability. The future posts will teach you how to change the post list display and use tabs to switch between a grid or list view of posts on homepage. We hope you find this effort useful. All that we aim is improving your skills so that you may turn out to be far better designers, developers and bloggers. If you need any help, you are most welcome to bug me with as many questions as possible. Please take good care of yourselves and your loved ones. Peace buddies. :)


COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Convert Blogger Template into a blank HTML Page
Convert Blogger Template into a blank HTML Page
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfAm46_D3QRMW7tLwzmuXhqZ9daQaY1uNfWqsFiSeUz7LxgNxW1l4zMZ3pFpuauM_8wSxmVHTrlv3cSqBO0Xd6IoHlCyVns-OhZIkqSH8zQDhwfoeZ6jBL8oSKibaV5D7AudGBm-PDtSY/?imgmax=800
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfAm46_D3QRMW7tLwzmuXhqZ9daQaY1uNfWqsFiSeUz7LxgNxW1l4zMZ3pFpuauM_8wSxmVHTrlv3cSqBO0Xd6IoHlCyVns-OhZIkqSH8zQDhwfoeZ6jBL8oSKibaV5D7AudGBm-PDtSY/s72-c/?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2012/09/convert-blogger-template-into-blank.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2012/09/convert-blogger-template-into-blank.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy