Re: Title based URLs
darryl <[email protected]> Wed, 12 Nov 2003 11:35:19 -0600
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
I wasn't thinking so much of weblog type posts more the 'static' pages i started setting up. Either way it looks like a good change. Articles like this are the reason for my prodding :) http://www.ashbykuhlman.net/blog/2003/07/27/2227 Cheers, darryl Kimbro Staken wrote: > Continuing the discussion started here > http://randomthoughts.vandorp.ca/syncato/WK/blog/673?t=item > > I just added an initial change to handle more descriptive URLs for > blog posts. I haven't changed the stylesheets to use it yet, but I > will after some more testing. The old style URLs still work and that's > really still the preferred way to manage data, the new style is just > better for presentation to users. > > Using the new scheme the URL I pasted above would become. > > http://randomthoughts.vandorp.ca/syncato/WK/blog/XSL_site_assembly.item > > This is a more bloxsom like URL with the title having spaces replaced > with _ and real _ replaced with \_. The .item is the stylesheet to > use, if you wanted it to be .html you just have to rename the > stylesheet, or better create a new one that extends item.xsl. > > The one thing I'm worried about with this scheme is that titles now > have to be unique. I'm not enforcing that yet, and I don't really like > the idea but if you don't you'll end up with item pages that show all > the items with the same title. Hmm, you know that actually could be > useful now that I think about it a little more. For instance you could > have a running series of posts that would all show up on the same > page. i don't know. Useful or bug? > > Actually, just tested that and it doesn't show more then one item like > I expected. It should, guess that's a bug. > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/