You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "A. Ramos" <ar...@unsec.net> on 2009/07/01 23:59:58 UTC
Embed tag / kupu
Hello All,
Two questions:
* There are any way to embed video on Apache Lenya content? like
youtube <embed> tag or something like that?
* I'm getting "Error saving your data. Response status: 415. Check you
server log for more information." with IE, when I'm saving from Kupu
editor, and I'cant find anything in the logs. With firefox works fine,
any idea?
Thank you!
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Jürgen Ragaller <ra...@apache.org>.
Hi
A. Ramos schrieb:
> Two questions:
> * There are any way to embed video on Apache Lenya content? like
> youtube <embed> tag or something like that?
One option could be to use xhtml compliant markup for youtube video
embedding:
e.g. created using such a tool:
http://www.tools4noobs.com/online_tools/youtube_xhtml/
Jürgen
null-oder-eins GmbH Zürich
web & graphic design
www.null-oder-eins.ch
ragaller@apache.org
Skype: callto://ragaller
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Andreas Hartmann <an...@apache.org>.
Rainer Schöpf schrieb:
> On Fri, 3 Jul 2009, Andreas Hartmann wrote:
>
> > Richard Frovarp schrieb:
> > > Andreas Hartmann wrote:
> > > > Rainer Schöpf schrieb:
> > > >
> > > >
> > > > > Note that the patch I attached to the bug report improves the behaviour
> > > > > insofar as kupu removes many offending tags/attributes before trying to
> > > > > save.
> > > >
> > > > That sounds good. Is someone taking care of the patch? I'm currently
> > > > working on other issues (tests etc.), it would be great if someone could
> > > > take the lead for the TinyMCE and Kupu issues. Thanks! :)
> > > >
> > > > -- Andreas
> > > >
> > > >
> > >
> > >
> > > I looked at the patch real quickly. It's against code that comes from
> > > Kupu's repo, not ours. It's in the Lenya integration area, but still in
> > > their repo. The last patch I contributed to them hasn't been committed, and
> > > that was a couple of years ago. We may want to get the Lenya integration
> > > chunk back in our repo somehow.
> >
> > Yes, I guess that would make things easier. For the moment I have added a
> > build script which applies the patch.
>
> This is a nice new feature. There is one problem: the patch is applied to the
> files in the src tree. When you run the build twice, it tries to apply the patch
> twice. It might be better to apply the patch only in the build tree.
I always set modules.copy to false, so for me there is no build tree …
I noticed that the build tries to apply the patch twice, but since it
fails I think it doesn't do any harm. But maybe there is some
configuration option to check if the patch has already been applied. If
the behaviour annoys you, please file a bug :)
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Rainer Schöpf <ra...@proteosys.com>.
On Fri, 3 Jul 2009, Andreas Hartmann wrote:
> Richard Frovarp schrieb:
> > Andreas Hartmann wrote:
> > > Rainer Schöpf schrieb:
> > >
> > >
> > > > Note that the patch I attached to the bug report improves the behaviour
> > > > insofar as kupu removes many offending tags/attributes before trying to
> > > > save.
> > >
> > > That sounds good. Is someone taking care of the patch? I'm currently
> > > working on other issues (tests etc.), it would be great if someone could
> > > take the lead for the TinyMCE and Kupu issues. Thanks! :)
> > >
> > > -- Andreas
> > >
> > >
> >
> >
> > I looked at the patch real quickly. It's against code that comes from
> > Kupu's repo, not ours. It's in the Lenya integration area, but still in
> > their repo. The last patch I contributed to them hasn't been committed, and
> > that was a couple of years ago. We may want to get the Lenya integration
> > chunk back in our repo somehow.
>
> Yes, I guess that would make things easier. For the moment I have added a
> build script which applies the patch.
This is a nice new feature. There is one problem: the patch is applied to the
files in the src tree. When you run the build twice, it tries to apply the patch
twice. It might be better to apply the patch only in the build tree.
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Richard Frovarp <rf...@apache.org>.
Andreas Hartmann wrote:
>
> Yes, I guess that would make things easier. For the moment I have
> added a build script which applies the patch.
>
> (BTW, this is a new feature: you can add build scripts to modules;
> they are executed automatically when the Lenya build is running.)
>
> -- Andreas
>
>
That is a nice new feature I didn't know existed until your commit.
Thanks.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Andreas Hartmann <an...@apache.org>.
Richard Frovarp schrieb:
> Andreas Hartmann wrote:
>> Rainer Schöpf schrieb:
>>
>>
>>> Note that the patch I attached to the bug report improves the
>>> behaviour insofar as kupu removes many offending tags/attributes
>>> before trying to save.
>>
>> That sounds good. Is someone taking care of the patch? I'm currently
>> working on other issues (tests etc.), it would be great if someone
>> could take the lead for the TinyMCE and Kupu issues. Thanks! :)
>>
>> -- Andreas
>>
>>
>
>
> I looked at the patch real quickly. It's against code that comes from
> Kupu's repo, not ours. It's in the Lenya integration area, but still in
> their repo. The last patch I contributed to them hasn't been committed,
> and that was a couple of years ago. We may want to get the Lenya
> integration chunk back in our repo somehow.
Yes, I guess that would make things easier. For the moment I have added
a build script which applies the patch.
(BTW, this is a new feature: you can add build scripts to modules; they
are executed automatically when the Lenya build is running.)
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Richard Frovarp <Ri...@ndsu.edu>.
Andreas Hartmann wrote:
> Rainer Schöpf schrieb:
>
>
>> Note that the patch I attached to the bug report improves the
>> behaviour insofar as kupu removes many offending tags/attributes
>> before trying to save.
>
> That sounds good. Is someone taking care of the patch? I'm currently
> working on other issues (tests etc.), it would be great if someone
> could take the lead for the TinyMCE and Kupu issues. Thanks! :)
>
> -- Andreas
>
>
I looked at the patch real quickly. It's against code that comes from
Kupu's repo, not ours. It's in the Lenya integration area, but still in
their repo. The last patch I contributed to them hasn't been committed,
and that was a couple of years ago. We may want to get the Lenya
integration chunk back in our repo somehow.
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Andreas Hartmann <an...@apache.org>.
Rainer Schöpf schrieb:
> > Rainer Schöpf schrieb:
> > > On Thu, 2 Jul 2009, Andreas Hartmann wrote:
> > >
> > > > Hi,
> > > > > A. Ramos schrieb:
> > > > > Two questions:
> > > > > * There are any way to embed video on Apache Lenya content? like
> > > > > youtube <embed> tag or something like that?
> > > > > basically you can embed all markup that the schema allows. If you
> > > need
> > > > different markup, you might want to extend the schema.
> > > > Did you try it and receive an error?
> > > > > > * I'm getting "Error saving your data. Response status: 415. Check
> > > you
> > > > > server log for more information." with IE, when I'm saving from Kupu
> > > > > editor, and I'cant find anything in the logs. With firefox works fine,
> > > > > any idea?
> > > > > I can't remember to have seen this one before. Is there a bugzilla
> > > entry on
> > > > this issue?
> > >
> > > Yes, there is:
> > >
> > > https://issues.apache.org/bugzilla/show_bug.cgi?id=45488
> > >
> > > When the schema validation fails, you get the 415 error.
> >
> > Yes, that's the general issue. I thought maybe there was a specific one for
> > the IE problem (it seems to work for Firedocs here).
>
> The problem is not specific to IE, it happens with Firefox as well (without
> Firedocs). Could be IE compatibility ;-)
Sorry, that was of course a typo :)
> > But anyway, if we improve the error handling it should be easier to find the
> > cause of the problem.
>
> For oneform and TinyMCE it works. Is the kupu error handling simpler than for
> these editors?
Actually I have no idea, I didn't take a closer look at the error
handling yet (I'm focusing on the XML editors).
> Note that the patch I attached to the bug report improves the behaviour insofar
> as kupu removes many offending tags/attributes before trying to save.
That sounds good. Is someone taking care of the patch? I'm currently
working on other issues (tests etc.), it would be great if someone could
take the lead for the TinyMCE and Kupu issues. Thanks! :)
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Rainer Schöpf <ra...@proteosys.com>.
Hi Andreas,
> Rainer Schöpf schrieb:
> > On Thu, 2 Jul 2009, Andreas Hartmann wrote:
> >
> > > Hi,
> > > > A. Ramos schrieb:
> > > > Two questions:
> > > > * There are any way to embed video on Apache Lenya content? like
> > > > youtube <embed> tag or something like that?
> > > > basically you can embed all markup that the schema allows. If you
> > need
> > > different markup, you might want to extend the schema.
> > > Did you try it and receive an error?
> > > > > * I'm getting "Error saving your data. Response status: 415. Check
> > you
> > > > server log for more information." with IE, when I'm saving from Kupu
> > > > editor, and I'cant find anything in the logs. With firefox works fine,
> > > > any idea?
> > > > I can't remember to have seen this one before. Is there a bugzilla
> > entry on
> > > this issue?
> >
> > Yes, there is:
> >
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=45488
> >
> > When the schema validation fails, you get the 415 error.
>
> Yes, that's the general issue. I thought maybe there was a specific one for
> the IE problem (it seems to work for Firedocs here).
The problem is not specific to IE, it happens with Firefox as well (without
Firedocs). Could be IE compatibility ;-)
> But anyway, if we improve the error handling it should be easier to find the
> cause of the problem.
For oneform and TinyMCE it works. Is the kupu error handling simpler than for
these editors?
Note that the patch I attached to the bug report improves the behaviour insofar
as kupu removes many offending tags/attributes before trying to save.
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Andreas Hartmann <an...@apache.org>.
Rainer Schöpf schrieb:
> On Thu, 2 Jul 2009, Andreas Hartmann wrote:
>
> > Hi,
> >
> > A. Ramos schrieb:
> > > Two questions:
> > > * There are any way to embed video on Apache Lenya content? like
> > > youtube <embed> tag or something like that?
> >
> > basically you can embed all markup that the schema allows. If you need
> > different markup, you might want to extend the schema.
> > Did you try it and receive an error?
> >
> > > * I'm getting "Error saving your data. Response status: 415. Check you
> > > server log for more information." with IE, when I'm saving from Kupu
> > > editor, and I'cant find anything in the logs. With firefox works fine,
> > > any idea?
> >
> > I can't remember to have seen this one before. Is there a bugzilla entry on
> > this issue?
>
> Yes, there is:
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=45488
>
> When the schema validation fails, you get the 415 error.
Yes, that's the general issue. I thought maybe there was a specific one
for the IE problem (it seems to work for Firedocs here).
But anyway, if we improve the error handling it should be easier to find
the cause of the problem.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Rainer Schöpf <ra...@proteosys.com>.
On Thu, 2 Jul 2009, Andreas Hartmann wrote:
> Hi,
>
> A. Ramos schrieb:
> > Two questions:
> > * There are any way to embed video on Apache Lenya content? like
> > youtube <embed> tag or something like that?
>
> basically you can embed all markup that the schema allows. If you need
> different markup, you might want to extend the schema.
> Did you try it and receive an error?
>
> > * I'm getting "Error saving your data. Response status: 415. Check you
> > server log for more information." with IE, when I'm saving from Kupu
> > editor, and I'cant find anything in the logs. With firefox works fine,
> > any idea?
>
> I can't remember to have seen this one before. Is there a bugzilla entry on
> this issue?
Yes, there is:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45488
When the schema validation fails, you get the 415 error.
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Embed tag / kupu
Posted by Andreas Hartmann <an...@apache.org>.
Hi,
A. Ramos schrieb:
> Two questions:
> * There are any way to embed video on Apache Lenya content? like
> youtube <embed> tag or something like that?
basically you can embed all markup that the schema allows. If you need
different markup, you might want to extend the schema.
Did you try it and receive an error?
> * I'm getting "Error saving your data. Response status: 415. Check you
> server log for more information." with IE, when I'm saving from Kupu
> editor, and I'cant find anything in the logs. With firefox works fine,
> any idea?
I can't remember to have seen this one before. Is there a bugzilla entry
on this issue?
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org