Import file-5.05.
[dragonfly.git] / contrib / file / magic / Magdir / sgml
1 #------------------------------------------------------------------------------
2 # $File: sgml,v 1.25 2010/11/25 15:00:12 christos Exp $
3 # Type: SVG Vectorial Graphics
4 # From: Noel Torres <tecnico@ejerciciosresueltos.com>
5 0       string/t                \<?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 # xhtml
19 0       string/t                \<?xml\ version="
20 >15     string          >\0
21 >>19    search/4096/cWbt        \<!doctype\ html        xHTML document text
22 !:mime  text/html
23 0       string/t                \<?xml\ version='
24 >15     string          >\0
25 >>19    search/4096/cWbt        \<!doctype\ html        xHTML document text
26 !:mime  text/html
27 0       string/t                \<?xml\ version="
28 >15     string          >\0
29 >>19    search/4096/cWbt        \<html  broken xHTML document text
30 !:mime  text/html
31
32 #------------------------------------------------------------------------------
33 # sgml:  file(1) magic for Standard Generalized Markup Language
34 # HyperText Markup Language (HTML) is an SGML document type,
35 # from Daniel Quinlan (quinlan@yggdrasil.com)
36 # adapted to string extenstions by Anthon van der Neut <anthon@mnt.org)
37 0       search/4096/cWt \<!doctype\ html        HTML document text
38 !:mime  text/html
39 0       search/4096/cwt \<head                  HTML document text
40 !:mime  text/html
41 0       search/4096/cwt \<title                 HTML document text
42 !:mime  text/html
43 0       search/4096/cwt \<html                  HTML document text
44 !:mime  text/html
45 0       search/4096/cwt \<script                HTML document text
46 !:mime  text/html
47 0       search/4096/cwt \<style                 HTML document text
48 !:mime  text/html
49 0       search/4096/cwt \<table                 HTML document text
50 !:mime  text/html
51 0       search/4096/cwt \<a\ href=              HTML document text
52 !:mime  text/html
53
54 # Extensible markup language (XML), a subset of SGML
55 # from Marc Prud'hommeaux (marc@apocalypse.org)
56 0       search/1/cwt    \<?xml                  XML document text
57 !:mime  application/xml
58 0       string/t                \<?xml\ version\ "      XML
59 !:mime  application/xml
60 0       string/t                \<?xml\ version="       XML
61 !:mime  application/xml
62 >15     search/1        >\0                     %.3s document text
63 >>23    search/1        \<xsl:stylesheet        (XSL stylesheet)
64 >>24    search/1        \<xsl:stylesheet        (XSL stylesheet)
65 0       string          \<?xml\ version='       XML
66 !:mime  application/xml
67 >15     search/1        >\0                     %.3s document text
68 >>23    search/1        \<xsl:stylesheet        (XSL stylesheet)
69 >>24    search/1        \<xsl:stylesheet        (XSL stylesheet)
70 0       search/1/wbt    \<?xml                  XML document text
71 !:mime  application/xml
72 !:strength - 10
73 0       search/1/wt     \<?XML                  broken XML document text
74 !:mime  application/xml
75 !:strength - 10
76
77
78 # SGML, mostly from rph@sq
79 0       search/4096/cwt \<!doctype              exported SGML document text
80 0       search/4096/cwt \<!subdoc               exported SGML subdocument text
81 0       search/4096/cwt \<!--                   exported SGML document text
82 !:strength - 10
83
84 # Web browser cookie files
85 # (Mozilla, Galeon, Netscape 4, Konqueror..)
86 # Ulf Harnhammar <ulfh@update.uu.se>
87 0       search/1        #\ HTTP\ Cookie\ File   Web browser cookie text
88 0       search/1        #\ Netscape\ HTTP\ Cookie\ File Netscape cookie text
89 0       search/1        #\ KDE\ Cookie\ File    Konqueror cookie text