[Pro] blogger template

Hi,

I am trying to create a blogger template but each time I paste the HTML into the EDIT TEMPLATE area in Blogger then click save I get the following error:

“Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
XML error message: Attribute “style” was already specified for element “img”.”

Anyone suggest what the problem is?

Thanks,

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Have you added some custom code on your page? The error states that you have two style attributes applied to an image element, something that shouldn’t be possible in Freeway.

If you paste your HTML here, or send it to me personally I can take a look for you.

Joe

On 13 Apr 2010, at 15:41, pixelart wrote:

Hi,

I am trying to create a blogger template but each time I paste the HTML into the EDIT TEMPLATE area in Blogger then click save I get the following error:

“Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
XML error message: Attribute “style” was already specified for element “img”.”

Anyone suggest what the problem is?

Thanks,

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Joe,
Here’s the html code I pasted in:

<![CDATA[ body { margin:0px; background-color:#fff; height:100% } html { height:100% } img { margin:0px; border-style:none } button { margin:0px; border-style:none; padding:0px; background-color:transparent; vertical-align:top } p:first-child { margin-top:0px } table { empty-cells:hide } .f-sp { font-size:1px; visibility:hidden } .f-lp { margin-bottom:0px } .f-fp { margin-top:0px } .f-x1 { } .f-x2 { } .f-x3 { } em { font-style:italic } h1 { font-size:18px } h1:first-child { margin-top:0px } strong { font-weight:bold } h1.title { margin-top:0; font-family:;font-size:24px; color:#000000; text-align:Left; } .description { font-family:;font-size:12px; color:#000000; text-align:Left; }

.post-wrapper:first-child { margin-top:0; }
h3.post-title { font-family:;font-size:24px; text-align:Left; }
h3.post-title a { color:#000000; text-decoration:underline; }
h3.post-title a:hover { color:#000000; text-decoration:underline; }
h2.date-header { font-family:; font-size:12px; color:#000000; text-align:Left; }
.comments h4 { font-family:; font-size:12px; color:#000000; text-align:Left; }
.post-body, .comment-body { font-family:; font-size:12px; color:#000000; text-align:Left; }
.comment-body { font-family:; font-size:12px; color:#000000; text-align:Left; }
p.post-footer-line-1 { text-align:Left; }.post-author, .post-timestamp, .comment-author{ font-family:; font-size:12px; color:#000000; }
a.timestamp-link { font-family:; font-size:12px; color:#000000; text-decoration:underline; }
a:hover.timestamp-link { color:#000000; text-decoration:underline; }
a.comment-link, .comment-timestamp a, .comment-author a { margin-left:5px; font-family:; font-size:12px; color:#000000; text-decoration:underline; }
a:hover.comment-link, .comment-timestamp a:hover, .comment-author a:hover { color:#000000; text-decoration:underline; }
p.post-footer-line-2 { text-align:Left; }.post-labels { font-family:; font-size:12px; color:#000000; }
.post-labels a { color:#000000; text-decoration:underline; }
.post-labels a:hover { color:#000000; text-decoration:underline; }
.feed-links { font-family:; font-size:12px; color:#000000; text-align:Left; }
a.feed-link, .comment-footer a, .blog-pager a { font-family:; font-size:12px; color:#000000; text-align:Left; text-decoration:underline; }
a:hover.feed-link, .comment-footer a:hover, .blog-pager a:hover { color:#000000; text-decoration:underline; }

.Profile h2 { font-family:; font-size:24px; color:#000000; text-align:Left; }
.profile-data { font-family:; font-size:12px; color:#000000; text-align:Left; }
.profile-textblock { margin-left:0; font-family:; font-size:12px; color:#000000; text-align:Left; }
a.profile-link { font-family:; font-size:12px; color:#000000; text-align:Left; text-decoration:underline; }
a:hover.profile-link { color:#000000; text-decoration:underline; }
.widget-content { text-align:Left; }

.BlogArchive h2 { margin-top:0; font-family:;font-size:24px; color:#000000; text-align:Left; }
.archivedate { font-family:; font-size:12px; color:#000000; }
a.post-count-link { font-family:;font-size:12px; color:#000000; text-decoration:underline; }
a:hover.post-count-link { color:#000000; text-decoration:underline; }
li { list-style:none; }
.posts li a { font-family:; font-size:12px; color:#000000; text-decoration:underline; }
.posts li a:hover { color:#000000; text-decoration:underline; }

]]></b:skin>

logo
logotitle

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Joe,
As you can see there doesn’t seem to be enough space to paste in all the code.

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Try using Pastie.org for pasting code samples.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Or, put four tildes in a row by themselves before and after the code block, like this:

<html>
<head>
<title>Foo</title>
</head>
<body>
<h1>Bar</h1>
</body>
</html>

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here’s the pastie link:

http://pastie.org/917752


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Very strange, there are extra style tags in both your images, would you be able to send your Freeway file into support(a)softpress.com so we can take a closer look please. In the meantime try this:


<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 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='text/html; charset=UTF-8' http-equiv='Content-Type'/>
<base href='www.charischurch.org.uk/blogger/'/>
<b:include data='blog' name='all-head-content'/>
	<title><data:blog.pageTitle/></title>
<meta content='width = 960, minimum-scale = 0.25, maximum-scale = 1.60' name='viewport'/>
<meta content='Freeway 5 Pro 5.4.2' name='GENERATOR'/>
<b:skin><![CDATA[ 
body { margin:0px; background-color:#fff; height:100% }
html { height:100% }
img { margin:0px; border-style:none }
button { margin:0px; border-style:none; padding:0px; background-color:transparent; vertical-align:top }
p:first-child { margin-top:0px }
table { empty-cells:hide }
.f-sp { font-size:1px; visibility:hidden }
.f-lp { margin-bottom:0px }
.f-fp { margin-top:0px }
.f-x1 {  }
.f-x2 {  }
.f-x3 {  }
em { font-style:italic }
h1 { font-size:18px }
h1:first-child { margin-top:0px }
strong { font-weight:bold }
h1.title { margin-top:0; font-family:;font-size:24px; color:#000000; text-align:Left; }
.description { font-family:;font-size:12px; color:#000000; text-align:Left; }

.post-wrapper:first-child { margin-top:0; }
h3.post-title { font-family:;font-size:24px; text-align:Left; }
h3.post-title a { color:#000000; text-decoration:underline; }
h3.post-title a:hover {  color:#000000; text-decoration:underline; }
h2.date-header { font-family:; font-size:12px; color:#000000; text-align:Left; }
.comments h4 { font-family:; font-size:12px; color:#000000; text-align:Left; }
.post-body, .comment-body { font-family:; font-size:12px; color:#000000; text-align:Left; }
.comment-body { font-family:; font-size:12px; color:#000000; text-align:Left; }
p.post-footer-line-1 { text-align:Left; }.post-author, .post-timestamp, .comment-author{ font-family:; font-size:12px; color:#000000; }
a.timestamp-link { font-family:; font-size:12px; color:#000000; text-decoration:underline; }
a:hover.timestamp-link { color:#000000; text-decoration:underline; }
a.comment-link, .comment-timestamp a, .comment-author a { margin-left:5px; font-family:; font-size:12px; color:#000000; text-decoration:underline; }
a:hover.comment-link, .comment-timestamp a:hover, .comment-author a:hover { color:#000000; text-decoration:underline; }
p.post-footer-line-2 { text-align:Left; }.post-labels { font-family:; font-size:12px; color:#000000; }
.post-labels a { color:#000000; text-decoration:underline; }
.post-labels a:hover { color:#000000; text-decoration:underline; }
.feed-links { font-family:; font-size:12px; color:#000000; text-align:Left; }
a.feed-link, .comment-footer a, .blog-pager a { font-family:; font-size:12px; color:#000000; text-align:Left; text-decoration:underline; }
a:hover.feed-link, .comment-footer a:hover, .blog-pager a:hover { color:#000000; text-decoration:underline; }


.Profile h2 { font-family:;  font-size:24px; color:#000000;  text-align:Left; }
.profile-data { font-family:; font-size:12px; color:#000000; text-align:Left; }
.profile-textblock { margin-left:0; font-family:; font-size:12px; color:#000000; text-align:Left; }
a.profile-link { font-family:; font-size:12px; color:#000000; text-align:Left; text-decoration:underline; }
a:hover.profile-link { color:#000000; text-decoration:underline; }
.widget-content { text-align:Left; }

.BlogArchive h2 { margin-top:0; font-family:;font-size:24px; color:#000000; text-align:Left; }
.archivedate { font-family:; font-size:12px; color:#000000; }
a.post-count-link {  font-family:;font-size:12px; color:#000000; text-decoration:underline; }
a:hover.post-count-link { color:#000000; text-decoration:underline; }
li { list-style:none; }
.posts li a { font-family:; font-size:12px; color:#000000; text-decoration:underline; }
.posts li a:hover { color:#000000; text-decoration:underline; }

]]></b:skin>
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="css/ie6.css"/>
<![endif]-->
</head>
<body>
<div id='PageDiv' style='position:relative; min-height:100%; margin:auto; width:960px'>
	<table border='0' cellpadding='0' cellspacing='0' style='table-layout:fixed' width='961'>
		<colgroup>
			<col width='21'/>
			<col width='216'/>
			<col width='1'/>
			<col width='5'/>
			<col width='445'/>
			<col width='17'/>
			<col width='217'/>
			<col width='38'/>
			<col width='1'/>
		</colgroup>
		<tr valign='top'>
			<td colspan='8' style='height:42px'/>
			<td style='height:42px'/>
		</tr>
		<tr valign='top'>
			<td rowspan='4' style='height:187px'/>
			<td rowspan='4' style='height:187px'><img alt='logo' height='187' src='Resources/logo.png' style='float:left' width='216'/></td>
			<td colspan='6' style='height:64px'/>
			<td style='height:64px'/>
		</tr>
		<tr valign='top'>
			<td style='height:58px'/>
			<td colspan='5' style='height:58px'><img alt='logotitle' height='47' src='Resources/logotitle.png' style='position:relative; left:5px; float:left' width='694'/></td>
			<td style='height:58px'/>
		</tr>
		<tr valign='top'>
			<td colspan='6' style='height:36px'/>
			<td style='height:36px'/>
		</tr>
		<tr valign='top'>
			<td colspan='2' style='height:29px'/>
			<td rowspan='2' style='height:30px'>
	<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Test (Header)' type='Header'/>
</b:section>
</div>
	</td>
			<td rowspan='2' style='height:30px'/>
			<td rowspan='4' style='height:106px'>
	<div id='profile'><b:section class='profile' id='profile'>
<b:widget id='Profile1' locked='false' title='About Me' type='Profile'/>
</b:section></div>
	</td>
			<td rowspan='4' style='height:106px'/>
			<td style='height:29px'/>
		</tr>
		<tr valign='top'>
			<td colspan='4' style='height:1px'/>
			<td style='height:1px'/>
		</tr>
		<tr valign='top'>
			<td colspan='6' style='height:9px'/>
			<td style='height:9px'/>
		</tr>
		<tr valign='top'>
			<td colspan='4' rowspan='3' style='height:156px'/>
			<td rowspan='3' style='height:156px'>
	<div id='main-wrapper'>
	<b:section class='main' id='main' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
</b:section>
</div>
	</td>
			<td style='height:67px'/>
			<td style='height:67px'/>
		</tr>
		<tr valign='top'>
			<td colspan='3' style='height:13px'/>
			<td style='height:13px'/>
		</tr>
		<tr valign='top'>
			<td style='height:76px'/>
			<td rowspan='2' style='height:164px'>
	<div id='archive'><b:section class='archive' id='archive'>
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'/>
</b:section></div>
	</td>
			<td rowspan='2' style='height:164px'/>
			<td style='height:76px'/>
		</tr>
		<tr valign='top'>
			<td colspan='6' style='height:88px'/>
			<td style='height:88px'/>
		</tr>
		<tr class='f-sp'>
			<td><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='21'/></td>
			<td><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='216'/></td>
			<td><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='1'/></td>
			<td><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='5'/></td>
			<td><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='445'/></td>
			<td><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='17'/></td>
			<td><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='217'/></td>
			<td><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='38'/></td>
			<td style='height:1px'><img alt='' height='1' src='Resources/_clear.gif' style='float:left' width='1'/></td>
		</tr>
	</table>
</div>
<div id='footer-wrapper'><b:section class='footer' id='footer'/></div></body>
</html>
                

On 13 Apr 2010, at 18:15, pixelart wrote:

Here’s the pastie link:

http://pastie.org/917752


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Joe,
Tried your suggestion but get the following error:

“Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
XML error message: Content is not allowed in prolog.”

Thanks,
Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks all for the suggestions. I have rebuilt the template stripping out any layered items and it now seems to work ok. It’s just a shame that any layered items seem to cause problems - I was particularly wanting to use the Text Box Decoration action on some items - but this also prevents the template working.

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can use layered items in the template. I’m trying to read the code jumble here to see what’s going on. My old blogspot account was made using only layered items, but it came down to the external CSS that made it tricky.

Would it have anything to do with the missing http:// prefix in the Web Address field under Upload in Document Setup that makes it not well formed? I can see this in the BASE HREF setting in the template code.

I’d be interested to find out what it is. Typically it’s either a coding error or it’s that people have ‘Classic Template’ selected.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dan,

What exactly is the “Classic Template”? I don’t ever remember being offered the choice when I have set up blogs.

Thanks,

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options