Package: pyblosxom
Version: 1.3.2-5
Severity: normal

I organise blog posts in folders and name them categories. In my
story template, I have

  <a href="$base_url/$path_urlencoded" title="Category">$path</a>

My flavour is attached. It's all under the Artistic Licence 2.0.

The problem is that the contents of this tag very much depends on
how a page is rendered. If I go via

  $base_url                                     it's how i want it
  $base_url/$path                               it's basically empty
  $base_url/$yr/$mo_num/$da                     it's prefixed by /
  $base_url/$file_path_urlencoded               it's basically empty

Examples:
  
~$ GET http://blog.madduck.net?flav=oldxhtml | grep title=\"Category\" | head -1
      <a href="http://blog.madduck.net/geek"; title="Category">geek</a> |
~$ GET http://blog.madduck.net/geek?flav=oldxhtml | grep title=\"Category\" | 
head -1 
      <a href="http://blog.madduck.net/"; title="Category"></a> |
~$ GET http://blog.madduck.net/2007/05/30?flav=oldxhtml | grep 
title=\"Category\" | head -1 
      <a href="http://blog.madduck.net//geek"; title="Category">/geek</a> |
~$ GET 
http://blog.madduck.net/geek/2007.05.30_information-management-2.0?flav=oldxhtml
 | grep title=\"Category\" | head -1
      <a href="http://blog.madduck.net/"; title="Category"></a> |

It would be nice if $path and $path_urlencoded could be used
consistently.

I did report this to upstream at one point but have lost track of
the issue:
  http://osdir.com/ml/web.pyblosxom.user/2006-05/msg00001.html

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: __tmp__xhtml.flav.tar.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to