Home > project, python, wordpress > Archives List Generator for wordpress.com

Archives List Generator for wordpress.com

Problem

I wanted to have an “Archives” page that lists the titles of my posts. This way, I could find the post I’m looking for much easier. Unfortunately I didn’t find this functionality on wordpress.com. I was searching for a solution and I found WordPress ListMaker v2. However, the author provides an EXE only and his program requires your username. This is something I would never give out… On the other hand, I use Linux, so I prefer open source solutions.

So I’ve decided to write a Python script that produces an HTML output, similar to WordPress ListMaker v2.

Demo

You can see my Archives list here. It was generated with my script.

Download

Visit https://github.com/jabbalaci/Archives-List-Generator. Source code is here.

Solution

In a previous post I showed how to get the list of your blog posts. This script is an extended version, it simply produces a formatted HTML output.

Usage:

Modify the beginning of the script: precise the address of your blog, your username, password, etc. Then just simply execute the script. You can redirect the output to a file, then paste the contents of the file to your wordpress.com blog.

[ @reddit ]

About these ads
Categories: project, python, wordpress Tags: ,
  1. NV
    July 16, 2011 at 12:29

    Nice! But I cannot find it via the plugin installer of my wp installation? I have to install it manually?

    • July 16, 2011 at 17:48

      This is not a plugin. It’s a Python script that you can run on your local machine. It will contact your WP blog to fetch the list of your posts in order to produce an HTML output. Then copy/paste this output to a page of your blog.

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 72 other followers

%d bloggers like this: