You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Manuel Siebeneicher <tr...@gmx.net> on 2004/05/11 18:17:53 UTC
xml upload
Hello,
is it possible to upload a xml file and insert this file in the authoring
document hierarchy so that I can edit it with kupu and publish this one to
the live section?
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
signal to noise Re: xml upload
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Manuel Siebeneicher wrote:
[long, useless quoting]
could people please trim their post? (not singling you out specifically.)
--
Gregor J. Rothfuss
Wyona Inc. - Open Source Content Management - Apache Lenya
http://wyona.com http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Manuel Siebeneicher <tr...@gmx.net>.
Am Donnerstag, 13. Mai 2004 14:41 schrieb Michael Wechner:
> Manuel Siebeneicher wrote:
> >Am Mittwoch, 12. Mai 2004 17:05 schrieb Michael Wechner:
> >>Manuel Siebeneicher wrote:
> >>>Am Mittwoch, 12. Mai 2004 00:01 schrieb Michael Wechner:
> >>>>Manuel Siebeneicher wrote:
> >>>>>Hello,
> >>>>>
> >>>>>is it possible to upload a xml file and insert this file in the
> >>>>>authoring document hierarchy so that I can edit it with kupu and
> >>>>>publish this one to the live section?
> >>>>
> >>>>possible yes, but I think none of the sample publications have
> >>>>implemented it.
> >>>
> >>>Can you explain it here in few words? Because I need it tomorrow.
> >>
> >>I have added a patch
> >>
> >>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28928
> >>
> >>It nearly works. Only the correct path needs to be fixed.
> >>
> >>But we before we can check it in I think it should also
> >>be connected to the Revision Control component and validation
> >>should be applied and Workflow ;-)
> >>
> >>I guess as a quick enhancement it's sufficient, but it would be very cool
> >>if somebody could contribute improvements back to Lenya
> >>
> >>Thanks
> >>
> >>Michi
> >
> >OK, I try the patch. If I make some improvements i will post it.
>
> cool, thanks
>
> >But another related questions: Can I transform my xml file while
> > uploading?
>
> this patch doesn't do this. The actual upload is handled within the
> flowscript
> and then via
>
> org.apache.lenya.cms.authoring.UploadHelper
>
> You would have to send it through a pipeline.
>
> I guess this is possible. Maybe you can ask on the Cocoon mailing list
>
I've create a new doctype. That's the better way.
> HTH
>
> Michi
>
> >Manuel
> >
> >>>>Maybe you can file an enhancement bug
> >>>>
> >>>>Michi
> >>>>
> >>>>>---------------------------------------------------------------------
> >>>>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> >>>>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> >>>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> >>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> >For additional commands, e-mail: lenya-user-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Michael Wechner <mi...@wyona.com>.
Manuel Siebeneicher wrote:
>Is it possible to create a new child document when I upload the xml file. I
>imagine it like creating a new document, but with the xml file instead of the
>sample file.
>
>
You could customize the UploadHelper, but this wouldn't be very generic
I think. The pipeline way would be much better ;-)
Michi
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Manuel Siebeneicher <tr...@gmx.net>.
Is it possible to create a new child document when I upload the xml file. I
imagine it like creating a new document, but with the xml file instead of the
sample file.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Michael Wechner <mi...@wyona.com>.
Manuel Siebeneicher wrote:
>Am Mittwoch, 12. Mai 2004 17:05 schrieb Michael Wechner:
>
>
>>Manuel Siebeneicher wrote:
>>
>>
>>>Am Mittwoch, 12. Mai 2004 00:01 schrieb Michael Wechner:
>>>
>>>
>>>>Manuel Siebeneicher wrote:
>>>>
>>>>
>>>>>Hello,
>>>>>
>>>>>is it possible to upload a xml file and insert this file in the
>>>>>authoring document hierarchy so that I can edit it with kupu and
>>>>>publish this one to the live section?
>>>>>
>>>>>
>>>>possible yes, but I think none of the sample publications have
>>>>implemented it.
>>>>
>>>>
>>>Can you explain it here in few words? Because I need it tomorrow.
>>>
>>>
>>I have added a patch
>>
>>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28928
>>
>>It nearly works. Only the correct path needs to be fixed.
>>
>>But we before we can check it in I think it should also
>>be connected to the Revision Control component and validation
>>should be applied and Workflow ;-)
>>
>>I guess as a quick enhancement it's sufficient, but it would be very cool
>>if somebody could contribute improvements back to Lenya
>>
>>Thanks
>>
>>Michi
>>
>>
>>
>OK, I try the patch. If I make some improvements i will post it.
>
>
cool, thanks
>But another related questions: Can I transform my xml file while uploading?
>
>
this patch doesn't do this. The actual upload is handled within the
flowscript
and then via
org.apache.lenya.cms.authoring.UploadHelper
You would have to send it through a pipeline.
I guess this is possible. Maybe you can ask on the Cocoon mailing list
HTH
Michi
>Manuel
>
>
>
>>>>Maybe you can file an enhancement bug
>>>>
>>>>Michi
>>>>
>>>>
>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>>>>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>>>>>
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>>>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>>>
>>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Manuel Siebeneicher <tr...@gmx.net>.
Am Mittwoch, 12. Mai 2004 17:05 schrieb Michael Wechner:
> Manuel Siebeneicher wrote:
> >Am Mittwoch, 12. Mai 2004 00:01 schrieb Michael Wechner:
> >>Manuel Siebeneicher wrote:
> >>>Hello,
> >>>
> >>>is it possible to upload a xml file and insert this file in the
> >>> authoring document hierarchy so that I can edit it with kupu and
> >>> publish this one to the live section?
> >>
> >>possible yes, but I think none of the sample publications have
> >>implemented it.
> >
> >Can you explain it here in few words? Because I need it tomorrow.
>
> I have added a patch
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28928
>
> It nearly works. Only the correct path needs to be fixed.
>
> But we before we can check it in I think it should also
> be connected to the Revision Control component and validation
> should be applied and Workflow ;-)
>
> I guess as a quick enhancement it's sufficient, but it would be very cool
> if somebody could contribute improvements back to Lenya
>
> Thanks
>
> Michi
>
OK, I try the patch. If I make some improvements i will post it.
But another related questions: Can I transform my xml file while uploading?
Manuel
> >>Maybe you can file an enhancement bug
> >>
> >>Michi
> >>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> >>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> >>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> >For additional commands, e-mail: lenya-user-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Michael Wechner <mi...@wyona.com>.
Manuel Siebeneicher wrote:
>Am Mittwoch, 12. Mai 2004 00:01 schrieb Michael Wechner:
>
>
>>Manuel Siebeneicher wrote:
>>
>>
>>>Hello,
>>>
>>>is it possible to upload a xml file and insert this file in the authoring
>>>document hierarchy so that I can edit it with kupu and publish this one to
>>>the live section?
>>>
>>>
>>possible yes, but I think none of the sample publications have
>>implemented it.
>>
>>
>>
>
>Can you explain it here in few words? Because I need it tomorrow.
>
>
I have added a patch
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28928
It nearly works. Only the correct path needs to be fixed.
But we before we can check it in I think it should also
be connected to the Revision Control component and validation
should be applied and Workflow ;-)
I guess as a quick enhancement it's sufficient, but it would be very cool
if somebody could contribute improvements back to Lenya
Thanks
Michi
>
>
>
>>Maybe you can file an enhancement bug
>>
>>Michi
>>
>>
>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Luis Zorita <lz...@pas.uned.es>.
Manuel Siebeneicher wrote:
>Am Mittwoch, 12. Mai 2004 00:01 schrieb Michael Wechner:
>
>
>>Manuel Siebeneicher wrote:
>>
>>
>>>Hello,
>>>
>>>is it possible to upload a xml file and insert this file in the authoring
>>>document hierarchy so that I can edit it with kupu and publish this one to
>>>the live section?
>>>
>>>
>>possible yes, but I think none of the sample publications have
>>implemented it.
>>
>>
>>
>
>Can you explain it here in few words? Because I need it tomorrow.
>
>
>
>
>>Maybe you can file an enhancement bug
>>
>>Michi
>>
>>
>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>
>
Well I'd the same problem. Upload a xml file. Finally I solved the
problem in this way.
I create a xslt (lenya compliant) to transform my xml file to xhtml
(lenya compliant).
This transf. , of course , can select the whole xml doc or a seleection.
The xml result of this trans. is placed where su decide (the place in
the menu bar ) as index-<language>.xml
Then you can edit this with Kupu.
I don“t know if it solves your problem. If yes I can give you a sample
that currently works.
Luis Zorita
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Manuel Siebeneicher <tr...@gmx.net>.
Am Mittwoch, 12. Mai 2004 00:01 schrieb Michael Wechner:
> Manuel Siebeneicher wrote:
> >Hello,
> >
> >is it possible to upload a xml file and insert this file in the authoring
> >document hierarchy so that I can edit it with kupu and publish this one to
> >the live section?
>
> possible yes, but I think none of the sample publications have
> implemented it.
>
Can you explain it here in few words? Because I need it tomorrow.
> Maybe you can file an enhancement bug
>
> Michi
>
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> >For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Submenu on the left side
Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Wed, 2004-05-12 at 10:52, Luis Zorita wrote:
> Hello group:
> For our lenya site (in construction) it would be very interesting if the
> menu bar (on the left side of the page ) shows only the submenu
> matching the context . Not the whole menu. For us it's enough with the
> tab on the top . Any suggestion?.
I absolutely agree that the current behaviour of the menu in default pub
is useless. I have a patch here. At the mom I'm holding back patches
since the 1.2 Release is hot and I do not want to introduce changes at
the mom. Maybe I can check in things during the sprint when I can talk
about possible patches with the other guys.
--
Rolf Kulemann
"There is inherently no silverbullet" - F.Brooks
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Submenu on the left side
Posted by Andreas Hartmann <an...@apache.org>.
Luis Zorita wrote:
> Hello group:
> For our lenya site (in construction) it would be very interesting if the
> menu bar (on the left side of the page ) shows only the submenu
> matching the context . Not the whole menu. For us it's enough with the
> tab on the top . Any suggestion?.
1) override the navigation/menu.xsl stylesheet
http://cocoon.apache.org/lenya/docs/components/layout/navigation.html
2) "display: none" in CSS
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Submenu on the left side
Posted by Luis Zorita <lz...@pas.uned.es>.
Hello group:
For our lenya site (in construction) it would be very interesting if the
menu bar (on the left side of the page ) shows only the submenu
matching the context . Not the whole menu. For us it's enough with the
tab on the top . Any suggestion?.
Thanks
Luis
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xml upload
Posted by Michael Wechner <mi...@wyona.com>.
Manuel Siebeneicher wrote:
>Hello,
>
>is it possible to upload a xml file and insert this file in the authoring
>document hierarchy so that I can edit it with kupu and publish this one to
>the live section?
>
>
possible yes, but I think none of the sample publications have
implemented it.
Maybe you can file an enhancement bug
Michi
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org