| eT4® META > GeoRss > GeoRss Item > Default > ec:link |
|
Copy Code | |
|---|---|
<item> [...] <ec:link rel="default" url="coverimage.jpg" type="image/jpeg">cover image</ec:link> <ec:link rel="imagegallery" url="image1.jpg" type="image/jpeg">image 1</ec:link> <ec:link rel="imagegallery" url="image2.jpg" type="image/jpeg">image 2</ec:link> <ec:link rel="imagegallery" url="image3.jpg" type="image/jpeg" author="email@author.de" source="Quelle des Bildes als Text" latitude="49.7591181049" longitude="12.0774078369141">Bild 3</ec:link> <!-- Link(Bild) mit weiteren Details --> <ec:link rel="download" type="application/xml" url="http://link/download_gpx.aspx?id=15">GPX</ec:link> <ec:link rel="audio" type="audio/mpeg" url="http://www.seite-mit-audio/audio.mp3" type="autio/mpeg">MP3</ec:link> <ec:link rel="print" type="application/pdf" url="http://www.seite-mit-ausdruck.de/print.aspx?id=15">Drucken</ec:link> [...] </item> | |
You can use as many ec:link elements as you need to.
Obligatory parameters:
| Parameter | Type | Description | Sample |
|---|---|---|---|
|
rel
|
|
Defines the type of ec:link. Possible values are:
|
rel="default" |
| url | String | url to file/homepage | url=http://link/download_gpx.aspx?id=15 |
| type | String | mime-type of file | type="audio/mpeg" |
Optional parameters:
| Parameter | Type | Description | Sample |
|---|---|---|---|
| author | String | eMail adress of author | author="support@hubermedia.de" |
| source | String | source | source="eSuchWasV4" |
| latitude | String | Latitude: WGS84 coordinate | latitude="49.4685" |
| longitude | String | Longitude: WGS84 coordinate | longitude="12.07740" |