Difference between revisions of "tags"
(tags must contain all tags) |
|||
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|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, with no trailing space, and designate both the “opening” and “closing” tags. |
− | + | GeneWeb's code contains a default list of allowed tags, but the {{c|tags.txt}} file must contain all concerned tags, not just additionnal tags. | |
− | |||
<pre> | <pre> | ||
− | a | + | value default_good_tag_list = |
− | + | [ "!--"; "a"; "area"; "b"; "blockquote"; "br"; "center"; "cite"; "dd"; "dir"; "div"; "dl"; | |
− | b | + | "dt"; "em"; "font"; "hr"; "h1"; "h2"; "h3"; "h4"; "h5"; "h6"; "i"; "img"; |
− | + | "li"; "map"; "ol"; "p"; "pre"; "span"; "strong"; "sub"; "sup"; "table"; "tbody"; | |
− | blockquote | + | "td"; "tfoot"; "th"; "thead"; "tr"; "tt"; "u"; "ul"] |
− | br | + | ; |
− | |||
− | |||
− | font | ||
− | |||
− | h3 | ||
− | |||
− | i | ||
− | |||
− | img | ||
− | li | ||
− | p | ||
− | pre | ||
− | |||
− | |||
− | span | ||
− | sup | ||
− | table | ||
− | td | ||
− | tr | ||
− | |||
</pre> | </pre> | ||
+ | |||
+ | The location of the tags file is passed to [[gwd#Starting a GeneWeb server|gwd]] at launch through the {{c|-tags}} parameter. | ||
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 {{c|tags.txt}} will be transformed into {{c|&lt;funnytag&gt;}}, appearing as <nowiki><funnytag></nowiki> in a browser. Non HTML tags may carry text between the {{c|<funnytag}} and the closing {{c|>}}, which can be useful if the page returned by GeneWeb is read by a program doing some further processing on the returned text. | 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 {{c|tags.txt}} will be transformed into {{c|&lt;funnytag&gt;}}, appearing as <nowiki><funnytag></nowiki> in a browser. Non HTML tags may carry text between the {{c|<funnytag}} and the closing {{c|>}}, which can be useful if the page returned by GeneWeb is read by a program doing some further processing on the returned text. |
Revision as of 08:39, 10 February 2017
![]() |
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, with no trailing space, and designate both the “opening” and “closing” tags.
GeneWeb's code contains a default list of allowed tags, but the tags.txt
file must contain all concerned tags, not just additionnal tags.
value default_good_tag_list = [ "!--"; "a"; "area"; "b"; "blockquote"; "br"; "center"; "cite"; "dd"; "dir"; "div"; "dl"; "dt"; "em"; "font"; "hr"; "h1"; "h2"; "h3"; "h4"; "h5"; "h6"; "i"; "img"; "li"; "map"; "ol"; "p"; "pre"; "span"; "strong"; "sub"; "sup"; "table"; "tbody"; "td"; "tfoot"; "th"; "thead"; "tr"; "tt"; "u"; "ul"] ;
The location of the tags file is passed to gwd at launch through the -tags
parameter.
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.
GeneWeb Manual
- Download and install GeneWeb program under GNU/Linux, Mac OS X, Microsoft Windows, FreeBSD; on Mac OS X, Linux or Windows using Docker; or in CGI mode behind a web server.
- Understand GeneWeb server, homonym, consanguinity.
Use and manage genealogical databases
- Import Gedcom
.ged
or GeneWeb.gw
files with gwsetup or in command-line. - Update datas (add/remove individuals and families), merge duplicates, type dates.
- Use wikitext syntax, macros, keyboard shortcuts.
- Clean, recover, rename, save, archive a database.
- Merge and split multiples databases.
Technical annex
- Personalize CSS, header and trailer, templates, lexicon and declension.
- Configuration file
.gwf
(for templm), wizard notes, passwords for friends/wizards and access restrictions to databases. - Add images in notes, further remarks for experts.