Implementing date-based URLs
"Steve Hoelzer" <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
I had an idea about using date-based URLs for my blog and ran into snags trying to implement it with pyblosxom. What I want is for individual entry pages (normally at category/mypost.html) to be generated in month folders, i.e., /year/month/mypost.html. Other URLs should remain unchanged. I tried to do this by putting posts in /year/month folders, so that the year and month are actually categories. For example, mypost would be in /steve/blog/2007/08/mypost.txt That worked for the individual entry page, but then the year and year/month indexes were intepreted as categories so the number of entries listed was limited according to py["num_entries"]. How can I remove that limit just on the year and year/month indexes? Alternatively, is there a better way to accomplish my "date-based URL" idea? Thanks, Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/