[Zope-CMF] Migrating content between portals

J C Lawrence claw@kanga.nu
Tue, 04 Feb 2003 19:41:17 -0800

How can I get a relative URL for an object, or at least the URL rooted
at site_root and not fully qualified with a protocol://FQDN/?

In a kind-of topic-like object I'd like to also display the path to an
object as that lends some clue as to its context and relevance.  I could
just take object.absolute_url() and chop off the start, but that seems a
bit expensive.  Is there a simpler way?

J C Lawrence                
---------(*)                Satan, oscillate my metallic sonatas. 
claw@kanga.nu               He lived as a devil, eh?		  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.