Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
((numbers in titles) in urls)
I am posting this here as opposed to feature ideas or in any other part of the forum as i believe that it is more of a matter of discussion rather than anything else…. for now:)
It refers to titles in urls and the way txp handles them…
It is a bit specialised but i think that it is good if there is feedback regarding this.
The ‘problem’ that I recently faced was that of ‘versioning’.
When the title of a post has a number within it, txp strips all decimals and parses the title url without them.
So if you have 'idea v1'
– depending on your url scheme – translates into domain.tld/.../idea-v1
All well but when there are decimals, 'idea v1.1'
, the url becomes: domain.tld/.../idea-v11
. The problem will of course rise when you get your v11 idea a few months later.
A solution would possibly be if txp replaced the dot (.) with an underscore (_).
I don’t know or pretend to know how or if this txp behaviour should be fixed but I’d like to hear if there are others who might have this or other similar problems regarding the url schemas.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: ((numbers in titles) in urls)
Yeah Yiannis good point :-),
I have same kinder problems with urls on my design-portfolio. There I use a article for every design-layout. Problem occurs when I use version numbers for re-designs or multiple-designed sites with version-numbers — and then version 1.1 and 11 are same, as in your example.
Same problem occurs when using TXPhorum-forumplugin. And with TXPhorum you won’t be even able to edit url manualy (or users won’t be if they don’t change title – it’s not safe let users choose urls by themselves).
So, I think that would be nice if point(s) (between numbers) would be transfered to underline (_), or to normal line (-). It would reduce amount of double-used urls.
Last edited by Gocom (2007-07-17 18:21:23)
Offline
Re: ((numbers in titles) in urls)
The subject text reminded me of Lisp :)
Offline
Re: ((numbers in titles) in urls)
Beyond verioning, are there are any other similar problems caused by the automated url creation? I know re the non latin and special characters problems which we unfortunately have to exclude until the web becomes ‘truly’ international. What other variables would cause unsuspected url formation results?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: ((numbers in titles) in urls)
Thinking about it, there is nothing that would stop us from simply leaving the dots as dots, too. So it would become domain.tld/.../idea-v1.1
– am I missing anything?
Offline
Re: ((numbers in titles) in urls)
domain.tld/.../idea.v1.exe
Perhaps there are browsers that use the extension even if the content-type header is present. No dots = no extension.
Last edited by ruud (2007-07-18 13:42:19)
Offline
Re: ((numbers in titles) in urls)
so should this thread go to the ‘feature ideas’ forum?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1