Re: Pyblosxom permalinks are not permanent

Steve Hoelzer <[email protected]> Wed, 9 Sep 2009 23:19:14 -0500
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Wed, Sep 9, 2009 at 4:23 PM, will<[email protected]> wrote:
> 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.

I had three entries:

/2009/09/firstpost.txt
/2009/09/secondpost.txt
/2009/09/thirdpost.txt

And minor changes in config.py:

py["num_entries"] = 2
py["static_monthnames"] = 0
py["static_monthnumbers"] = 1

Let me know if you need more info.

Steve

------------------------------------------------------------------------------
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