[Yanel-dev] icons for resource types

simon litwan simon.litwan at wyona.com
Tue Jul 10 16:45:10 CEST 2007


Michael Wechner schrieb:

> I would rather suggest
> 
> $RESOURCE_TYPE/htdocs/yanel/icon.png
> 
> resp.
> 
> $RESOURCE_TYPE/htdocs/$RESERVED_PREFIX/icon.png
this one i don't understand

the reserved prefix for resource-types is something like this:
http://$HOST:$PORT/$SERVLETPREFIX/$REALM/$RESERVEDPREFIX/resource-types/$RESOURCETYPENAMESPACE::$RESOURCETYPENAME/icon.png
or as file path:
$RESOURCE_TYPE/htdocs/icon.png

but i think it would make sense to have a didicated icon folder because 
the resource-type could use some other icons as well which are not 
availabel in the global htdocs (e.g for thirdparty resource-types or not 
used elsewhere in yanel).

and i think it's not bad at all to standardize it.

i still would propose something like
http://$HOST:$PORT/$SERVLETPREFIX/$REALM/$RESERVEDPREFIX/resource-types/$RESOURCETYPENAMESPACE::$RESOURCETYPENAME/icons/resoursce-type-icon.png
or as file path
$RESOURCE_TYPE/htdocs/icons/resoursce-type-icon.png

simon


> 
> WDYT?
> 
> Cheers
> 
> Michi
> 
>>
>> WDOT?
>>
>> simon
>>
>>
> 
> 


-- 
Simon Litwan                               simon.litwan at wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org



More information about the Yanel-development mailing list