sgml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. #------------------------------------------------------------------------------
  2. # $File: sgml,v 1.41 2020/06/07 18:16:43 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. >>19 search/4096 \<gnc-v2 GnuCash file
  10. !:mime application/x-gnucash
  11. 0 string \<svg SVG Scalable Vector Graphics image
  12. !:mime image/svg+xml
  13. # Sitemap file
  14. 0 string/t \<?xml\ version=
  15. >14 regex ['"\ \t]*[0-9.]+['"\ \t]*
  16. >>19 search/4096 \<urlset XML Sitemap document text
  17. !:mime application/xml-sitemap
  18. # OpenStreetMap XML (.osm)
  19. # https://wiki.openstreetmap.org/wiki/OSM_XML
  20. # From: Markus Heidelberg <markus.heidelberg@web.de>
  21. 0 string \<?xml\ version=
  22. >14 regex ['"\ \t]*[0-9.]+['"\ \t]*
  23. >>19 search/4096 \<osm OpenStreetMap XML data
  24. # xhtml
  25. 0 string/t \<?xml\ version="
  26. >19 search/4096/cWbt \<!doctype\ html XHTML document text
  27. >>15 string >\0 (version %.3s)
  28. !:mime text/html
  29. 0 string/t \<?xml\ version='
  30. >19 search/4096/cWbt \<!doctype\ html XHTML document text
  31. >>15 string >\0 (version %.3s)
  32. !:mime text/html
  33. 0 string/t \<?xml\ version="
  34. >19 search/4096/cWbt \<html broken XHTML document text
  35. >>15 string >\0 (version %.3s)
  36. !:mime text/html
  37. #------------------------------------------------------------------------------
  38. # sgml: file(1) magic for Standard Generalized Markup Language
  39. # HyperText Markup Language (HTML) is an SGML document type,
  40. # from Daniel Quinlan (quinlan@yggdrasil.com)
  41. # adapted to string extenstions by Anthon van der Neut <anthon@mnt.org)
  42. 0 search/4096/cWt \<!doctype\ html HTML document text
  43. !:mime text/html
  44. !:strength + 5
  45. # SVG document
  46. # https://www.w3.org/TR/SVG/single-page.html
  47. 0 search/4096/cWbt \<!doctype\ svg SVG XML document
  48. !:mime image/svg+xml
  49. !:strength + 5
  50. 0 search/4096/cwt \<head\> HTML document text
  51. !:mime text/html
  52. !:strength + 5
  53. 0 search/4096/cWt \<head\ HTML document text
  54. !:mime text/html
  55. !:strength + 5
  56. 0 search/4096/cwt \<title\> HTML document text
  57. !:mime text/html
  58. !:strength + 5
  59. 0 search/4096/cWt \<title\ HTML document text
  60. !:mime text/html
  61. !:strength + 5
  62. 0 search/4096/cwt \<html\> HTML document text
  63. !:mime text/html
  64. !:strength + 5
  65. 0 search/4096/cWt \<html\ HTML document text
  66. !:mime text/html
  67. !:strength + 5
  68. 0 search/4096/cwt \<script\> HTML document text
  69. !:mime text/html
  70. !:strength + 5
  71. 0 search/4096/cWt \<script\ HTML document text
  72. !:mime text/html
  73. !:strength + 5
  74. 0 search/4096/cwt \<style\> HTML document text
  75. !:mime text/html
  76. !:strength + 5
  77. 0 search/4096/cWt \<style\ HTML document text
  78. !:mime text/html
  79. !:strength + 5
  80. 0 search/4096/cwt \<table\> HTML document text
  81. !:mime text/html
  82. !:strength + 5
  83. 0 search/4096/cWt \<table\ HTML document text
  84. !:mime text/html
  85. !:strength + 5
  86. 0 search/4096/cwt \<a\ href= HTML document text
  87. !:mime text/html
  88. !:strength + 5
  89. # Extensible markup language (XML), a subset of SGML
  90. # from Marc Prud'hommeaux (marc@apocalypse.org)
  91. 0 search/1/cwt \<?xml XML document text
  92. !:mime text/xml
  93. !:strength + 5
  94. 0 string/t \<?xml\ version\ " XML
  95. !:mime text/xml
  96. !:strength + 5
  97. 0 string/t \<?xml\ version=" XML
  98. !:mime text/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)
  103. 0 string/t \<?xml\ version=' XML
  104. !:mime text/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)
  109. 0 search/1/wt \<?XML broken XML document text
  110. !:mime text/xml
  111. !:strength - 10
  112. # SGML, mostly from rph@sq
  113. 0 search/4096/cwt \<!doctype exported SGML document text
  114. 0 search/4096/cwt \<!subdoc exported SGML subdocument text
  115. 0 search/4096/cwt \<!-- exported SGML document text
  116. !:strength - 10
  117. # Web browser cookie files
  118. # (Mozilla, Galeon, Netscape 4, Konqueror..)
  119. # Ulf Harnhammar <ulfh@update.uu.se>
  120. 0 search/1 #\ HTTP\ Cookie\ File Web browser cookie text
  121. 0 search/1 #\ Netscape\ HTTP\ Cookie\ File Netscape cookie text
  122. 0 search/1 #\ KDE\ Cookie\ File Konqueror cookie text
  123. # XML-based format representing braille pages in a digital format.
  124. #
  125. # Specification:
  126. # http://files.pef-format.org/specifications/pef-2008-1/pef-specification.html
  127. #
  128. # Simon Aittamaa <simon.aittamaa@gmail.com>
  129. 0 string \<?xml\ version=
  130. >14 regex ['"\ \t]*[0-9.]+['"\ \t]*
  131. >>19 search/4096 \<pef Portable Embosser Format
  132. !:mime application/x-pef+xml