Friday, May 12, 2006

List all posts in a blogger blog

Today, I wanted to create an index to all posts in this blog, but I didn't find a good way to do it. The best I could come up with was to use blogger search, with only a blogurl: in the query:
http://search.blogger.com/?q=blogurl:alma.ch/blogs/bahut/&lang=all&scoring=d&filter=0

This is actually the same as clicking on the "Find in this blog" button at the top, with an empty search box.

There is a way to put an index of all posts in the current page (main or archive), and there is the "Previous posts", which only lists the 10 latest entries.

There is an API (and even a Perl module for it), but it only returns the last 15 entries.

There are Atom and RSS feeds accessible through blogger search (see at the bottom of the results page), which can return 10 or 100 entries. But that would then need to be parsed to create useful links.

So I guess I will just use that search link.

Update: after creating a del.icio.us account to add a categories box, I have seen that you can also use the del.icio.us API to list all boomarked posts. It returns XML, which would also need to be parsed. And it requires authentication. Will add another update if I end up doing something with this.

0 Comments:

Post a Comment

<< Home