Wednesday 10 June 2009 5:44:57 am
Well, no.
I say what you need to do is more clearly describe in exacting detail
Why and how do you need image paths
(of all paths generated by ezpublish)
to be shorter in order for us to make a recomendation (my thoughts).
Cause I read this thread and I still do not understand what need is requiring shorter paths.
Are you really saying that your content tree is so large
(has so many levels of depth) that it cuts off the file name or unique id out of the generated urls ! wow that's a big site ...
I'm certain this too is possible to achive.
Some specifics as to how to do it may
depend on where and how you want to use the shorter urls. It sounds like you need to change the way you handle urls in ez. Could you not use instead the older id based url style (before nice urls existed in ez) to access files and images? ie: /content/view/full/2 - /content/download/170/1050/sample05.swf Otherwise it would seem like you need to first devise a solution to what kind of url style would avoid this depth issue and meets with your approval. I could think of tinyurl style urls as an additional option to nice urls, some crazy ez php api class changes to support a new url style and related code to switch to this new style with an existing ez install/site. For all the work involved I'd consider strongly using the older id based urls to standardize your uri calls to the application (links) instead of engineering an new url style into the phpcode.
Cheers, <i>//kracker Kingspade - Lookin Up <
Checkout this extension it's cool and offtopic related, http://ez.no/developer/contribs/hacks/shorturl http://ez.no/developer/contribs/applications/ez_url_jump</i>
Member since: 2001.07.13 || http://ezpedia.se7enx.com/
|