bloggerstation.blogspot.com Web
CHOOSE YOUR LANGUAGE

 

Headlines

BLOGGER-STATION

Thursday, June 5, 2008

To list All Previous Posts by Title...............you will use your blog's RSS feed to put content into your sidebar. How to do this has already been described in the post : Add Content with RSS Feeds in a general way. This is a special case in which you can use this method to display the title of all your previous posts in the sidebar.

STEP 1. The feed for your beta blog is of the format :http://yourblogname.blogspot.com/feeds/posts/full

where instead of 'yourblogname' type in the name of your blog. The feed for your old Blogger blog is :http://yourblogname.blogspot.com/rss.xml orhttp://yourblogname.blogspot.com/atom.xml

Step 2. You will have to convert this feed into Javascript code which you can then insert into your webpage so that it displays on your site. There are many RSS-to-Javascript convertors online which you can search out usinf Google. One of these convertors is located at : http://itde.vccs.edu/rss2js/build.php

Copy and Paste the above link into your browser and press Enter. Copy and paste the link for your blog feed obtained in Step 1 into the "Enter the web address of the RSS Feed" under 'Build your feed'. In Select the options set 'Number of Items to display' as 0 - This will display all posts. In 'Show item descriptions? How much?' set it as 0 to show no descriptions. Set 'Show item posting date?' as No and click Preview to see whether your titles are coming through. If it displays correctly then click 'Generate Javascript'. The program generates Javascript code along with a noscript code for those browsers without Javascript. Copy the code...

Step 3. Go to Layout in your blog after logging in to Dashboard. The Page Elements page opens. Click on 'Add Page Element' in the sidebar section. A new popup window opens where choose HTML/Javascript option and paste the code obtained in Step 2 above in the Content box.

Click Save Changes.

Refresh cache.

View Blog.

You can see an example of this in my right sidebar at the top.To do this in Classic Blogger just paste the Javascript code in your template in the sidebar section.

If you encounter any troubles with this method then feel free to e-mail me at kinglife50@gmail.com.

1 Comment:

  1. Anonymous said...
    Good Job! :)

Post a Comment