[GeoNetwork-devel] fgdc metadata standard

Hi Damian

We also needed to display the thumbnails for the FGDC metadata,

and Gullermo found this, hope it functions for your as it did for us

in the directory \geonetwork\web\xsl add in lower case the lines in red

in the file metadata-fgdc-std.xsl

<xsl:copy-of select=“idinfo/citation/citeinfo/title”/>
<xsl:copy-of select=“idinfo/descript/abstract”/>

<xsl:copy-of select=“idinfo/browse/browsen”/>

in the file metadata-utils.xsl

<xsl:when test=“$metadata/browsen”>

Click on image for larger view
</xsl:when>

xsl:otherwise
{/root/gui/strings/thumbnail}
</xsl:otherwise>

In the metadata GeoNetwork will look for the image following the link in the browsen 1.10.1 element
1.10.1 Browse Graphic File Name -- name of a related graphic file that provides an illustration of the data set. Type: text Domain: free text Short Name: browsen
Other related elements are 1.10.2 Browse Graphic File Description -- a text description of the illustration 1.10.3 Browse Graphic File Type -- graphic file type of a related graphic file

See you
Ivan Israel

Date: Mon, 28 May 2007 19:14:54 -0700
From: dsgraham@anonymised.com
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] fgdc metadata standard

How do you display a preview thumbnail in the results section of a metadata
search using the fgdc standard. I saw an article about hyperlinking and
making some changes to two xsl files (which i did) but what do you have to
to to see the actual thumbnail. Which field in the metadata xml form allows
for the display of a thumbnail preview

thank you
Damian

View this message in context: http://www.nabble.com/fgdc-metadata-standard-tf3831384s18419.html#a10846935
Sent from the geonetwork-devel mailing list archive at Nabble.com.


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


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


Explore the seven wonders of the world Learn more!

Thanks alot it worked just fine

Ivan Renteria Toledo wrote:

Hi DamianWe also needed to display the thumbnails for the FGDC metadata,
and Gullermo found this, hope it functions for your as it did for usin the
directory \geonetwork\web\xsl add in lower case the lines in redin the
file metadata-fgdc-std.xsl

<xsl:copy-of select="idinfo/citation/citeinfo/title"/><xsl:copy-of
select="idinfo/descript/abstract"/><xsl:copy-of
select="idinfo/browse/browsen"/>

in the file metadata-utils.xsl

<!--
no thumbnail --><xsl:when
test="$metadata/browsen">
{$metadata/browsen}
{$metadata/browsen} </IMG> <tr><td align="right"
colspan="2">Click on image for larger view</td></tr>
</xsl:when>

<xsl:otherwise>
{/root/gui/locUrl}/images/nopreview.gif
</xsl:otherwise>

In the metadata GeoNetwork will look for the image following the link in
the browsen 1.10.1 element1.10.1 Browse Graphic File Name -- name of a
related graphic file that provides an illustration of the data set.Type:
textDomain: free textShort Name: browsenOther related elements are 1.10.2
Browse Graphic File Description -- a text description of the
illustration1.10.3 Browse Graphic File Type -- graphic file type of a
related graphic fileSee youIvan Israel> Date: Mon, 28 May 2007 19:14:54
-0700> From: dsgraham@anonymised.com> To:
geonetwork-devel@lists.sourceforge.net> Subject: [GeoNetwork-devel] fgdc
metadata standard> > > How do you display a preview thumbnail in the
results section of a metadata> search using the fgdc standard. I saw an
article about hyperlinking and> making some changes to two xsl files
(which i did) but what do you have to> to to see the actual thumbnail.
Which field in the metadata xml form allows> for the display of a
thumbnail preview> > thank you> Damian > -- > View this message in
context:
http://www.nabble.com/fgdc-metadata-standard-tf3831384s18419.html#a10846935&gt;
Sent from the geonetwork-devel mailing list archive at Nabble.com.> > >
------------------------------------------------------------------------->
This SF.net email is sponsored by DB2 Express> Download DB2 Express C -
the FREE version of DB2 express and take> control of your XML. No limits.
Just data. Click to get it now.> http://sourceforge.net/powerbar/db2/&gt;
_______________________________________________> GeoNetwork-devel mailing
list> GeoNetwork-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel&gt; GeoNetwork
OpenSource is maintained at http://sourceforge.net/projects/geonetwork
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

--
View this message in context: http://www.nabble.com/fgdc-metadata-standard-tf3831384s18419.html#a11010714
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Thumbnails are not supported in the FGDC schema format only
because we did not know the place (inside the metadata) to store
them. Having an XSL that map fgdc into iso19139 solves the problem.
I will have a look at that but if someone already knows where to store
them he can save me some time.

Cheers,
Andrea

Thanks alot it worked just fine

Ivan Renteria Toledo wrote:
>
>
> Hi DamianWe also needed to display the thumbnails for the FGDC metadata,
> and Gullermo found this, hope it functions for your as it did for usin the
> directory \geonetwork\web\xsl add in lower case the lines in redin the
> file metadata-fgdc-std.xsl
>
>
>
> <xsl:copy-of select="idinfo/citation/citeinfo/title"/><xsl:copy-of
> select="idinfo/descript/abstract"/><xsl:copy-of
> select="idinfo/browse/browsen"/>
>
>
>
> in the file metadata-utils.xsl
>
>
>
>
>
> <!--
> no thumbnail --><xsl:when
> test="$metadata/browsen">
> {$metadata/browsen}
> {$metadata/browsen} </IMG> <tr><td align="right"
> colspan="2">Click on image for larger view</td></tr>
> </xsl:when>
>
>
>
> <xsl:otherwise>
> {/root/gui/locUrl}/images/nopreview.gif
> </xsl:otherwise>
>
> In the metadata GeoNetwork will look for the image following the link in
> the browsen 1.10.1 element1.10.1 Browse Graphic File Name -- name of a
> related graphic file that provides an illustration of the data set.Type:
> textDomain: free textShort Name: browsenOther related elements are 1.10.2
> Browse Graphic File Description -- a text description of the
> illustration1.10.3 Browse Graphic File Type -- graphic file type of a
> related graphic fileSee youIvan Israel> Date: Mon, 28 May 2007 19:14:54
> -0700> From: dsgraham@anonymised.com> To:
> geonetwork-devel@lists.sourceforge.net> Subject: [GeoNetwork-devel] fgdc
> metadata standard> > > How do you display a preview thumbnail in the
> results section of a metadata> search using the fgdc standard. I saw an
> article about hyperlinking and> making some changes to two xsl files
> (which i did) but what do you have to> to to see the actual thumbnail.
> Which field in the metadata xml form allows> for the display of a
> thumbnail preview> > thank you> Damian > -- > View this message in
> context:
> http://www.nabble.com/fgdc-metadata-standard-tf3831384s18419.html#a10846935&gt;
> Sent from the geonetwork-devel mailing list archive at Nabble.com.> > >
> ------------------------------------------------------------------------->
> This SF.net email is sponsored by DB2 Express> Download DB2 Express C -
> the FREE version of DB2 express and take> control of your XML. No limits.
> Just data. Click to get it now.> http://sourceforge.net/powerbar/db2/&gt;
> _______________________________________________> GeoNetwork-devel mailing
> list> GeoNetwork-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel&gt; GeoNetwork
> OpenSource is maintained at http://sourceforge.net/projects/geonetwork
> _________________________________________________________________
> Explore the seven wonders of the world
> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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
>