| 1 | = Organisation logo = |
| 2 | |
| 3 | || '''Date''' || 2011/01/24 || |
| 4 | || '''Contact(s)''' || Francois || |
| 5 | || '''Last edited''' || || |
| 6 | || '''Status''' || complete || |
| 7 | || '''Assigned to release''' || 2.7.0 || |
| 8 | || '''Resources''' || Available || |
| 9 | || '''Ticket''' || #440 || |
| 10 | |
| 11 | == Overview == |
| 12 | |
| 13 | This proposal aims to provide the capability to set an organisation logo for each contact of a (ISO19139) metadata record. |
| 14 | |
| 15 | [[Image(organisation-logo-view-mode.png)]] |
| 16 | |
| 17 | |
| 18 | * The organisation logo is stored using an url in the src attribute of a gmx:FileName element. |
| 19 | * The element use to store this information is gmd:contactInstructions. |
| 20 | * In view mode, the logo is displayed in the metadata record |
| 21 | * In edit mode, editor could manually set the URL or use the logo selection widget to use an existing logo from the catalogue (See logo manager http://trac.osgeo.org/geonetwork/wiki/proposals/LogoManager) |
| 22 | |
| 23 | |
| 24 | [[Image(organisation-logo-selection.png)]] |
| 25 | |
| 26 | |
| 27 | [[Image(organisation-logo-widget.png)]] |
| 28 | |
| 29 | |
| 30 | This proposal could be extended later to display organisation logo(s) in search results. |
| 31 | |
| 32 | === Proposal Type === |
| 33 | * '''Type''': Editor improvement |
| 34 | * '''App''': !GeoNetwork |
| 35 | |
| 36 | === Links === |
| 37 | * '''Documents''': |
| 38 | * '''Email discussions''': |
| 39 | * '''Other wiki discussions''': |
| 40 | |
| 41 | === Voting History === |
| 42 | * Vote proposed by Francois on XYZ, result was |
| 43 | |
| 44 | ---- |
| 45 | |
| 46 | == Proposal == |
| 47 | |
| 48 | As usual, gmx:FileName configuration is made in schema-suggestions.xml |
| 49 | {{{ |
| 50 | <field name="gmd:contactInstructions"> |
| 51 | <suggest name="gco:CharacterString"/> |
| 52 | <suggest name="gmx:FileName"/> |
| 53 | </field> |
| 54 | }}} |
| 55 | |
| 56 | |
| 57 | XML fragment for contact is : |
| 58 | {{{ |
| 59 | </gmd:address> |
| 60 | <gmd:contactInstructions> |
| 61 | <gmx:FileName src="http://localhost:8080/geonetwork/images/harvesting/UNHCR-150x150.jpg">From 8AM to 18PM / monday - thursday</gmx:FileName> |
| 62 | </gmd:contactInstructions> |
| 63 | </gmd:CI_Contact> |
| 64 | }}} |
| 65 | |
| 66 | The logo selection panel comes from the widget sandbox. |
| 67 | |
| 68 | |
| 69 | === Backwards Compatibility Issues === |
| 70 | None. |
| 71 | |
| 72 | === New libraries added === |
| 73 | None. |
| 74 | |
| 75 | |
| 76 | == Participants == |
| 77 | * Francois |