Re: Bookreview
will <[email protected]> Tue, 27 Nov 2007 21:26:38 -0500
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Steve Clark wrote:
> I've been using Will's booklist plugin for a while, but I've felt that I
> needed something slightly different. Bookreview appealed as it lets you have
> a URL for each book that could be linked to externally.
>
> I've got it working as far as having the page with a list of books, but when I
> click on the link for that book's page I get an error. This is what is in the
> log
>
> File "/home/www/web60/web/plugins/bookreview.py", line 428, in cb_filelist,
> referer: http://www.bagofspoons.net/cgi-bin/pyblosxom.cgi/booklist
> , referer: http://www.bagofspoons.net/cgi-bin/pyblosxom.cgi/booklist
> mem[ISBN] = mem[ISBN].strip(), referer:
> http://www.bagofspoons.net/cgi-bin/pyblosxom.cgi/booklist
> IndexError, referer: http://www.bagofspoons.net/cgi-bin/pyblosxom.cgi/booklist
> : , referer: http://www.bagofspoons.net/cgi-bin/pyblosxom.cgi/booklist
> list index out of range, referer:
> http://www.bagofspoons.net/cgi-bin/pyblosxom.cgi/booklist
I'm finding it difficult to parse that, so I'm not sure what the issue
might be. I suspect that ISBN is an integer and the value is greater
than the length of mem which will result in a "list index out of range"
error.
Beyond that, I'd have to see the code to let you know more.
> Any ideas?
>
> I had been thinking of moving my site to something like Wordpress, but decided
> that pyblosxom did all I really needed, whilst keeping things simple. I've
> finally started using static pages after meaning to for ages. I just need to
> find the time to organise the information I want to put there.
I have a WordPress blog as well for work and ... it's kind of a pain in
the ass. But... obviously I'm biased.
> The other minor thing I would like to add is the link to older blog entries
> like Will has at the top and bottom of his page. Other wise there's no easy
> way to get to earlier items.
I used the wbgpager plugin. You can find more information here:
http://bluesock.org/~willg/cgi-bin/devtrac.cgi/wiki/wbgpager
If that isn't what you're looking for, poke me and I'll see what I can do.
/will
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4