gdb - Local mods (compile)
[dragonfly.git] / contrib / file / magic / Magdir / sgml
1 #------------------------------------------------------------------------------
2 # $File: sgml,v 1.30 2013/12/21 14:27:24 christos Exp $
3 # Type: SVG Vectorial Graphics
4 # From: Noel Torres <tecnico@ejerciciosresueltos.com>
5 0       string          \<?xml\ version="
6 >15     string          >\0
7 >>19    search/4096     \<svg                   SVG Scalable Vector Graphics image
8 !:mime  image/svg+xml
9 >>19    search/4096     \<gnc-v2                GnuCash file
10 !:mime  application/x-gnucash
11
12 # Sitemap file
13 0       string/t                \<?xml\ version="
14 >15     string          >\0
15 >>19    search/4096     \<urlset                XML Sitemap document text
16 !:mime  application/xml-sitemap
17
18 # OpenStreetMap XML (.osm)
19 # http://wiki.openstreetmap.org/wiki/OSM_XML
20 # From: Markus Heidelberg <markus.heidelberg@web.de>
21 0       string          \<?xml\ version="
22 >15     string          >\0
23 >>19    search/4096     \<osm                   OpenStreetMap XML data
24
25 # xhtml
26 0       string/t                \<?xml\ version="
27 >15     string          >\0
28 >>19    search/4096/cWbt        \<!doctype\ html        XHTML document text
29 !:mime  text/html
30 0       string/t                \<?xml\ version='
31 >15     string          >\0
32 >>19    search/4096/cWbt        \<!doctype\ html        XHTML document text
33 !:mime  text/html
34 0       string/t                \<?xml\ version="
35 >15     string          >\0
36 >>19    search/4096/cWbt        \<html  broken XHTML document text
37 !:mime  text/html
38
39 #------------------------------------------------------------------------------
40 # sgml:  file(1) magic for Standard Generalized Markup Language
41 # HyperText Markup Language (HTML) is an SGML document type,
42 # from Daniel Quinlan (quinlan@yggdrasil.com)
43 # adapted to string extenstions by Anthon van der Neut <anthon@mnt.org)
44 0       search/4096/cWt \<!doctype\ html        HTML document text
45 !:mime  text/html
46 !:strength + 5
47 0       search/4096/cwt \<head                  HTML document text
48 !:mime  text/html
49 !:strength + 5
50 0       search/4096/cwt \<title                 HTML document text
51 !:mime  text/html
52 !:strength + 5
53 0       search/4096/cwt \<html                  HTML document text
54 !:mime  text/html
55 !:strength + 5
56 0       search/4096/cwt \<script                HTML document text
57 !:mime  text/html
58 !:strength + 5
59 0       search/4096/cwt \<style                 HTML document text
60 !:mime  text/html
61 !:strength + 5
62 0       search/4096/cwt \<table                 HTML document text
63 !:mime  text/html
64 !:strength + 5
65 0       search/4096/cwt \<a\ href=              HTML document text
66 !:mime  text/html
67 !:strength + 5
68
69 # Extensible markup language (XML), a subset of SGML
70 # from Marc Prud'hommeaux (marc@apocalypse.org)
71 0       search/1/cwt    \<?xml                  XML document text
72 !:mime  application/xml
73 !:strength + 5
74 0       string/t                \<?xml\ version\ "      XML
75 !:mime  application/xml
76 !:strength + 5
77 0       string/t                \<?xml\ version="       XML
78 !:mime  application/xml
79 !:strength + 5
80 >15     string/t        >\0                     %.3s document text
81 >>23    search/1        \<xsl:stylesheet        (XSL stylesheet)
82 >>24    search/1        \<xsl:stylesheet        (XSL stylesheet)
83 0       string          \<?xml\ version='       XML
84 !:mime  application/xml
85 !:strength + 5
86 >15     string/t        >\0                     %.3s document text
87 >>23    search/1        \<xsl:stylesheet        (XSL stylesheet)
88 >>24    search/1        \<xsl:stylesheet        (XSL stylesheet)
89 0       search/1/wbt    \<?xml                  XML document text
90 !:mime  application/xml
91 !:strength - 10
92 0       search/1/wt     \<?XML                  broken XML document text
93 !:mime  application/xml
94 !:strength - 10
95
96
97 # SGML, mostly from rph@sq
98 0       search/4096/cwt \<!doctype              exported SGML document text
99 0       search/4096/cwt \<!subdoc               exported SGML subdocument text
100 0       search/4096/cwt \<!--                   exported SGML document text
101 !:strength - 10
102
103 # Web browser cookie files
104 # (Mozilla, Galeon, Netscape 4, Konqueror..)
105 # Ulf Harnhammar <ulfh@update.uu.se>
106 0       search/1        #\ HTTP\ Cookie\ File   Web browser cookie text
107 0       search/1        #\ Netscape\ HTTP\ Cookie\ File Netscape cookie text
108 0       search/1        #\ KDE\ Cookie\ File    Konqueror cookie text