| 1 | = PDF output for metadata view mode = |
| 2 | |
| 3 | || '''Date''' || 2011/05/18 || |
| 4 | || '''Contact(s)''' || Francois || |
| 5 | || '''Last edited''' || || |
| 6 | || '''Status''' || complete || |
| 7 | || '''Assigned to release''' || 2.7.0 || |
| 8 | || '''Resources''' || Available || |
| 9 | || '''Ticket''' || #XYZ || |
| 10 | |
| 11 | == Overview == |
| 12 | |
| 13 | This proposal aims to provide the capability to print a metadata record in PDF format. |
| 14 | The PDF layout is simple (ie. similar to the default flat mode of the HTML output). |
| 15 | It provides link to : |
| 16 | |
| 17 | * the HTML page of the metadata record using http://localhost:8080/geonetwork-main?uuid=da165110-88fd-11da-a88f-000d939bc5d8 |
| 18 | * the XML document using http://localhost:8080/geonetwork-main/srv/en/xml.metadata.get?uuid=da165110-88fd-11da-a88f-000d939bc5d8 |
| 19 | * and links to download or WMS link when available. |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | === Proposal Type === |
| 26 | * '''Type''': Metadata view |
| 27 | * '''App''': !GeoNetwork |
| 28 | |
| 29 | === Links === |
| 30 | * '''Documents''': |
| 31 | * '''Email discussions''': |
| 32 | * '''Other wiki discussions''': |
| 33 | |
| 34 | === Voting History === |
| 35 | * Vote proposed by Francois on XYZ, result was |
| 36 | |
| 37 | ---- |
| 38 | |
| 39 | == Proposal == |
| 40 | |
| 41 | PDF output is provided for all schemas: |
| 42 | |
| 43 | * iso19139 |
| 44 | * iso19115 |
| 45 | * iso19110 |
| 46 | * fgdc |
| 47 | * dublin-core |
| 48 | |
| 49 | |
| 50 | To add this capability to a new schema: |
| 51 | * Create a metadata-{schemaId}-fop.xsl in the present directory of the schema |
| 52 | * Create a template called metadata-fop-{schemaId} which is used by layout-pdf.xsl |
| 53 | {{{ |
| 54 | <xsl:template name="metadata-fop-iso19139"> |
| 55 | }}} |
| 56 | * Include this XSL in metadata-{schemaId}.xsl using |
| 57 | {{{ |
| 58 | <xsl:include href="metadata-iso19139-fop.xsl"/> |
| 59 | }}} |
| 60 | |
| 61 | |
| 62 | === Backwards Compatibility Issues === |
| 63 | None. |
| 64 | |
| 65 | === New libraries added === |
| 66 | None. |
| 67 | |
| 68 | |
| 69 | == Participants == |
| 70 | * Francois |