Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Replying to Blogger Code Problems


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

pyost

Posted 20 May 2006 - 12:31 PM

This is unbeliavable! Every time I ask for help I solve the problem myself :D

Here's how I solved the problem. I replaced this:

<MainPage>
<Blogger>
---------------------
</Blogger>
</MainPage>

<ItemPage>
<Blogger>
---------------------
</Blogger>
</ItemPage>

with this:

<Blogger>
<MainPage>
---------------------
</MainPage>

<ItemPage>
---------------------
</ItemPage>
</Blogger>

Heh..

pyost

Posted 19 May 2006 - 11:44 PM

If I posted in the wrong forum, please forgive me :D I had troubles determinating where to put this.

Anyhow, I have recently started a blog at blogger.com (actually it's blogspot.com). One of the main things I didn't like was the archive page. It showed whole posts, and I wanted it to show titles as links only. So I found a hack, and did everything as it said, but now I have problems.

Blogger has codes to determine which page will use that part of the code. In order to define the archive page, I used the following code:

<ArchivePage>
<Blogger>
<div id="archive-page">
<BlogItemTitle>
<a href="<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a>
<br />
</BlogItemTitle>
</div>
</Blogger>
</ArchivePage>

And I had to modify the main part, between <blogger> and </blogger> tags. It had to be copied, so the first one would be for the main page (<mainpage>) and the other one for item pages (<itempage>). But that isn't working. This is a part of that code:


<MainPage>
<Blogger>

	<BlogDateHeader>
  <h2 class="date-header"><$BlogDateHeaderDate$></h2>
  </BlogDateHeader>
  
	 
  <!-- Begin .post -->
  <div class="post">

......................................

	</div>
  
</ItemPage>
  <!-- End #comments -->

</Blogger>
</MainPage>



<ItemPage>
<Blogger>

	<BlogDateHeader>
  <h2 class="date-header"><$BlogDateHeaderDate$></h2>
  </BlogDateHeader>
  
	 
  <!-- Begin .post -->
  <div class="post">

...................................

	</div>
  
</ItemPage>
  <!-- End #comments -->

</Blogger>
</ItemPage>


The first and the second half are the same, except for the <MainPage> and <ItemPage>
Now, that should be working, but it isn't. The item pages don't display any content, but the blogger code itself. To see what I'm talking about, check out this link: http://jawbam.blogsp...post-pages.html


I'm not sure what I amd doing wrong, so any help is appriciated.

Review the complete topic (launches new window)