作者brulee (brulee)
看板Blog
標題[問題] blogger修改版面
時間Sat Dec 2 22:33:39 2006
無法修改成功,一直出現以下文字...
我們無法剖析您的範本,因為它的結構不完整。 請確定所有的XML 元素均已正確關閉。
XML 錯誤訊息: The content of elements must consist of well-formed character
data or markup.
不知道該怎麼解決,可以請各位高手幫忙看一下嗎?
附上的東西很大坨,url因為還沒確定,用images代替,不好意思...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><$BlogPageTitle$></title>
<$BlogMetaData$>
<style type="text/css">
/* -----[ General styles ]------------------------------------------------------
*/
a:link
{
text-decoration: underline;
color: #c0c000;
}
a:visited
{
text-decoration: underline;
color: #303030;
}
a:hover
{
text-decoration: underline;
color: #ffffff;
}
a:active
{
text-decoration: none;
color: #ffffff;
}
blockquote
{
margin: 0px;
padding: 10px 20px;
font-size: 88%;
line-height: 1.25em;
color: #a0a0a0;
}
body
{
margin: 0px auto;
background-color: #505050;
background-image: url("
http://images.jpg");
background-repeat: both;
font-size: 10pt;
text-align: center;
}
h1
{
font-size: 175%
font-weight: bold;
}
h2
{
font-size: 125%
font-weight: bold;
}
h3
{
font-size: 110%
font-weight: bold;
}
h4
{
font-size: 100%
font-weight: bold;
}
h5
{
font-size: 90%
font-weight: bold;
}
h6
{
font-size: 85%
font-weight: bold;
}
img
{
border-style: none;
}
ul
{
list-style-image: url("
http://images.jpg");
list-style-type: circle;
line-height: 1.1em;
}
ul ul
{
list-style-image: url("
http://images.jpg");
list-style-type: circle;
line-height: 1.1em;
}
ul ul ul
{
list-style-image: url("
http://images.jpg");
list-style-type: circle;
line-height: 1.1em;
}
/* -----[ Content styles ]------------------------------------------------------
*/
#main
{
width: 750px;
margin: 50px auto;
}
/* ----------[ Blog header styles ]---------------------------------------------
*/
.blog-header
{
width: 750px;
height: 100px;
margin: 0px;
padding: 0px;
vertical-align: middle;
background-color: transparent;
background-image: url("
http://images.jpg");
background-repeat: no-repeat;
background-position: 0px 0px;
border: 1px solid #c0c0c0;
}
.blog-header h1
{
margin: 0px;
padding: 33px 20px 0px 20px;
text-align: left;
vertical-align: middle;
font-family: "Georgia", "Times New Roman", "Garamond", serif;
font-size: 175%;
font-weight: bold;
text-shadow: #505050 2px 2px 2px;
color: #c0c0c0;
}
.blog-header h1 a
{
text-decoration: none;
vertical-align: middle;
color: #d0d0d0;
}
.blog-header h1 a:hover
{
text-decoration: none;
vertical-align: middle;
text-shadow: #d0d0d0 2px 2px 2px;
background-color: transparent;
color: #c0c000;
}
/* ----------[ Blog content styles ]--------------------------------------------
*/
#main-content
{
float: left;
width: 485px;
margin: 15px 0px 15px 0px;
border: 1px solid #ffffff;
}
.content
{
float: left;
max-width: 485px;
margin: 0px;
padding: 10px 20px;
background-color: #303030;
color: #b0b0b0;
line-height: 1.25em;
font-family: "Georgia", "Times New Roman", "Garamond", serif;
vertical-align: top;
text-align: left;
}
.content-top
{
float: left;
width: 485px;
height: 10px;
background-color: #909090;
}
.content-bottom
{
float: left;
width: 485px;
height: 10px;
background-color: #909090;
}
.date-header
{
font-size: 90%;
font-weight: bold;
width: 445px;
color: #c0c0c0;
}
.post
{
margin: 0px 0px 1.5em 0px;
padding: 0px 0px 1.5em 0px;
width: 445px;
border-bottom: 1px dotted #606060;
}
.post-footer
{
margin: 0px;
padding: 0px 0px 0px 15px;
font-size: 90%;
background-image: url("
http://images.jpg");
background-repeat: no-repeat;
background-position: 0px 2px;
color: #c0c0c0;
}
.post-title
{
font-size: 110%;
font-weight: bold;
color: #c0c000;
}
.comments
{
padding: 0px 10px 0px 10px;
width: 420px;
font-size: 85%;
line-height: 1.25em;
color: #a0a0a0;
background-color: #606060;
border: 1px solid #a0a0a0
}
.comment-body
{
margin-bottom: 0px;
}
.comment-data
{
margin: 4px 0px 0px 0px;
padding: 0px 10px 1em 0px;
color: #c0c0c0;
border-bottom: 1px solid #e0e0e0;
}
/* ----------[ Sidebar styles ]-------------------------------------------------
*/
#sidebar-content
{
float: right;
width: 250px;
margin: 15px 0px 15px 0px;
border: 1px solid #a0a0a0;
}
.sidebar
{
float: right;
max-width: 250px;
margin: 0px;
padding: 20px;
background-color: #c0c0c0;
color: #606060;
vertical-align: top;
text-align: left;
font-family: "Georgia", "Times New Roman", "Garamond", serif;
font-size: 85%;
}
.sidebar-top
{
float: right;
width: 250px;
height: 10px;
background-color: #606060;
}
.sidebar-bottom
{
float: right;
width: 250px;
height: 10px;
background-color: #606060;
}
.sidebar a:link
{
text-decoration: underline;
color: #606060;
}
.sidebar a:visited
{
text-decoration: underline;
color: #303030;
}
.sidebar a:hover
{
text-decoration: underline;
color: #000000;
}
.sidebar a:active
{
text-decoration: underline;
color: #000000;
}
.sidebar-title
{
color: #303030;
}
.sidebar-info-block
{
width: 210px;
padding-bottom: 10px;
border-bottom: 1px solid #808080;
}
.sidebar-info-link
{
padding: 0px 0px 0px 15px;
background-image: url("
http://images.jpg");
background-repeat: no-repeat;
background-position: 0px 2px;
}
.sidebar-archive-link
{
padding: 0px 0px 0px 15px;
background-image: url("
http://images.jpg");
background-repeat: no-repeat;
background-position: 0px 2px;
}
.profile-link
{
margin: 0px;
padding: 0px 0px 0px 15px;
background-color: transparent;
background-image: url("
http://images.jpg");
background-repeat: no-repeat;
background-position: 0px 2px;
}
.subheading
{
font-weight: bold;
}
</style>
</head>
<body>
<div id="main">
<div class="blog-header">
<h1>
<ItemPage><a href="<$BlogURL$>"></ItemPage>
<$BlogTitle$>
<ItemPage></a></ItemPage>
</h1>
</div> <!-- /blog-header -->
<!-- Begin content -->
<div id="main-content">
<div class="content-top"></div>
<div class="content">
<Blogger>
<BlogDateHeader>
<h2 class="date-header"><$BlogDateHeaderDate$></h2>
</BlogDateHeader>
<!-- Begin post -->
<div class="post">
<a name="<$BlogItemNumber$>"></a>
<BlogItemTitle>
<h3 class="post-title">
<BlogItemUrl><a href="<$BlogItemUrl$>" title="external link"></BlogItemUrl>
<$BlogItemTitle$>
<BlogItemUrl></a></BlogItemUrl>
</h3> <!-- /post-title -->
</BlogItemTitle>
<p><$BlogItemBody$></p>
<p class="post-footer">posted by <$BlogItemAuthorNickname$> at
<a href="<$BlogItemPermalinkUrl$>" title="permanent link"><$BlogItemDateTime$></a>
<MainOrArchivePage><BlogItemCommentsEnabled> |
<a href="<$BlogItemCommentCreate$>" <$BlogItemCommentFormOnClick$>>
<$BlogItemCommentCount$> comment(s)
</a></BlogItemCommentsEnabled></MainOrArchivePage> <$BlogItemControl$></p> <!-- /post-footer -->
</div> <!-- /post -->
<!-- End post -->
<!-- Begin comments -->
<ItemPage>
<div class="comments">
<BlogItemCommentsEnabled>
<a name="comments"></a>
<h4><$BlogItemCommentCount$> comment(s):</h4>
<BlogItemComments>
<a name="<$BlogCommentNumber$>"></a>
<p class="comment-body"><$BlogCommentBody$></p>
<p class="comment-data">By <$BlogCommentAuthor$>, at
<a href="#<$BlogCommentNumber$>"><$BlogCommentDateTime$></a>
<$BlogCommentDeleteIcon$></p> <!-- comment-data -->
</BlogItemComments>
<p><a href="<$BlogItemCommentCreate$>" <$BlogItemCommentFormOnClick$>>
Post a comment</a></p>
</BlogItemCommentsEnabled>
<p>
<a href="<$BlogUrl$>"><< Home</a>
</p>
</div> <!-- /comments -->
</ItemPage>
<!-- End comments -->
</Blogger>
</div> <!-- /content -->
<div class="content-bottom"></div>
</div> <!-- /main-content -->
<!-- End content -->
<!-- Begin sidebar -->
<div id="sidebar-content">
<div class="sidebar-top"></div>
<div class="sidebar">
<div class="sidebar-info-block">
<h3 class="sidebar-title">About</h3>
<p><$BlogDescription$></p>
<p><$BlogMemberProfile$></p>
</div> <!-- /sidebar-info-block -->
<div class="sidebar-info-block">
<h3 class="sidebar-title">Previous</h3>
<div id="recently">
<BloggerPreviousItems>
<div class="sidebar-archive-link"><a href="<$BlogItemPermalinkUrl$>"><$BlogPreviousItemTitle$></a></div>
</BloggerPreviousItems>
</div> <!-- /recently -->
</div> <!-- /sidebar-info-block -->
<MainOrArchivePage>
<div class="sidebar-info-block">
<h3 class="sidebar-title">Archives</h3>
<div class="archive-list">
<BloggerArchives>
<div class="sidebar-archive-link"><a href="<$BlogArchiveUrl$>"><$BlogArchiveName$></a></div>
</BloggerArchives>
<ArchivePage>
<div class="sidebar-archive-link"><a href="<$BlogUrl$>">Current Posts</a></div>
</ArchivePage>
</div> <!-- /archive-list -->
</div> <!-- /sidebar-info-block -->
</MainOrArchivePage>
<!-- Add links here: -->
<!-- Duplicate the <div class="sidebar-info-link">... line as many times -->
<!-- as desired, fill in the link URL within the quotes in the <a href=""> -->
<!-- tag, and replace "Add links here" with the name of the link. -->
<!-- Begin links -->
<div class="sidebar-info-block">
<h3 class="sidebar-title">Links</h3>
<div class="sidebar-info-link"><a href="">Add links here</a></div>
</div> <!-- sidebar-info-block -->
<!-- End links -->
<div class="sidebar-info-block">
<p>
<div class="sidebar-info-link">
<a href="<$BlogUrl$>/atom.xml">RSS feed</a>
</div> <!-- /sidebar-info-link -->
</p>
<br />
<p id="powered-by"><a href="
http://www.blogger.com">
<img src="
http://buttons.blogger.com/bloggerbutton1.gif" alt="Powered by Blogger" />
</a></p> <!-- powered-by -->
</div> <!-- /sidebar-info-block -->
</div> <!-- /sidebar -->
<div class="sidebar-bottom"></div>
</div> <!-- /sidebar-content -->
<!-- End sidebar -->
</div> <!-- /main -->
</body>
</html>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.64.30.18
推 sunnywing:要改Beta的版面可以參考3036篇的解說 12/02 23:37
推 brulee:謝謝建議...按照版型作者指示,只要url改上自己的,就可以ꠠ 12/03 00:05
→ brulee:使用,我這個門外漢,不懂哪裡有錯誤>< 12/03 00:09
推 eurt:這個是舊的,不是beta的版面 12/03 01:41
推 szany:好讚 XD beta的後台用non-beta的版型 ,以上。 12/03 09:40
推 sunnywing:那原po到底是不是用beta? 如果是的話要改很厚功XD 12/03 10:19
推 brulee:我是用beta(原po),請問如何判斷是beta或blogger的版型呢? 12/03 14:47
推 eurt:<$BlogPageTitle$>、<$BlogURL$>這種語法是舊的 12/03 15:47
推 eurt:如果看到includable、if cond=、widget這些東西就是beta的 12/03 15:49
推 brulee:很喜歡它呈現出來的樣子...該怎麼辦呢(嘆) 12/03 16:18
推 sunnywing:最簡單的就是原po的後台有無「網頁元素」這選單XD 12/03 16:19
推 sunnywing:有這版型的樣貌可以看嗎(._.?) 12/03 16:24
推 sunnywing:= =我在回什麼 請跳過我的第一句 囧> 12/03 16:27
推 sunnywing:這個嗎?這個模板不是Beta範本裡倒數第四個 12/03 20:02
推 brulee:這是原本的,但我想做個修改,應該說大變身啦:P 12/03 21:17
推 brulee:出來的樣子在左上方第一個 12/03 21:26
推 sunnywing:了解XD 我明後天有空幫你改看看 (′▽‵)>" 12/03 21:57
推 brulee:真是太感謝了啦!! 12/03 22:03