[kupu-dev] Resolving UIDs to absolute URLs for anonymous users

Sune Toft - Headnet sune at headnet.dk
Mon Jan 29 10:54:59 CET 2007


Hi :)

In extension to the dialog below, could somebody (eg. Duncan) briefly 
explain how to resolve UID to absolute URls for anonymous user

I have tried with http://plone.org/products/plone-resolveuid, but it 
resolves UIDs to relative URLs which won't work for images in a newsletter


Br
/sune



Jon Stahl skrev:
> Hey Duncan!
>
>   
>> From: Duncan Booth
>>     
>
>   
>> "Jon Stahl" <jon at onenw.org> wrote:
>>
>>     
>>> I was looking at http://plone.org/products/plone-resolveuid, which 
>>> "allows to replace existing Kupu resolve uids with real urls usable 
>>> for visitors and search engines" which got me to thinking:
>>>
>>> -- Why doesn't Kupu do this on its own?
>>>       
>> It does, and it always has done the uid linking was 
>> introduced. However I will admit that the documentation sucks 
>> and getting it to work in some earlier versions was hard to 
>> impossible.
>>     
>
> No worries, documentation is fixable. ;-)  And I'm only interested in
> current /future versions. :-)
>
>  
>   
>>> -- Is this fixing some as-yet-unreported bug in Kupu?
>>>       
>> No it is simply duplication of existing functionality.
>>     
>
> Figured.  :-P
>  
>   
>>> -- Is there reason one wouldn't want this functionality?
>>>       
>> It slows up page rendering it you aren't using linkbyuid.
>>     
>
> Makes sense.  I guess one would only want it turned on if one was using
> LinkbyUID.
>
>   
>>> -- Could/should it in fact be rolled into a future release?
>>>       
>> No, but I really should improve the documentation so that 
>> people don't feel they have to reinvent the wheel.
>>     
>
> That would be really nice.  I remember trying to follow the current docs
> one time, and giving up in frustration.  I'd be happy to be your guinea
> pig for a testing a rewrite to see if it is understandable by mere
> mortals. 
>
>   
>> The authors of plone-resolveuid point out correctly that you 
>> can use plone- resolveuid in a situation where you need the 
>> uids resolved but have uninstalled kupu (I would counter this 
>> by arguing that if you have the kupu product present but not 
>> installed in a Plone site you can use the transform).
>>     
>
> This is somewhat irrelevant to my use-cases.
>
> Thanks for clarifying all of the above.
>
> best,
> jon
> _______________________________________________
> kupu-dev mailing list
> kupu-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/kupu-dev
>
>
>
>   

-- 
========================
Sune Toft
Partner, Projektleder

Headnet ApS
Fruebjergvej 3
Symbion Science Park - Box 50
2100 København Ø.

Telefon: +45 3917 9750
Fax: +45 3917 9751
Mobil: +45 2943 9585

http://www.headnet.dk
sune at headnet.dk
=======================

Headnet - devoted to Plone
http://www.plone.org
Vinder af "Bedst til Nettet" 2005 - 2006
http://bedstpaanettet.dk 

 

 



More information about the kupu-dev mailing list