Configuration
Links to external URLs in results tableYou can add links to any column in the results table. In some cases, you can even include columns only to contain links. In our example we are going to want to include several types of links: By now:
and later we will also include:
To do this we need to configure 4 new "special" columns in the fields configuration so that we can include links in those columns. These ones do not correspond to any database field, they are just placeholders for the links. (we have configured the "spec_vot" column as be shown never by now, so it doesn't appear in the web page). Now we go to the links configuration to configure how to show these links. See that you can use, in some configuration options, {$MYFIELD} as a place holder that will be replace with the value of the MYFIELD column for each catalogue entry. Links with OpenWindow in results tableYou can also include links that open a windows displaying some content. This is often used to preview some images associated to catalogue entries. But other types of html content could be displayed. In the case of our example catalogue we include a link that will open a window showing a preview of the object spectrum. This only applies to the web presentation of the catalogue. That's why in the section above we have included a link to download the plot only in the VO services and we include here the preview of the curve in the web service. Datalink configurationDatalink is a VO protocol designed to associate links to catalogue entries. If you activate it you need to define also a field to be used as Datalink ID. And,below, you will have to define what links you want to show and their properties. Links for DatalinkIn our example catalogue we have three types of links:
Including SSAP spectraIf you have spectra in your catalogue and you have decided to implement a SSAP service, you can configure this links section in a more interesting way. You include the links to spectra through the SSAP protocol, which is richer and gives more information than just downloading the ascii files. You include a dataLink protocol with a link associated to the all links columns. And include all the possible files in the DataLink content. And finally the catalogue web page will include all the information. |