Difference between revisions of "tags"
m (t. ; internal link) |
m (/bases/ plutôt que /gw/ (peut-être les deux ?)) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:HTML tags}} | {{DISPLAYTITLE:HTML tags}} | ||
{{languages|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 of these tags, and as a result, will accept only those tags listed in a {{c| | + | 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|bases/tags.txt}} file. Tags are listed one per line and designate both the “opening” and “closing” tags. |
− | The tags file | + | The tags file can be passed to gwd at launch through the [[gwd#parameters|{{c|-tags}} parameter]]. |
<pre> | <pre> | ||
a | a |
Revision as of 02:28, 3 November 2015
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 bases/tags.txt
file. Tags are listed one per line and designate both the “opening” and “closing” tags.
The tags file can be passed to gwd at launch through the -tags
parameter.
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 <funnytag>
, 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.