You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by anandhthiyagarajan <an...@gmail.com> on 2009/08/19 10:25:30 UTC

PDF export using cocoon

Hi everyone

       Is there any possibility to generate the PDF documents using cocoon
without generating xml files. I m working in Ruby on Rails. Any help would
be appreciated.

Thanks

Anandh
-- 
View this message in context: http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: PDF export using cocoon

Posted by warrell harries <wa...@googlemail.com>.
Of course, that is the beauty of Cocoon. However, the content that will form
the PDF document has to pass through the the Cocoon pipelines as XML. If the
Cocoon pipeline that is invoked via the Cocoon url were to treat the Ruby
app as a source for that content then that Content could be transformed
within Cocoon to XML and serailized as a PDF.... but somewhere along the
line the developer would have to use XML.

2009/8/21 Jeroen Reijn <j....@onehippo.com>

> Well that depends I guess, since you don't actually have to see the XML,
> because you can let Cocoon serialize the output as a pdf, you could call a
> URL from ruby I guess and cocoon will generate the pdf based on the URL?
>
> Regards,
>
> Jeroen
>
> warrell harries wrote:
>
>> It's an XML framework... so, in short, no :)
>>
>>
>> 2009/8/19 anandhthiyagarajan <anandhthiyagarajan@gmail.com <mailto:
>> anandhthiyagarajan@gmail.com>>
>>
>>
>>    Hi everyone
>>
>>          Is there any possibility to generate the PDF documents using
>>    cocoon
>>    without generating xml files. I m working in Ruby on Rails. Any help
>>    would
>>    be appreciated.
>>
>>    Thanks
>>
>>    Anandh
>>    --
>>    View this message in context:
>>    http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html
>>    Sent from the Cocoon - Users mailing list archive at Nabble.com.
>>
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>    <ma...@cocoon.apache.org>
>>    For additional commands, e-mail: users-help@cocoon.apache.org
>>    <ma...@cocoon.apache.org>
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Re: PDF export using cocoon

Posted by Jeroen Reijn <j....@onehippo.com>.
Well that depends I guess, since you don't actually have to see the XML, 
because you can let Cocoon serialize the output as a pdf, you could call 
a URL from ruby I guess and cocoon will generate the pdf based on the URL?

Regards,

Jeroen

warrell harries wrote:
> It's an XML framework... so, in short, no :)
> 
> 
> 2009/8/19 anandhthiyagarajan <anandhthiyagarajan@gmail.com 
> <ma...@gmail.com>>
> 
> 
>     Hi everyone
> 
>           Is there any possibility to generate the PDF documents using
>     cocoon
>     without generating xml files. I m working in Ruby on Rails. Any help
>     would
>     be appreciated.
> 
>     Thanks
> 
>     Anandh
>     --
>     View this message in context:
>     http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html
>     Sent from the Cocoon - Users mailing list archive at Nabble.com.
> 
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>     <ma...@cocoon.apache.org>
>     For additional commands, e-mail: users-help@cocoon.apache.org
>     <ma...@cocoon.apache.org>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: PDF export using cocoon

Posted by anandhthiyagarajan <an...@gmail.com>.
Thanks warrell


warrell harries-3 wrote:
> 
> It's an XML framework... so, in short, no :)
> 
> 
> 2009/8/19 anandhthiyagarajan <an...@gmail.com>
> 
>>
>> Hi everyone
>>
>>       Is there any possibility to generate the PDF documents using cocoon
>> without generating xml files. I m working in Ruby on Rails. Any help
>> would
>> be appreciated.
>>
>> Thanks
>>
>> Anandh
>> --
>> View this message in context:
>> http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html
>> Sent from the Cocoon - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25074223.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: PDF export using cocoon

Posted by warrell harries <wa...@googlemail.com>.
It's an XML framework... so, in short, no :)


2009/8/19 anandhthiyagarajan <an...@gmail.com>

>
> Hi everyone
>
>       Is there any possibility to generate the PDF documents using cocoon
> without generating xml files. I m working in Ruby on Rails. Any help would
> be appreciated.
>
> Thanks
>
> Anandh
> --
> View this message in context:
> http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html
> Sent from the Cocoon - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Re: PDF export using cocoon

Posted by johnson <jo...@erp.tw>.
Hi!

A simple method is treating your content as a CDATA(if it's a TEXT), 
enclose it in a XML file, then you can do it.
other format is the same.

Best Regards

Johnson


anandhthiyagarajan :
> Hi everyone
>
>        Is there any possibility to generate the PDF documents using cocoon
> without generating xml files. I m working in Ruby on Rails. Any help would
> be appreciated.
>
> Thanks
>
> Anandh
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org