[GeoNetwork-devel] Pdf output ?

Hi everyone, Is there anyone working on pdf output of metadata and/or
metadata results ? Main aim is to have pretty print outputs instead of
html pages which is quite difficult to print (also with the ajax
embedded functionnality).

To add pdf support, FOP http://xmlgraphics.apache.org/fop/ seems to be a
good choice.

Any comments on that ?

Thanks. Francois

Francois-Xavier Prunayre wrote:

Hi everyone, Is there anyone working on pdf output of metadata and/or
metadata results ?

It doesn't look so :slight_smile:

One more question, more on Jeeves than GeoNetwork (but it doesn't look
to have a mailing list for Jeeves).

To add new pdf export functionnality, I propose to add fop capability to
the Jeeves engine.

Service could then be defined as follow :
<service name="iso19115.pdf">
        <class name=".services.metadata.Show" />
        <output sheet="conversion/export/pdf_iso19115.xsl" file="true"
contentType="application/pdf"/>
</service>

Then Jeeves will produce a pdf document if contentType is et
application/pdf and file is true. FOP will then produce the pdf doc
using : XML+XSL -> FO -> PDF

Comments ? Is there any Jeeves expert ? It sounds for me better to add
this into Jeeves rather than in the GeoNetwork service.

Francois

Main aim is to have pretty print outputs instead of

html pages which is quite difficult to print (also with the ajax
embedded functionnality).

To add pdf support, FOP http://xmlgraphics.apache.org/fop/ seems to be a
good choice.

Any comments on that ?

Thanks. Francois

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Francois,
Yes, that's how it would be added. Jeeves should take care of the fop transformation. AFAIK Jeeves is already used in other applications to do pdf conversions, so it may work immediately. Did you try?
Ciao,
Jeroen

On Jan 22, 2008, at 9:58 AM, Francois-Xavier Prunayre wrote:

Francois-Xavier Prunayre wrote:

Hi everyone, Is there anyone working on pdf output of metadata and/or
metadata results ?

It doesn't look so :slight_smile:

One more question, more on Jeeves than GeoNetwork (but it doesn't look
to have a mailing list for Jeeves).

To add new pdf export functionnality, I propose to add fop capability to
the Jeeves engine.

Service could then be defined as follow :
<service name="iso19115.pdf">
       <class name=".services.metadata.Show" />
       <output sheet="conversion/export/pdf_iso19115.xsl" file="true"
contentType="application/pdf"/>
</service>

Then Jeeves will produce a pdf document if contentType is et
application/pdf and file is true. FOP will then produce the pdf doc
using : XML+XSL -> FO -> PDF

Comments ? Is there any Jeeves expert ? It sounds for me better to add
this into Jeeves rather than in the GeoNetwork service.

Francois

Main aim is to have pretty print outputs instead of

html pages which is quite difficult to print (also with the ajax
embedded functionnality).

To add pdf support, FOP Apache(tm) FOP - a print formatter driven by XSL formatting objects (XSL-FO) and an output independent formatter. seems to be a
good choice.

Any comments on that ?

Thanks. Francois

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Jeroen Ticheler wrote:

Hi Francois,

Hi,

Yes, that's how it would be added. Jeeves should take care of the fop
transformation. AFAIK Jeeves is already used in other applications to do
pdf conversions, so it may work immediately. Did you try?

There is no FOP library into jeeves nor XSLT transformation using FOP in
the source code ... or I didn't find it ?

It's not so hard to embedded FOP into Java app, maybe it has been added
on the application but not on jeeves ?

I think to add a new method in jeeves.utils.Xml for FOP transformation
and adpat the serviceManager to deal with generated pdf.

Cheers.

Francois

Ciao,
Jeroen

On Jan 22, 2008, at 9:58 AM, Francois-Xavier Prunayre wrote:

Francois-Xavier Prunayre wrote:

Hi everyone, Is there anyone working on pdf output of metadata and/or
metadata results ?

It doesn't look so :slight_smile:

One more question, more on Jeeves than GeoNetwork (but it doesn't look
to have a mailing list for Jeeves).

To add new pdf export functionnality, I propose to add fop capability to
the Jeeves engine.

Service could then be defined as follow :
<service name="iso19115.pdf">
       <class name=".services.metadata.Show" />
       <output sheet="conversion/export/pdf_iso19115.xsl" file="true"
contentType="application/pdf"/>
</service>

Then Jeeves will produce a pdf document if contentType is et
application/pdf and file is true. FOP will then produce the pdf doc
using : XML+XSL -> FO -> PDF

Comments ? Is there any Jeeves expert ? It sounds for me better to add
this into Jeeves rather than in the GeoNetwork service.

Francois

Main aim is to have pretty print outputs instead of

html pages which is quite difficult to print (also with the ajax
embedded functionnality).

To add pdf support, FOP http://xmlgraphics.apache.org/fop/ seems to be a
good choice.

Any comments on that ?

Thanks. Francois

-------------------------------------------------------------------------

Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork