pensoft / pensoft-interaction-tables

0 stars 0 forks source link

taxon names in table captions are not annotated #2

Closed jhpoelen closed 4 years ago

jhpoelen commented 4 years ago

Hi @mdmtrv !

I finally got around to taking a stab at a first integration with the annotated pensoft tables.

I noticed that taxon names in tables are annotated, however, names in table captions are not.

Example caption of table 2 of https://doi.org/10.3897/zookeys.297.4695 does have annotated name (see screenshot) - Screenshot from 2020-07-11 14-37-30

However, the captions included in bi_tables do not have the annotated taxon names (e.g., with the taxon-name tags).

$ cat bi_tables_20200630.json | grep "10.3897/zookeys.297.4695" | jq .caption
"Host plants of Jadera haematoloma at different localities and reports of aggregation behaviour or mass occurrence based on literature data.<br/>"
"Collected individuals of Jadera haematoloma in the investigated sites of Kaohsiung City and Tainan City (for description of the sites see text).<br/>"
"Body size (in mm) and relative length of the labium in specimens of different sex collected from different host plants (all macropterous).<br/>"

Please let me know if there's some other way to get this content.

mdmtrv commented 4 years ago

Hi @jhpoelen ! This is something I didn't consider but will fix by adding to the json file . I won't be able to provide the new file for you before tomorrows call so it will be on the agenda to discuss along with your other issue.

mdmtrv commented 4 years ago

I've added a new json file which has a caption_xml field, containing the caption xml (for tables with caption). The caption xmls should include an annotation of taxonomic names via the taxon-name tags.

jhpoelen commented 4 years ago

@mdmtrv thanks for adding the new json with caption_xml field. Hoping to integrate this shortly (see https://github.com/globalbioticinteractions/globalbioticinteractions/issues/526)