Project

General

Profile

« Previous | Next » 

Revision 7487

mappings/Makefile, redmine_synonyms: Updated for new VegCore data dictionary format, which prefixes the term type (Synonym, Alternative, etc.) to the term instead of including it as a section label. This ensures that the term type of a non-primary term is shown next to the term when it is visited via a permalink, which causes the term header to appear at the top of the screen and obscures the section header containing the type.

View differences:

Makefile
27 27
	php -r 'fpassthru(fopen("https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore", "r"));' >$@
28 28

  
29 29
$(vocab): VegCore.htm
30
	(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a href="#[^>]*>(([a-z]|[A-Z]{2})[^<]*)<\/a><a href="#[^"-]+".*$$/\1/p'\
30
	(echo VegCore; $(sed) -n 's/^<h[24][^>]*>(<img [^>]*> *)?<a href="#[^>]*>(([a-z]|[A-Z]{2})[^<]*)<\/a>.*<a href="#[^"-]+".*$$/\2/p'\
31 31
|sort -u) <$< >$@
32 32

  
33 33
$(thesaurus): VegCore.htm

Also available in: Unified diff