user2636525
user2636525

Reputation: 11

Error parsing XML, The content of elements must consist of well-formed character data or markup

I'm trying to build a custom template for a blog. This is the code that I have:

<$BlogDateHeaderDate$>
</div>
</BlogDateHeader>

Trying desperately to get the layout to work for my new blog and I have ran into a lot of errors in the html/xml

If anyone has any suggestions I am most definitely open to them!

Upvotes: 1

Views: 10767

Answers (1)

Richard
Richard

Reputation: 613

It looks like you're trying to use a template like in: https://www.blogit.com/Blogs/Help/HelpPage.aspx?page=templatedesign

The <$BlogDateHeaderDate$> bit will be replaced by a string like Monday, August 26, 2002. Is this Monday... acceptable text in your template? In your sample you've included two closing tags, but no opening tags.. A complete, basic template would look like:

<BlogTemplate>
     <BlogDateHeader>
          <$BlogDateHeaderDate$>
     </BlogDateHeader>

     <PostSubject>
          <$BlogItemSubject$ >
     </PostSubject>

     <$BlogItemBody$>
     <$BlogItemAuthor$>
     <$BlogItemAuthorNickname$>
     <$BlogItemAuthorEmail$>
     <$BlogItemAuthorURL$>
     <$BlogItemDateTime$>
     <$BlogItemNumber$>

     <BlogDateFooter>
     </BlogDateFooter>
</BlogTemplate>

Upvotes: 1

Related Questions