|
From: Wari W. <wa...@ho...> - 2003-02-10 23:41:22
|
Theodore W. Leung wrote: >>Anyway, here's a list of that I wanted to do in startup() >>1. Look for (yr/mo/da) which must appear in either yr, yr/mo >>or yr/mo/da combination >>2. Process the rest of the URL >>3. Use index.flavour as the flavour to use and a page to >>render(no need >>for flav=flavour, though not missing entirely) >>4. If path or file does not exist, treat query as invalid >> >> >Do I undestand right? You want to eliminate flav=flavour processing in favor >of index.flavour in #3? > ?flav=flavour will still be there, you don't want to break people's templates, especially when some of them do pyblosxom and blosxom together. I'm just saying that index.flavour is synonymous to ?flav=flavour >So in 4. what should be the correct behaviour? > > General blosxom behaviour on this is, render the whole site as per normal when something goes wrong, or show header and footer when entrylist is empty. This I think is not good IMHO. I'll build a renderer RSN, where you can throw messages at it if you do not have entryList, etc, to be finalized by me, The least is to throw in a body and title, and I'll draw out the header, story and footer based on the template. Should be more civilized this way :) |