sgml revision 284778
1#------------------------------------------------------------------------------
2# $File: sgml,v 1.31 2015/03/11 19:38:04 christos Exp $
3# Type:	SVG Vectorial Graphics
4# From:	Noel Torres <tecnico@ejerciciosresueltos.com>
50	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
130	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>
210	string		\<?xml\ version="
22>15	string		>\0
23>>19	search/4096	\<osm			OpenStreetMap XML data
24
25# xhtml
260	string/t		\<?xml\ version="
27>15	string		>\0
28>>19	search/4096/cWbt	\<!doctype\ html	XHTML document text
29!:mime	text/html
300	string/t		\<?xml\ version='
31>15	string		>\0
32>>19	search/4096/cWbt	\<!doctype\ html	XHTML document text
33!:mime	text/html
340	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)
440	search/4096/cWt	\<!doctype\ html	HTML document text
45!:mime	text/html
46!:strength + 5
47
480	search/4096/cwt	\<head\>		HTML document text
49!:mime	text/html
50!:strength + 5
510	search/4096/cWt	\<head\ 		HTML document text
52!:mime	text/html
53!:strength + 5
540	search/4096/cwt	\<title\>		HTML document text
55!:mime	text/html
56!:strength + 5
570	search/4096/cWt	\<title\ 		HTML document text
58!:mime	text/html
59!:strength + 5
600	search/4096/cwt	\<html\>		HTML document text
61!:mime	text/html
62!:strength + 5
630	search/4096/cWt	\<html\ 		HTML document text
64!:mime	text/html
65!:strength + 5
660	search/4096/cwt	\<script\> 		HTML document text
67!:mime	text/html
68!:strength + 5
690	search/4096/cWt	\<script\ 		HTML document text
70!:mime	text/html
71!:strength + 5
720	search/4096/cwt	\<style\> 		HTML document text
73!:mime	text/html
74!:strength + 5
750	search/4096/cWt	\<style\  		HTML document text
76!:mime	text/html
77!:strength + 5
780	search/4096/cwt	\<table\>		HTML document text
79!:mime	text/html
80!:strength + 5
810	search/4096/cWt	\<table\ 		HTML document text
82!:mime	text/html
83!:strength + 5
84
850	search/4096/cwt	\<a\ href=		HTML document text
86!:mime	text/html
87!:strength + 5
88
89# Extensible markup language (XML), a subset of SGML
90# from Marc Prud'hommeaux (marc@apocalypse.org)
910	search/1/cwt	\<?xml			XML document text
92!:mime	application/xml
93!:strength + 5
940	string/t		\<?xml\ version\ "	XML
95!:mime	application/xml
96!:strength + 5
970	string/t		\<?xml\ version="	XML
98!:mime	application/xml
99!:strength + 5
100>15	string/t	>\0			%.3s document text
101>>23	search/1	\<xsl:stylesheet	(XSL stylesheet)
102>>24	search/1	\<xsl:stylesheet	(XSL stylesheet)
1030	string		\<?xml\ version='	XML
104!:mime	application/xml
105!:strength + 5
106>15	string/t	>\0			%.3s document text
107>>23	search/1	\<xsl:stylesheet	(XSL stylesheet)
108>>24	search/1	\<xsl:stylesheet	(XSL stylesheet)
1090	search/1/wbt	\<?xml			XML document text
110!:mime	application/xml
111!:strength - 10
1120	search/1/wt	\<?XML			broken XML document text
113!:mime	application/xml
114!:strength - 10
115
116
117# SGML, mostly from rph@sq
1180	search/4096/cwt	\<!doctype		exported SGML document text
1190	search/4096/cwt	\<!subdoc		exported SGML subdocument text
1200	search/4096/cwt	\<!--			exported SGML document text
121!:strength - 10
122
123# Web browser cookie files
124# (Mozilla, Galeon, Netscape 4, Konqueror..)
125# Ulf Harnhammar <ulfh@update.uu.se>
1260	search/1	#\ HTTP\ Cookie\ File	Web browser cookie text
1270	search/1	#\ Netscape\ HTTP\ Cookie\ File	Netscape cookie text
1280	search/1	#\ KDE\ Cookie\ File	Konqueror cookie text
129