Don't forget to subscribe for Latest Updates!
A little while ago I thought it would be nice to have a Table of Contents on my Blog. So I experimented a bit on how this could be done without a lot of hacking, and also without outside help such as del.icio.us.
Ramani has some interesting hacks, and 2 of them I combined into a new one.
If you want to list all your posts in one page, you can use the following url:
http://yourblog/search/label/?max-results=100
Is it as simple as that?
Yes it is!
The max-results is limited to 100 results. This is a Blogger server-side restriction. So it will give a TOC for only the 100 latest posts.
If we want to display only post titles we have to do a little more hacking, but Ramani has explained how to do this on archive pages. I just applied this to label pages.
Edit your template, find the Blog widget, and replace the entire main-includable with this txt-file. Save your template.
Add the url to a convenient place in your menubar or sidebar, and ready you are.
Popular Posts
- Create Drop Down Menus in Blogger
- How to Create Drop Down Menus in Blog-Blogger Hack
- Add a Menu Bar in blogger
- How to Add a Menu Bar To your Blog-Blogger Hack
- Add a Comment Form in blogger
- Comment Form Below the Posts-Widget For Blogger
- Display A list of all posts in your Blog-Blogger Hack
- How to Display A list of all posts in your Blog-Blogger Hack
- Show Table of Contents in Blogger
- How to Show Table of Contents in Blog-Blogger Hack
Post a Comment