Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Epic Link:
-
Team:Science User Interface
Description
This could be accomplished support for a format specification based on ucd. For this example from NED votable,
{{<FIELD ID="derived_col3" name="refcode_heliocentric_velocity" NEDname="V (Heliocentric) Reference code" ucd="meta.bib.bibcode" datatype="char" arraysize="*">
<TD>1983MNRAS.204..811C</TD>}},
it would be great to specify a format with something like
var fmt = '<a href="https://ui.adsabs.harvard.edu/#abs/$
{1}/abstract">${1}
</a>';
col.meta.FieldFmt["meta.bib.bibcode"] = fmt;
Contact: Jeff
NED: ENG-947
copied from DM-13593: (XW 3/12/2019)
Another use case from NED:
Is there a way for Firefly to use two VO Table FIELDS to make a hot link?
NED's demo UI can display external references as hot links. See b.ned.ipac.caltech.edu/byname, External References tab.
If a NED VO Table FIELD has a <LINK ... href="<FIELD_NAME"/>, a hot link will be created using <FIELD_NAME> as the href. The service.url can be hidden, so two fields make link.
{{<FIELD ID="ext_col2" name="external_service_name" ucd="service.name" datatype="char" arraysize="*">
<DESCRIPTION>Name of related on-line astronomical service .</DESCRIPTION>
<LINK content-role="query" content-type="text/xml" href="ext_col5"/>
</FIELD>
...
<FIELD ID="ext_col5" name="external_service_url" ucd="service.url" datatype="char" type="hidden" arraysize="*">
<DESCRIPTION>
URL address of related on-line astronomical service .
</DESCRIPTION>
</FIELD>}}
CogE: Jeff
VO datalink standard should be consulted for this.