sgml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. #------------------------------------------------------------------------------
  2. # $File: sgml,v 1.46 2022/08/16 11:16:39 christos Exp $
  3. # Type: SVG Vectorial Graphics
  4. # From: Noel Torres <tecnico@ejerciciosresueltos.com>
  5. 0 string \<?xml\ version=
  6. >14 regex ['"\ \t]*[0-9.]+['"\ \t]*
  7. >>19 search/4096 \<svg SVG Scalable Vector Graphics image
  8. !:mime image/svg+xml
  9. !:ext svg
  10. >>19 search/4096 \<gnc-v2 GnuCash file
  11. !:mime application/x-gnucash
  12. 0 string \<svg SVG Scalable Vector Graphics image
  13. !:mime image/svg+xml
  14. !:ext svg
  15. # Sitemap file
  16. 0 string/t \<?xml\ version=
  17. >14 regex ['"\ \t]*[0-9.]+['"\ \t]*
  18. >>19 search/4096 \<urlset XML Sitemap document text
  19. !:mime application/xml-sitemap
  20. # OpenStreetMap XML (.osm)
  21. # https://wiki.openstreetmap.org/wiki/OSM_XML
  22. # From: Markus Heidelberg <markus.heidelberg@web.de>
  23. 0 string \<?xml\ version=
  24. >14 regex ['"\ \t]*[0-9.]+['"\ \t]*
  25. >>19 search/4096 \<osm OpenStreetMap XML data
  26. # xhtml
  27. 0 string/t \<?xml\ version="
  28. >19 search/4096/cWbt \<!doctype\ html XHTML document text
  29. >>15 string >\0 (version %.3s)
  30. !:mime text/html
  31. 0 string/t \<?xml\ version='
  32. >19 search/4096/cWbt \<!doctype\ html XHTML document text
  33. >>15 string >\0 (version %.3s)
  34. !:mime text/html
  35. 0 string/t \<?xml\ version="
  36. >19 search/4096/cWbt \<html broken XHTML document text
  37. >>15 string >\0 (version %.3s)
  38. !:mime text/html
  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 extensions 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. # SVG document
  48. # https://www.w3.org/TR/SVG/single-page.html
  49. 0 search/4096/cWbt \<!doctype\ svg SVG XML document
  50. !:mime image/svg+xml
  51. !:strength + 15
  52. 0 search/4096/cwt \<head\> HTML document text
  53. !:mime text/html
  54. !:strength + 15
  55. 0 search/4096/cWt \<head\ HTML document text
  56. !:mime text/html
  57. !:strength + 15
  58. 0 search/4096/cwt \<title\> HTML document text
  59. !:mime text/html
  60. !:strength + 15
  61. 0 search/4096/cWt \<title\ HTML document text
  62. !:mime text/html
  63. !:strength + 15
  64. 0 search/4096/cwt \<html\> HTML document text
  65. !:mime text/html
  66. !:strength + 15
  67. 0 search/4096/cWt \<html\ HTML document text
  68. !:mime text/html
  69. !:strength + 15
  70. 0 search/4096/cwt \<script\> HTML document text
  71. !:mime text/html
  72. !:strength + 15
  73. 0 search/4096/cWt \<script\ HTML document text
  74. !:mime text/html
  75. !:strength + 15
  76. 0 search/4096/cwt \<style\> HTML document text
  77. !:mime text/html
  78. !:strength + 15
  79. 0 search/4096/cWt \<style\ HTML document text
  80. !:mime text/html
  81. !:strength + 15
  82. 0 search/4096/cwt \<table\> HTML document text
  83. !:mime text/html
  84. !:strength + 15
  85. 0 search/4096/cWt \<table\ HTML document text
  86. !:mime text/html
  87. !:strength + 15
  88. 0 search/4096/cwt \<a\ href= HTML document text
  89. !:mime text/html
  90. !:strength + 15
  91. # Extensible markup language (XML), a subset of SGML
  92. # from Marc Prud'hommeaux (marc@apocalypse.org)
  93. 0 search/1/cwt \<?xml XML document text
  94. !:mime text/xml
  95. !:strength + 15
  96. 0 string/t \<?xml\ version\ " XML
  97. !:mime text/xml
  98. !:strength + 15
  99. 0 string/t \<?xml\ version=" XML
  100. !:mime text/xml
  101. !:strength + 15
  102. >15 string/t >\0 %.3s document text
  103. >>23 search/1 \<xsl:stylesheet (XSL stylesheet)
  104. >>24 search/1 \<xsl:stylesheet (XSL stylesheet)
  105. 0 string/t \<?xml\ version=' XML
  106. !:mime text/xml
  107. !:strength + 15
  108. >15 string/t >\0 %.3s document text
  109. >>23 search/1 \<xsl:stylesheet (XSL stylesheet)
  110. >>24 search/1 \<xsl:stylesheet (XSL stylesheet)
  111. 0 search/1/wt \<?XML broken XML document text
  112. !:mime text/xml
  113. !:strength - 10
  114. # SGML, mostly from rph@sq
  115. 0 search/4096/cwt \<!doctype exported SGML document text
  116. 0 search/4096/cwt \<!subdoc exported SGML subdocument text
  117. 0 search/4096/cwt \<!-- exported SGML document text
  118. !:strength - 10
  119. # Web browser cookie files
  120. # (Mozilla, Galeon, Netscape 4, Konqueror..)
  121. # Ulf Harnhammar <ulfh@update.uu.se>
  122. 0 search/1 #\ HTTP\ Cookie\ File Web browser cookie text
  123. 0 search/1 #\ Netscape\ HTTP\ Cookie\ File Netscape cookie text
  124. 0 search/1 #\ KDE\ Cookie\ File Konqueror cookie text
  125. # XML-based format representing braille pages in a digital format.
  126. #
  127. # Specification:
  128. # http://files.pef-format.org/specifications/pef-2008-1/pef-specification.html
  129. #
  130. # Simon Aittamaa <simon.aittamaa@gmail.com>
  131. 0 string \<?xml\ version=
  132. >14 regex ['"\ \t]*[0-9.]+['"\ \t]*
  133. >>19 search/4096 \<pef Portable Embosser Format
  134. !:mime application/x-pef+xml
  135. # https://www.qgis.org/en/site/
  136. 0 string \<!DOCTYPE\040qgis QGIS XML document