[Osr-101] Re: [Yulup] CSS support?
Andreas Wuest
awuest at student.ethz.ch
Mon Jan 29 17:45:10 CET 2007
Hi
On 27.1.2007 12:13 Uhr, Michael Wechner wrote:
> 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
Note that I've just copied that from the old spec, and is not something new.
>> 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.
Obviously, there does not seem much interest in this topic, since nobody
replied to this proposal. Therefore, I think we can simply forget about it.
--
Kind regards,
Andi
More information about the Osr-101
mailing list