[Zope3-Users] are aliases for content objects possible?

Stefan Rank e9725431 at student.tuwien.ac.at
Thu Aug 25 02:31:26 EDT 2005


on 24.08.2005 16:32 Stéphane Brunet said the following:
> Stefan Rank wrote:
>>
>> The main idea is to give an object several aliases.
>> I would like to avoid having empty proxy-objects that fill the folder.
>> The object itself would know about its different names and a
>> presentation view could choose, e.g., the shortest one when used in a
>> list or as an html page title, and the others would be displayed below.
>>
> I am not sure if I quite understand what you want to do but... Creating 
> custom views which changes the presentation would probably do the job, 
> without need to create aliases. You can select the view you want by 
> adding "/@@name_of_view" after the object in the url.
> 

I don't think that would do it. The views would not provide two 
equivalent names for one object. And I actually do not want to have two 
different presentations, only two equivalent names.
 From my first mail::

   'Equivalent' meaning you should be able to access it with
   scheme:host/path/name1 and scheme:host/path/name2 without any
   differences, and it should be in the catalog as only one object

A practical example: A text that describes a book.
I want to link to it as
  - http:/host/TheBookAboutLifeTheUniverseAndEverything
  - and http:/host/HinzKunzETAL2004

stefan



More information about the Zope3-users mailing list