HTML tags

From GeneWeb
Revision as of 00:30, 3 November 2015 by Henri83 (Talk | contribs) (Created page with "{{DISPLAYTITLE:HTML tags}} {{languages|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 o...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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 gw/tags.txt file. Tags are listed one per line, and designate both the "opening" and "closing" tag.

The tags file is passed on to gwd at launch time through the -tags option (see the gwd options).

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.