An archives page can be a really useful place for your readers to locate posts of interest or simply browse through your previous posts at leisure.
Recently I've received some feedback from readers who suggested I create an easier method to browse previous posts. So I decided to create a dedicated "Archives Page" which I hope will help readers easily locate previous posts to suit their needs. My archives page features links to my monthly archives, an explanation for each category and also a simple search function for easy browsing.
In today's post, I'll explain how I created my Blogger archives page, and list some of the reasons why this method of archiving could be useful for you too.
Why you may want to create an "Archives" page
Most successful blogs feature a link to their archives pages for visitors who would like to read through previous posts.
Such archives pages need not be limited to temporal pages which contain links to a monthly or weekly list of posts though. You could also use an archives page to link to your labels/categories and provide an explanation of your filing system which can help your readers locate posts of interest.
Blogger does not offer us a template to create an archives page for our blogs. Instead, we have an "Archives" widget available which you can add to your sidebar (or indeed anywhere you are able to insert a new "Page Element" within your template). However, such widgets don't offer much of an explanation for your readers about your archiving system. Also, if you have been blogging for a long time (or use weekly/daily archives) this list can become quite long.
Creating a dedicated archives page for your blog allows you to offer your readers a better insight about your blog, offer an easy means of locating and browsing through previous posts, and may be styled in any way you like.
How to create an archives page in Blogger
When creating an archives page for your Blogger blog, you must understand that there is no magic script which will generate all necessary links for you. Instead, we have to manually create all links to our monthly/weekly archives pages, and also to any labels pages we may like to present.
While this may seem like a daunting task (especially if you have a huge backlog of posts or a large number of categories), the good news is that once you've compiled your page you can periodically update this with much less effort.
Deciding on a format for your archives page
For my own archives page, I decided to include:
- Links to my monthly archives pages
- Links to each label/category page with a brief explanation of what these posts are about
- A simple search function which may help readers locate the content they are searching for
For your own archives page, you may prefer to include a slightly different set of links, such as a list of your most popular posts or important pages from your archives.
Once I had decided what I wanted to include, I set about designing the format I preferred to present these links in. While long lists of links was an option, I decided to make better use of the page and use a columns system so that each set would be divided into two columns on the page.
Here is a breakdown of the design of my archives page:
I used headings (<h3> and <h4>) for the section titles, and divided up the sections into two columns using DIV's which were styled like this:
<div style="width: 45%; float: left;">Left Column Content Here</div>
<div style="width: 45%; float: right;">Right Column Content Here</div>
<div style="clear: both;"></div>
The final DIV with the "clear: both" styling ensures that any content beneath the columns does not bunch up between the columns and disorganize the array.
This method of styling your post can only be achieved when editing your posts in Edit HTML mode, so if you usually use the Rich Text editor for your posts, you may need to switch temporarily in order to duplicate this process.
Adding links to the monthly archives and labels pages
As I mentioned earlier, it is necessary to add these links manually. The easiest method is to add both a label and archive widget to your sidebar (you can always remove these afterwards), then open up your blog in a new tab or browser window.
Then on your post editing page (in a different tab/window to your blog) write the link text for each archive/label. Copy the required links from your sidebar widgets (usually you can right click on a link and choose to copy the link location to your clipboard), then use the hyperlink function in your post editor to add these links to your post.
Adding a simple search function to the page
If you would also like to add a simple search box to your archives page, can simply add the following section of code where you would like the search box to appear in your post:
<p align="center"><form id="searchthis" action="/search" style="display:inline;" method="get"> <input id="search-box" name="q" size="25" type="text"/> <input id="search-btn" value="Search" type="submit"/> </form></p>
This simple search code is the same which is used in the Blogger nav-bar which searches through your posts to provide relevant search results for your readers queries (read more about this simple search function).
Saving and Linking to your archives page
Like other pages you may like to create for your Blogger blog, it is a good idea to backdate this post so that it doesn't appear to be a recent blog entry.
You can do this by changing the date in the "Post Options" link below your post editor.
Then once you have saved your post, locate the URL for this in the Edit Posts page of your Blogger dashboard and copy this link to your clipboard.
Finally, add a link to your archives page from somewhere in your blog template. If you have a navigation bar in your design, this would be an ideal place to feature your link so readers can easily locate this. Alternatively you may prefer to add a link in a sidebar widget, or in the footer section of your blog.
I placed a link to the Blogger Buster archives page beneath the search box in the header section, among other important links.
And there you have it: a custom-made archives page for your Blogger blog!
I hope you have found my explanation useful to help you create your own archives page using Blogger. I would love to see other examples of Blogger archives pages, so if you create one of your own, please let me know by leaving your comments below.




15 Comments:
Thank you Amanda, this is just what I was looking for. Still under construction but I'm using your archives page already.
Just to let you knowm there's a small typo in the first sentence of the columns code:
After 45% the " needs to be a ;
hi! Amanda, you're site is always a great resources and thank you very much for this, this is what i am looking for many time.
Off Topic: I am using your mag-style template and everything went alright...i installed intense debate for my comment system now i get problem where comment number is not showing...i just wonder if you know how to make it show again (I know i supposed to get some help from ID people which i do but no response yet) just wondering if you know any fixes for this? or any knowledge of why number of comments not showing sometimes?
Thanks.
For Jos: Thank you for letting me know about this typo. I've fixed this now so the tutorial should read just fine :)
For Iris: To be honest I haven't yet experimented fully with Intense Debate. However, I will be looking into installation in the next couple of days as I would like to write about this service for other readers. Let me know if you're still having problems and I'll look into this for you ASAP.
Best wishes to your both,
Amanda
Hi! Amanda,
Thank you for the respond, i am in so much trouble and still have no solution, heard nothing from intense debate...i started to like Disqus.com , Daniel Ha is very approachable. but i am stuck with this intense debate.
I think it's got to do being a beta, i think it's very useful for readers (Like me) if you can install this to one of your templates..I suggest for you to play Disqus.com and Intense Debate. Anyway i will send you my template structure (Your Blue Steel) with Intense Debate integration so you can look of what the problem would be.
Im sorry for this very long respond, but thank you so much.
hi! that's a very useful tip. thank you. i have a question though, is there a way to put a single archives page without having to update it with new links? sort of like a script or something that could be incorporated in a single entry?
thanks.
i'll be looking forward to your answer. :)
For Iris:
I hope to experiment a little more with Intense Debate and Disqus this week when I'm not so busy! Hopefully I will be able to write up full instructions for these alternative comment systems soon.
For Arianne:
At present it's not possible to add a script for the archives (I don't think Blogger have released the SPI for this yet).
The archive widget which does generate the links automatically must be contained within a b:section in the template, and so cannot be embedded within an actual post.
If I can discover an alternative method though, I will be sure to write about this!
Best wishes and thank you both for your comments :)
Hello, Amanda. There is an interesting "Contains table": you can see the hack in Vagabundia: http://vagabundia.blogspot.com/2007/11/blogger-tabla-de-contenidos.html
The author speak in spanish and is great blogger, really. I hope you enjoy this nice alternative.
Best wishes and thanks for your great job.
Your code doesn't work, one side is lower than the other and your tutorial gives no explaination on how to add content
This is helpful. I particularly appreciated the search box code.
Maybe its just me, but i cant seem to understand your instructions for the archives page. Consider - i have zero background in HTML. I got lost at h3 and h4
Thanks a lot! I am adding it now.
thanks for your tips Amanda..
Here is the Archives Page I have created for my blog Archives @ Wonderful Tech. Stuff
Hi,
I try to copy archive widget script into new post page but when previewed they didn't displayed correctly.
Is it correct way what I have done to make basic archive page?
Thank you
Amrihdwf
I tried also to copy that script, but it does not work!
I have been referencing your site for years yes years that alone is a testament to you. But as much as I love this concept of creating and Archive page is it even relevant today?
Starting a new project and want to implement but just curious should I even pursue? You should really consider revisiting this topic. Sorry if that sounds pushy. But I do love your advice and tips.
Post a Comment