Difference between revisions of "tags"

From GeneWeb
Jump to: navigation, search
(location of tags file)
Line 3: Line 3:
 
Within notes, it is possible to insert '''HTML tags''' which will be passed on to the resulting page. GeneWeb needs to be made aware of these tags, and as a result, will accept only those tags listed in a {{c|tags.txt}} file. Tags are listed one per line and designate both the “opening” and “closing” tags.
 
Within notes, it is possible to insert '''HTML tags''' which will be passed on to the resulting page. GeneWeb needs to be made aware of these tags, and as a result, will accept only those tags listed in a {{c|tags.txt}} file. Tags are listed one per line and designate both the “opening” and “closing” tags.
  
The location of the tags file is passed to gwd at launch through the [[man#Starting a GeneWeb server (gwd)|{{c|-tags}} parameter]].
+
The location of the tags file is passed to [[gwd#Starting a GeneWeb server|gwd]] at launch through the {{c|-tags}} parameter.
  
 
Example:
 
Example:

Revision as of 04:22, 10 February 2017

150px-Geographylogo svg.png Language: English

Within notes, it is possible to insert HTML tags which will be passed on to the resulting page. GeneWeb needs to be made aware of these tags, and as a result, will accept only those tags listed in a tags.txt file. Tags are listed one per line and designate both the “opening” and “closing” tags.

The location of the tags file is passed to gwd at launch through the -tags parameter.

Example:

a
audio
b
base
blockquote
br
embed
field
font
foot
h3
hr
i
image
img
li
p
pre
script
source
span
sup
table
td
tr
ul

Note that those tags need not be legal HTML tags. GeneWeb will "accept" any tag in the supplied list, and will pass it on to the result page. Tags which are not listed in tags.txt will be transformed into &lt;funnytag&gt;, appearing as <funnytag> in a browser. Non HTML tags may carry text between the <funnytag and the closing >, which can be useful if the page returned by GeneWeb is read by a program doing some further processing on the returned text.


GeneWeb Manual

Rembrandt Old Man Reading a Book.jpg

Use and manage genealogical databases

Technical annex