[Osr-101] Re: [Yulup] CSS support?
Michael Wechner
michael.wechner at wyona.com
Sat Jan 27 12:13:58 CET 2007
Andreas Wuest wrote:
> Hi Andreas
>
> On 26.1.2007 11:02 Uhr, Andreas Hartmann wrote:
>
>> Michael Wechner schrieb:
>>
>> [...]
>>
>>>> There's one thing that bothers me, though - I couldn't
>>>> find anything about CSS support, i.e. have a CSS assigned
>>>> to the document in WYSIWYG editing mode.
>>>>
>>>> Am I doing something wrong, or doesn't this work (yet)?
>>>
>>> It should work actually, but maybe depending how it is being referenced
>>> it doesn't work properly.
>>>
>>> I will check and also setup a demo page.
>>
>>
>> The basic problem is that the document source itself doesn't
>> contain the CSS reference. I guess this applies to various CMS
>> due to the separation between content and layout.
>>
>> Does Neutron cover this issue, or is it up to the CMS to add
>> the CSS reference to the source and remove it when the source
>> is saved?
>
>
> Currently, there is no such facility. As it is now, (XSL) stylesheets
> can be declared like this:
>
> <edit>
> <styles>
> <style href="aXSLTFile.xsl"/>
> </styles>
> </edit>
>
> On the other hand, we have a proposals which looks like this:
>
> Example - Declaring a CSS style for a resource
>
> <edit>
> <styles>
> <style type="css" href="aCSSfile.css"/>
> </styles>
> </edit>
>
> Example - Declaring a XSLT style for a resource
>
> <edit>
> <styles>
> <style type="xslt" href="aXSLTFile.xsl"/>
> </styles>
> </edit>
you might want to add this as an amendment
http://neutron.wyona.org/amendments/index.html
>
> That is, we would add a @type attribute to the style element, such
> that the CMS can declare arbitrary styles, as long as the client
> supports it.
>
> If people think this would help on the server side, I am ready to
> implement this.
I think we need to be careful to differentiate between implementing this
into Yulup and deciding that this will be part of the Neutron spec.
cheers
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Osr-101
mailing list