You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Nils Christian <ni...@gmx.de> on 2006/05/16 11:53:42 UTC

kupu tags in lenya 1.2

Hello list,

I am having some problems with kupu in lenya 1.2. Editing a new 
document, kupu doesn't create the correct xml. If I then try to edit 
this in the source editor, it refuses to save the document because it 
doesn't validate.

Even in the simplest case of just entering one word, kupu misses to add 
a <div> </div> pair.

So I get
<body>test
</body>

instead of
<body><div>
test
</div></body>

Also other features like external link don't validate because they add 
an attribute which is not valid.

Is there a solution for it which I haven't found, or where should I put 
my hands on (I don't really understand a lot of how the editors are 
integrated into lenya)?

Thanks
   Nils

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Publishing only content of KUPU Editor

Posted by Michael Wechner <mi...@wyona.com>.
Younas Aamir wrote:

>Hi All
>
>I have a question about publishing pages.
>
>I want to publish only content of KUPU Editor, no menu, no tab, no something
>else. Could someone guide me which XSL should I modify for this Live
>publishing.
>  
>

I don't fully understand what you are trying to accomplish.
Can you explain a bit more?

Michi

>Best regards
>
>Younas Aamir
>
>**************************************************************
>Scanned by  eScan  Anti-Virus  and  Content Security Software.
>Visit http://www.mwti.net for more info on eScan and MailScan.
>**************************************************************
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Publishing only content of KUPU Editor

Posted by Younas Aamir <aa...@ufnasoft.com>.
Hi All

I have a question about publishing pages.

I want to publish only content of KUPU Editor, no menu, no tab, no something
else. Could someone guide me which XSL should I modify for this Live
publishing.

Best regards

Younas Aamir

**************************************************************
Scanned by  eScan  Anti-Virus  and  Content Security Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: kupu tags in lenya 1.2

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:

[...]

> But it would be good if one could mix editors ;-) Therefore I think we 
> should build a validation wall around
> Lenya (which could be optional of course , I mean with a switch to 
> enable/disable validation, whereas by default
> I would turn it on)

Just FYI:

http://lenya.apache.org/apidocs/1.4/org/apache/lenya/cms/repo/AssetType.html

In the new repo API draft, the asset type (resource type) can
be set to "validating", which means that you can't write invalid
content to a document at all.

-- Andreas


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: kupu tags in lenya 1.2

Posted by Jann Forrer <ja...@id.unizh.ch>.
Michael Wechner wrote:
> Nils Christian wrote:
>> Hi again!
>>
>> On Tue, May 16 at 21:35 Michael Wechner wrote:
>>  
>>> Nils Christian wrote:
>>>    
>>>> I am having some problems with kupu in lenya 1.2. Editing a new 
>>>> document, kupu doesn't create the correct xml.
>>>>       
>>
>>  
>>> which Lenya 1.2 version do you use?
>>>     
>>
>> Sorry. It is 1.2.4 source version.
>>
>>  
>>>> If I then try to edit this in the source editor, it refuses to save 
>>>> the document because it doesn't validate.
>>>>       
>>
>>  
>>> well, I think we should implement, that during saving a document is 
>>> always checked on validity, otherwise we always end up with these 
>>> problems ....
>>>     
>>
>> Yes, you are probably right. It seems that nobody is mixing different
>> editors, otherwise somebody else would have stumbled across this.
>>   

Yes we do. We use BXE and the Form based editor(s). The two validate 
different and it may happen that a document saved in BXE will throw an 
schema error in the form based editors which is annoying for a user!


> 
> But it would be good if one could mix editors ;-) Therefore I think we 
> should build a validation wall around

That is a good idea :-)

Jann

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: kupu tags in lenya 1.2

Posted by Michael Wechner <mi...@wyona.com>.
Nils Christian wrote:
> Hi again!
>
> On Tue, May 16 at 21:35 Michael Wechner wrote:
>   
>> Nils Christian wrote:
>>     
>>> I am having some problems with kupu in lenya 1.2. Editing a new 
>>> document, kupu doesn't create the correct xml.
>>>       
>
>   
>> which Lenya 1.2 version do you use?
>>     
>
> Sorry. It is 1.2.4 source version.
>
>   
>>> If I then try to edit this in the source editor, it refuses to save 
>>> the document because it doesn't validate.
>>>       
>
>   
>> well, I think we should implement, that during saving a document is 
>> always checked on validity, otherwise we always end up with these 
>> problems ....
>>     
>
> Yes, you are probably right. It seems that nobody is mixing different
> editors, otherwise somebody else would have stumbled across this.
>   

But it would be good if one could mix editors ;-) Therefore I think we 
should build a validation wall around
Lenya (which could be optional of course , I mean with a switch to 
enable/disable validation, whereas by default
I would turn it on)

Michi
> Regards
>   Nils
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>   


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: kupu tags in lenya 1.2

Posted by Nils Christian <ni...@gmx.de>.
Hi again!

On Tue, May 16 at 21:35 Michael Wechner wrote:
> Nils Christian wrote:
> >I am having some problems with kupu in lenya 1.2. Editing a new 
> >document, kupu doesn't create the correct xml.

> which Lenya 1.2 version do you use?

Sorry. It is 1.2.4 source version.

> >If I then try to edit this in the source editor, it refuses to save 
> >the document because it doesn't validate.

> well, I think we should implement, that during saving a document is 
> always checked on validity, otherwise we always end up with these 
> problems ....

Yes, you are probably right. It seems that nobody is mixing different
editors, otherwise somebody else would have stumbled across this.

Regards
  Nils

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: kupu tags in lenya 1.2

Posted by Michael Wechner <mi...@wyona.com>.
Nils Christian wrote:

> Hello list,
>
> I am having some problems with kupu in lenya 1.2. Editing a new 
> document, kupu doesn't create the correct xml.


which Lenya 1.2 version do you use?

> If I then try to edit this in the source editor, it refuses to save 
> the document because it doesn't validate.


well, I think we should implement, that during saving a document is 
always checked on validity, otherwise we always end up with these 
problems ....

>
> Even in the simplest case of just entering one word, kupu misses to 
> add a <div> </div> pair.
>
> So I get
> <body>test
> </body>
>
> instead of
> <body><div>
> test
> </div></body>
>
> Also other features like external link don't validate because they add 
> an attribute which is not valid.
>
> Is there a solution for it which I haven't found, or where should I 
> put my hands on (I don't really understand a lot of how the editors 
> are integrated into lenya)?


One thing would be to check on the Kupu version and then send an email 
to the Kupu mailing list, whereas Guido (one of the Kupu core 
developers) used to be on the Lenya mailing list and might have an idea.

HTH

Michi

>
>
> Thanks
>   Nils
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org