4658a2058b647094cd05eee4a093f97371bf7333
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / Documentation / TechnicalDetails / HtmlContent / Index.rst
1 .. ==================================================
2 .. FOR YOUR INFORMATION
3 .. --------------------------------------------------
4 .. -*- coding: utf-8 -*- with BOM.
5
6 .. include:: ../../Includes.txt
7
8
9
10 .. _html-content:
11
12 HTML content
13 ^^^^^^^^^^^^
14
15 HTML content is weighted by the indexing engine in this order:
16
17 #. <title>-data
18
19 #. <meta-keywords>
20
21 #. <meta-description>
22
23 #. <body>
24
25 In addition you can insert markers as HTML comments which define which
26 part of the body-text to include or exclude in the indexing:
27
28 The marker is :code:`<!--TYPO3SEARCH_begin-->` or
29 :code:`<!--TYPO3SEARCH_end-->`.
30
31 Rules:
32
33 #. If there is no marker at all, everything is included.
34
35 #. If the first found marker is an "end" marker, the previous content
36 until that point is included and the preceding code until next
37 "begin" marker is excluded.
38
39 #. If the first found marker is a "begin" marker, the previous content
40 until that point is excluded and preceding content until next "end"
41 marker is included.
42