Re: Questions about categories

"Chris Moffitt" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
> * Chris Moffitt <[email protected]> [030707 09:54]:
>> Thanks to everyone for putting up with my last set of questions.
>> Since people were so helpful, I'm going to ask a couple more.
>
> You're welcome
>
>> The first one is about the category plugin.  It seems to be working
>> just fine on my system (win2K with Apache), but my hierarchy is
>> displayed like this (thanks to dospath2uri ;) )-
> [..SNIP..]
>> Any hints on how to get it to display in that way?
>
> I've (hopefully) fixed that in the CVS version :) Feel free the check it
> out (or you can do the fix yourself by changing split('/') to
> split(os.sep))
>
>> Second question - I noticed on Wari's site that he had a navigation
>> scheme like -
>> Top Level :: Child :: Another Child
>> At the top of his page.  Any hints on how to implement that
>> functionality?
>
> You noticed? Hehehe.. That's my super secret plugin, so secret, I'm not
> gonna give it to anyone.. :P
>
> Anyway, that plugin is called breadcrumbs, and I'm not really sure if it
> works on Windows, I've attached it in this mail. The reason it wasn't
> posted at all is because I thought is was crummy (if you pardon the pun
> :), and also, it was done in the old pyblosxom way. It could be more
> efficient if done properly.
>
>> And one final question.  Has anyone looked at developing a "show more"
>> plugin.  If an entry is over X characters then a more link is
>> displayed with a link to the full entry?
>
> I wished someone would do that plugin for me :) Again, should not be
> difficult to do anyway, at least, that's what I think.
>

I gave the updated categories plugin a try and it is working as expected.
Thanks.

I also tried your breadcrumbs plugin and it seems to work for me just
fine.  I'm curious why you didn't like it?

I am working on a "showmore" plugin.  I have a rough skeleton working, but
not the final details yet.  I will probably have some questions, but I
want to wait untill it's nearly done so I can get some good feedback.

One final thing.  I may have noticed another "weird" thing with paths on
Windows machines.

Say I have the following category structure.
Proj1
   SubProj1
   Subproj2
Proj2

If I go to Proj1, I see SubProj1 and SubProj2 items in the view which is
expected.  However, the category url I see for the SubProj1 only shows
www.foo.com/cgi-bin/pyblosxom.cgi//SubProj1 - it should be
www.foo.com/cgi-bin/pyblosxom.cgi/Proj1/SubProj1

it seems to be missing the Proj1 parent dir.  Another windows related issue?

Getting sick of dealing with Windows yet?  The good news is these seem to
be pretty minor tweaks to get it running on yet another platform - which
should be a "good thing."

-Chris


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.