xref: /minix3/external/bsd/file/dist/magic/magdir/sgml (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1ef01931fSBen Gras#------------------------------------------------------------------------------
2*0a6a1f1dSLionel Sambuc# $File: sgml,v 1.30 2013/12/21 14:27:24 christos Exp $
3ef01931fSBen Gras# Type:	SVG Vectorial Graphics
4ef01931fSBen Gras# From:	Noel Torres <tecnico@ejerciciosresueltos.com>
5ef01931fSBen Gras0	string		\<?xml\ version="
6ef01931fSBen Gras>15	string		>\0
7835f6802SDirk Vogt>>19	search/4096	\<svg			SVG Scalable Vector Graphics image
8ef01931fSBen Gras!:mime	image/svg+xml
9835f6802SDirk Vogt>>19	search/4096	\<gnc-v2		GnuCash file
10ef01931fSBen Gras!:mime	application/x-gnucash
11ef01931fSBen Gras
12ef01931fSBen Gras# Sitemap file
13835f6802SDirk Vogt0	string/t		\<?xml\ version="
14ef01931fSBen Gras>15	string		>\0
15835f6802SDirk Vogt>>19	search/4096	\<urlset		XML Sitemap document text
16ef01931fSBen Gras!:mime	application/xml-sitemap
17ef01931fSBen Gras
18*0a6a1f1dSLionel Sambuc# OpenStreetMap XML (.osm)
19*0a6a1f1dSLionel Sambuc# http://wiki.openstreetmap.org/wiki/OSM_XML
20*0a6a1f1dSLionel Sambuc# From: Markus Heidelberg <markus.heidelberg@web.de>
21*0a6a1f1dSLionel Sambuc0	string		\<?xml\ version="
22*0a6a1f1dSLionel Sambuc>15	string		>\0
23*0a6a1f1dSLionel Sambuc>>19	search/4096	\<osm			OpenStreetMap XML data
24*0a6a1f1dSLionel Sambuc
25835f6802SDirk Vogt# xhtml
26835f6802SDirk Vogt0	string/t		\<?xml\ version="
27835f6802SDirk Vogt>15	string		>\0
2808ff44c4SLionel Sambuc>>19	search/4096/cWbt	\<!doctype\ html	XHTML document text
29835f6802SDirk Vogt!:mime	text/html
30835f6802SDirk Vogt0	string/t		\<?xml\ version='
31835f6802SDirk Vogt>15	string		>\0
3208ff44c4SLionel Sambuc>>19	search/4096/cWbt	\<!doctype\ html	XHTML document text
33835f6802SDirk Vogt!:mime	text/html
34835f6802SDirk Vogt0	string/t		\<?xml\ version="
35835f6802SDirk Vogt>15	string		>\0
3608ff44c4SLionel Sambuc>>19	search/4096/cWbt	\<html	broken XHTML document text
37835f6802SDirk Vogt!:mime	text/html
38835f6802SDirk Vogt
39ef01931fSBen Gras#------------------------------------------------------------------------------
40ef01931fSBen Gras# sgml:  file(1) magic for Standard Generalized Markup Language
41ef01931fSBen Gras# HyperText Markup Language (HTML) is an SGML document type,
42ef01931fSBen Gras# from Daniel Quinlan (quinlan@yggdrasil.com)
43ef01931fSBen Gras# adapted to string extenstions by Anthon van der Neut <anthon@mnt.org)
44835f6802SDirk Vogt0	search/4096/cWt	\<!doctype\ html	HTML document text
45ef01931fSBen Gras!:mime	text/html
4684d9c625SLionel Sambuc!:strength + 5
47835f6802SDirk Vogt0	search/4096/cwt	\<head			HTML document text
48ef01931fSBen Gras!:mime	text/html
4984d9c625SLionel Sambuc!:strength + 5
50835f6802SDirk Vogt0	search/4096/cwt	\<title			HTML document text
51ef01931fSBen Gras!:mime	text/html
5284d9c625SLionel Sambuc!:strength + 5
53835f6802SDirk Vogt0	search/4096/cwt	\<html			HTML document text
54835f6802SDirk Vogt!:mime	text/html
5584d9c625SLionel Sambuc!:strength + 5
56835f6802SDirk Vogt0	search/4096/cwt	\<script 		HTML document text
57835f6802SDirk Vogt!:mime	text/html
5884d9c625SLionel Sambuc!:strength + 5
59835f6802SDirk Vogt0	search/4096/cwt	\<style 		HTML document text
60835f6802SDirk Vogt!:mime	text/html
6184d9c625SLionel Sambuc!:strength + 5
62835f6802SDirk Vogt0	search/4096/cwt	\<table			HTML document text
63835f6802SDirk Vogt!:mime	text/html
6484d9c625SLionel Sambuc!:strength + 5
65835f6802SDirk Vogt0	search/4096/cwt	\<a\ href=		HTML document text
66ef01931fSBen Gras!:mime	text/html
6784d9c625SLionel Sambuc!:strength + 5
68ef01931fSBen Gras
69ef01931fSBen Gras# Extensible markup language (XML), a subset of SGML
70ef01931fSBen Gras# from Marc Prud'hommeaux (marc@apocalypse.org)
71835f6802SDirk Vogt0	search/1/cwt	\<?xml			XML document text
72ef01931fSBen Gras!:mime	application/xml
7384d9c625SLionel Sambuc!:strength + 5
74835f6802SDirk Vogt0	string/t		\<?xml\ version\ "	XML
75ef01931fSBen Gras!:mime	application/xml
7684d9c625SLionel Sambuc!:strength + 5
77835f6802SDirk Vogt0	string/t		\<?xml\ version="	XML
78ef01931fSBen Gras!:mime	application/xml
7984d9c625SLionel Sambuc!:strength + 5
8084d9c625SLionel Sambuc>15	string/t	>\0			%.3s document text
81ef01931fSBen Gras>>23	search/1	\<xsl:stylesheet	(XSL stylesheet)
82ef01931fSBen Gras>>24	search/1	\<xsl:stylesheet	(XSL stylesheet)
83ef01931fSBen Gras0	string		\<?xml\ version='	XML
84ef01931fSBen Gras!:mime	application/xml
8584d9c625SLionel Sambuc!:strength + 5
8684d9c625SLionel Sambuc>15	string/t	>\0			%.3s document text
87ef01931fSBen Gras>>23	search/1	\<xsl:stylesheet	(XSL stylesheet)
88ef01931fSBen Gras>>24	search/1	\<xsl:stylesheet	(XSL stylesheet)
89835f6802SDirk Vogt0	search/1/wbt	\<?xml			XML document text
90ef01931fSBen Gras!:mime	application/xml
91835f6802SDirk Vogt!:strength - 10
92835f6802SDirk Vogt0	search/1/wt	\<?XML			broken XML document text
93ef01931fSBen Gras!:mime	application/xml
94835f6802SDirk Vogt!:strength - 10
95ef01931fSBen Gras
96ef01931fSBen Gras
97ef01931fSBen Gras# SGML, mostly from rph@sq
98835f6802SDirk Vogt0	search/4096/cwt	\<!doctype		exported SGML document text
99835f6802SDirk Vogt0	search/4096/cwt	\<!subdoc		exported SGML subdocument text
100835f6802SDirk Vogt0	search/4096/cwt	\<!--			exported SGML document text
101835f6802SDirk Vogt!:strength - 10
102ef01931fSBen Gras
103ef01931fSBen Gras# Web browser cookie files
104ef01931fSBen Gras# (Mozilla, Galeon, Netscape 4, Konqueror..)
105ef01931fSBen Gras# Ulf Harnhammar <ulfh@update.uu.se>
106ef01931fSBen Gras0	search/1	#\ HTTP\ Cookie\ File	Web browser cookie text
107ef01931fSBen Gras0	search/1	#\ Netscape\ HTTP\ Cookie\ File	Netscape cookie text
108ef01931fSBen Gras0	search/1	#\ KDE\ Cookie\ File	Konqueror cookie text
109