Re: Pyblosxom permalinks are not permanent

will <[email protected]> Wed, 09 Sep 2009 17:23:11 -0400
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Steve Hoelzer wrote:
> On Fri, Jul 17, 2009 at 4:22 PM, Steve Hoelzer<[email protected]> wrote:
>> On Fri, Jul 17, 2009 at 2:42 PM, will<[email protected]> wrote:
>>> Steve Hoelzer wrote:
>>>> What I'd really like to do is organize my files in folders like:
>>>> /2009/Jul/17/filename. That would give me true permalinks and prevent
>>>> the duplicate slug problem. But doing this interferes with PyBlosxom's
>>>> date based archives, so it's not possible right now.
>>> Are you sure about that?  I'm pretty sure we solved that issue a few
>>> versions ago.
>> No, I'm not sure. I tried this a long time ago with PyBlosxom 1.4.1 (I
>> think) and it didn't work then. I'm still on 1.4.1 now but I'll
>> upgrade if this issue is fixed. If I get some time I'll experiment and
>> report back.
> 
> I finally gave this a try and it does not work for me using the
> current trunk (r1333). I had a very simple test case with three
> entries in /2009/09/, py["num_entries"] = 2, and date archives with
> month numbers turned on.

Can you show the relevant parts of your config.py file?  I don't 
understand how you have things set up.  Alternatively, tar up your 
example and send it to me so that I can reproduce what you're seeing.


> It also seems wasteful to render some pages twice (ex:
> /2009/index.html). It would be nice to detect the duplicates and get
> rid of them.

If you can implement this, feel free to do so and send in a patch.

/will

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july