xref: /dragonfly/contrib/file/magic/Magdir/sgml (revision 9f3fc534)
1#------------------------------------------------------------------------------
2# Type:	SVG Vectorial Graphics
3# From:	Noel Torres <tecnico@ejerciciosresueltos.com>
40	string		\<?xml\ version="
5>15	string		>\0
6>>23	search/400	\<svg			SVG Scalable Vector Graphics image
7!:mime	image/svg+xml
8>>23	search/400	\<gnc-v2		GnuCash file
9!:mime	application/x-gnucash
10
11# Sitemap file
120	string		\<?xml\ version="
13>15	string		>\0
14>>23	search/400	\<urlset		XML Sitemap document text
15!:mime	application/xml-sitemap
16
17#------------------------------------------------------------------------------
18# sgml:  file(1) magic for Standard Generalized Markup Language
19# HyperText Markup Language (HTML) is an SGML document type,
20# from Daniel Quinlan (quinlan@yggdrasil.com)
21# adapted to string extenstions by Anthon van der Neut <anthon@mnt.org)
220	search/1/cB	\<!doctype\ html	HTML document text
23!:mime	text/html
240	search/1/cb	\<head			HTML document text
25!:mime	text/html
260	search/1/cb	\<title			HTML document text
27!:mime	text/html
280	search/1/cb	\<html			HTML document text
29!:mime	text/html
30
31# Extensible markup language (XML), a subset of SGML
32# from Marc Prud'hommeaux (marc@apocalypse.org)
330	search/1/cb	\<?xml			XML document text
34!:mime	application/xml
350	string		\<?xml\ version\ "	XML
36!:mime	application/xml
370	string		\<?xml\ version="	XML
38!:mime	application/xml
39>15	search/1	>\0			%.3s document text
40>>23	search/1	\<xsl:stylesheet	(XSL stylesheet)
41>>24	search/1	\<xsl:stylesheet	(XSL stylesheet)
420	string		\<?xml\ version='	XML
43!:mime	application/xml
44>15	search/1	>\0			%.3s document text
45>>23	search/1	\<xsl:stylesheet	(XSL stylesheet)
46>>24	search/1	\<xsl:stylesheet	(XSL stylesheet)
470	search/1/b	\<?xml			XML document text
48!:mime	application/xml
490	search/1/b	\<?XML			broken XML document text
50!:mime	application/xml
51
52
53# SGML, mostly from rph@sq
540	search/1/cb	\<!doctype		exported SGML document text
550	search/1/cb	\<!subdoc		exported SGML subdocument text
560	search/1/cb	\<!--			exported SGML document text
57
58# Web browser cookie files
59# (Mozilla, Galeon, Netscape 4, Konqueror..)
60# Ulf Harnhammar <ulfh@update.uu.se>
610	search/1	#\ HTTP\ Cookie\ File	Web browser cookie text
620	search/1	#\ Netscape\ HTTP\ Cookie\ File	Netscape cookie text
630	search/1	#\ KDE\ Cookie\ File	Konqueror cookie text
64