Re: URLs again

nemilya <nemilya-JGs/[email protected]> Sat, 15 Nov 2003 18:58:58 +0500
Newsgroups gmane.comp.web.syncato.general
Organization home
Message-ID <[email protected]>

<skip/>

KS> The URLs now look something like this.
KS> http://host/WK/blog/893_title_of_post.item
KS> Though this will also work if "title of post" is unique.
KS> http://host/WK/blog/title_of_post.item

I.e. if I understund properly: by first looking for post with title '893_title_of_post'
and if not found then looking for post with '^(\d+)_?' id?

KS> The other problem with the title scheme is that changing the title on a
KS> post changes its URL. When the id is included that's all that is used
KS> to find the post.

ok,
and note from not english based users, in our case title is not latin.
Possible variant - separate field for english language title.

And as I note now there is no 't' argument for xslt stylesheet?
It replaced to after dot extension?
Nice.

Also if 'item' replace to 'html', we comeback to begin :)
http://host/WK/blog/893_title_of_post.html

KS> For pages it may or not be a good idea to use the title, but the option
KS> exists.

KS> One other point to make about this is that these are just alternative
KS> ways of accessing an item. The true identity of the item is to use just
KS> the ID in the URL as was originally done. i.e. http://host/WK/blog/893

I.e. if stylesheet is not specified, then default is 'item'?

KS> Kimbro Staken
KS> Software, Consulting and Writing http://www.xmldatabases.org/
KS> Apache Xindice native XML database http://xml.apache.org/xindice
KS> XML:DB Initiative http://www.xmldb.org



KS> -------------------------------------------------------
KS> This SF. Net email is sponsored by: GoToMyPC
KS> GoToMyPC is the fast, easy and secure way to access your computer from
KS> any Web browser or wireless device. Click here to Try it Free!
KS> https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
KS> _______________________________________________
KS> Syncato-general mailing list
KS> Syncato-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
KS> https://lists.sourceforge.net/lists/listinfo/syncato-general




-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl