1. Basic features of websites
1.1. Template
- The basis of the website is a template – the website “Default.aspx” – processed according to the supplied graphic design. The template is filled with data from the NET Genium information portal depending on the identifier that is passed to the template using a parameter in the URL, and is generally called a website identifier. The template can be divided into sections resp. can display information in several columns, for example. The usual situation is the main section (it has the largest dimension in terms of width) and the narrower left or right section, which is often used to display news or information that needs to be highlighted graphically.
Details
- Requests from IP addresses whose beginning is listed in the BlockIP key in the appSettings section of the Web.config file of the web presentation (multiple values are separated by a comma or a semicolon) are not processed by the website, which returns only a short text instead of the web page.
1.2. Full-text search
- The template contains input fields that are used to enter search terms. The headings and content of non-system web pages in the language version that the visitor is browsing are searched, together with other data sources passed to the search by the template. Search results are displayed on the “Default.aspx?Search” website in the form of text links together with the surroundings of the search term. Search terms are logged in the database for statistics.
- The search is case and accent insensitive and matches words from their beginning – the term “price” finds the words “price” and “prices”, but not “overpriced”. A page is found when its heading or content contains all the search words. Alternatives are entered with the “or” connective, and a term in quotes is searched as a whole phrase.
Details
- A word of at least five letters or digits that is not found on the page exactly is also searched with a tolerance of one typo (a substituted, inserted or deleted character), but the first character must match. Phrases in quotes and words with characters other than letters and digits are not searched this way.
- Interchangeable terms (synonyms) are set with the “SearchSynonyms” key in the “appSettings” section of the configuration file of the web application (Web.config): groups of terms are separated by a semicolon or a line break, the terms of one group by a comma, for example “invoice, bill; e-mail, email”. A word of the search term equal to any term of a group then finds a page through the other terms of the group as well. A multi-word term is compared with consecutive words of the search term.
- If the number of searches from one IP address exceeds the limit, the search is not performed and a notice that the search is temporarily limited is displayed instead of the results.
1.3. Website language support
- The template may contain links to different language versions of the website. Before processing the graphic design, it is necessary to specify the list of language versions that the website will use.
1.4. Menu
- Depending on the graphic design and customer requirements, the menu is usually displayed horizontally at the top of the website or vertically in a separate column on the left. Picture menu items are usually fixed and can only be changed by interacting with the template. These menus are often only one-level. On the contrary, menu items in text form are dynamically loaded from the database and these menus are often multi-level. In terms of design, we recommend choosing a menu in graphical form and inserting less important links directly into the body of the website. The menu can contain both internal and external links.
1.5. Web map
- The site map is generated automatically in the form of a tree with links to individual presentation websites. The site map can also be used as an alternative to a completely expanded menu.
1.6. Statistics
- The movement of the visitor through the web presentation is automatically logged in the database for statistics. The environment for displaying statistical outputs is part of the web content management application in the NET Genium information portal and contains:
- Numerical data on website traffic in individual days, weeks, months, etc.,
- the number and list of websites viewed per visit,
- list of search terms and
- information about the website from which the visitor was redirected to the website.
Statistical outputs and graphs can be individually edited or created directly in the administration interface of the NET Genium information portal.
Details
- Neither visits nor search terms are logged for requests from robots recognized by the browser identification and from IP addresses whose beginning is listed in the ExcludeIPFromLogging key in the appSettings section of the Web.config file of the web presentation (multiple values are separated by a comma or a semicolon). Visits are not logged either when there are excessive requests from one IP address, and a search term is not logged when the number of searches from one IP address exceeds the limit.
- A visit record contains the IP address of the visitor, the identification of their browser, the address of the web page from which the visitor came and the email address of the customer logged in to the website. A search term record contains the IP address and the email address of the logged-in customer.
2. Website content management
2.1. Website
- Web content management, i.e. website creation and editing takes place in a web content management application. This application is integrated into the NET Genium information portal as the basic application environment. Individual websites are registered in the form of data records and to capture their hierarchical arrangement are displayed in a tree structure. This structure may not affect the content of the menu, but it is important, for example, for generating a site map. The content of the website itself is in text form and can contain a number of tags that are used to format text, insert images, animations, etc. The final appearance of the website is displayed to the visitors of the website through a dynamic template.
2.2. Website parameters
Active
- Websites that are not marked as active are not displayed
System
- System web pages do not appear in the site map and are not searched in full text
Details
- Together with a system web page, all its child web pages are omitted from the site map as well (both the SiteMap object and the sitemap.xml file created by the WRITESITEMAP server function), while full-text search omits only the system web page itself
- A system web page is not displayed in the menu that the template builds from the web page tree with the standard framework function either
Language
- Language version of the website
Website
- Website title
- Specifies the content of the tag <h1>
- Appears as the title of a web page link
Caption
- Website title
- Specifies the content of the tag <title> – appears in the title bar of the Internet browser window and on the Windows taskbar as the application name
- Appears as a title in search engines
- It is a priority when the site is indexed by search engines
Identifier
- Unique website identifier
- Used as part of the website's web address (e.g., calendar-event or Products.aspx)
- Must not contain a space. The identifier composed of the website name cannot contain a space or a slash
- The same website may have a common identifier in different language versions, named for example in English
Details
- A link to another language version built by the template with the standard framework function leads to the web page with the same identifier in the target language version. If the target language version has no active web page with that identifier, the link leads to the Default.aspx home page of the target language version
- For an address that matches no active web page, the website returns the 404 status code and displays the active web page with the identifier 404 in the same language version. If there is no such web page, a server error page is displayed. This does not apply to identifiers ending in .aspx and to identifiers reserved by the website, e.g. search for the search results.
Website type and content
- Website content can be entered in either formatted or plain text. A simple text editor with all the basic functions for working with text is used to enter formatted text. The source code of the formatted text is stored in HTML, which can also be modified directly by editing or entering HTML tags. Formatted text allows you to display images in the text that are stored in the NET Genium information portal.
- However, entering website content as plain text is generally strongly recommended. Here, special tags are used to format the text, the origin of which is based on the proven online encyclopedia Wikipedia. Websites formatted in this way cannot contain syntax errors in the code, which can, for example, be the cause of poor rankings by web crawlers designed to index pages for full-text search engines (Google, Seznam, etc.).
Tips for working with formatted text:
- “ENTER” key: insert a newline transition in the current paragraph
- “SHIFT + ENTER” key: insert a new paragraph
- “Insert image” icon: insert image
- “Insert link” icon: insert a link to a web page
- “Remove formatting” icon: remove formatting in selected text
- “HTML mode” check box: text editing using HTML
- “Plain text” button: remove formatting in selected text
Tags designed for plain text formatting are described in the next chapter.
Description
- Website content description
- Specifies the content of the tag <meta name="DESCRIPTION" content="">
- Google lists this description when it contains a search term
Details
- If the description is empty, the description of the nearest parent web page that has one filled in is used (the search stops at an inactive parent web page). If there is no such page, the description of the Default.aspx web page in the same language version is used. The Default.aspx page itself does not inherit the description.
Keywords
- Comma-separated list of keywords
- Specifies the content of the tag <meta name="KEYWORDS" content="">
- Keywords are only relevant for internal search engines such as Atomz. The most important search engines, Google and Seznam, ignore keywords
Details
- If keywords are empty, they are inherited in the same way as the description
3. Formatting marks
In addition to the tags described in the following chapters, the following applies when the content of a web page is displayed:
- Text between the characters /* and */ is a comment and is not displayed on the web page. The comment is removed even inside a <pre> block, so in code samples the slash has to be written as the HTML entity /.
- The [[Alias:Identifier]] tag in the content of a web page redirects the visitor to the web page with the specified identifier in the same language version. A full address can be used instead of the identifier, e.g. [[Alias:https://www.mycompany.com/en/index.html]].
Details
- In the sitemap.xml file created by the WRITESITEMAP server function, a redirected web page is written under the address it redirects to – provided that it is a full address of the same website. Otherwise it is not written to the file, but its child web pages are.
- A pair of commas ,, is displayed as a straight quotation mark ".
- A non-breaking space is automatically inserted after the one-letter words a, i, k, o, s, u, v and z (including their capitalized forms) when the page is displayed, so that the word does not stay at the end of a line. A non-breaking space is therefore not written manually. It is not inserted inside a <pre> block.
Details
- Inside a <pre> block, apostrophes (bold text and italics), pairs of commas and double quotation marks ""..."" are still processed. A pair of apostrophes in a code sample, e.g. the empty string '' in SQL, therefore has to be written as the HTML entities '', a pair of commas as the entities ,, and a pair of double quotation marks as the entities "".
3.1. Insert link...
- Clicking on this link will display a tree structure of the website. Here you can select the page to which a link should be inserted in the text (at the cursor position).
3.2. New section: ––––
- Section separator on the page. It is used, for example, to separate the content of the narrower left and wider right columns of a web page.
Tag placement: on a separate line, separated from the surrounding text by a blank line before and after it. A tag that directly adjoins a line of text is joined with it into one paragraph and is displayed as text.
Example:
3.3. New paragraph: blank line
- One blank line or several blank lines are used to separate individual paragraphs.
3.4. Line break: ++
Tag placement: at the end of the line. The placement of the mark on a separate line or just before it is incorrect, a blank line is used to separate paragraphs. ++ is the HTML tag equivalent <br>
3.5. Line break for floating objects: +++
Tag placement: at the end of the line
3.6. |Centered text|
- To insert centered text, place a vertical bar in front of and behind the text.
Tag placement: on a separate line. To increase clarity, it is recommended to leave the following line blank
3.7. '''Bold text'''
- Text is highlighted in bold with three apostrophes before and after it. The apostrophe ' has the code 39 (it is typed by holding down the ALT key and entering 39 on the numeric keypad, and the apostrophe appears once the ALT key is released). The apostrophe character is also produced by pressing the right Alt key and the backslash at the same time.
Tag placement: arbitrarily in the text
3.8. ''Italics''
- Text is highlighted in italics with two apostrophes before and after it. The apostrophe ' has the code 39 (it is typed by holding down the ALT key and entering 39 on the numeric keypad, and the apostrophe appears once the ALT key is released). The apostrophe character is also produced by pressing the right Alt key and the backslash at the same time.
Tag placement: arbitrarily in the text
3.9. '''''Bold italics'''''
- Text is highlighted with a combination of bold text and italics with five apostrophes before and after it. The apostrophe ' has the code 39 (it is typed by holding down the ALT key and entering 39 on the numeric keypad, and the apostrophe appears once the ALT key is released). The apostrophe character is also produced by pressing the right Alt key and the backslash at the same time.
Tag placement: arbitrarily in the text
3.10. ""Quoted text""
- To insert “enclosed in quotation marks” text, place two double quotation marks before and after the text.
Tag placement: arbitrarily in the text
3.11. == Second level heading ==
- To insert a second-level heading, place two equal signs and a space before the title title, followed by a space and two equal signs after the title title.
Tag placement: on a separate line. To increase clarity, it is recommended to leave the following line blank
3.12. === Third level heading ===
- To insert a third-level heading, place three equal signs and a space before the title heading, followed by a space and three equal signs after the title heading.
Tag placement: on a separate line. To increase clarity, it is recommended to leave the following line blank
3.13. ==== Fourth level heading ====
- To insert a fourth level heading, place four equal signs and a space before the title heading, followed by a space and four equal signs after the title heading.
Tag placement: on a separate line. To increase clarity, it is recommended to leave the following line blank
3.14. ===== Fifth level heading =====
- To insert a fifth-level heading, place five equals and a space before the title, followed by a space, and five equal signs after the title.
Tag placement: on a separate line. To increase clarity, it is recommended to leave the following line blank
3.15. Links: [[Destination address Link title|parameters]]
- The destination address can be:
- The identifier of the website in your website,
- the exact address (URL) of the website or
- email address.
- If you want to place a link to a web page in your website whose identifier you know, use e.g.
[[sitemap Sitemap]]. - To place a link to a webpage on the Internet, provide the exact address (URL) of the webpage, such as [[http://www.google.com Google]].
- To place a tooltip link on a webpage on the Internet that opens in a new window, use, for example,
[[http://www.google.com Google|target="_blank",title="Google Search Engine"]]. - To place a link to an email address, enter the email address directly instead of the identifier, e.g. [[info@netgenium.com]].
Tag placement: arbitrarily in the text
3.16. Lists
- Lists are marked at the beginning of the line with the symbol * for unnumbered bullets, or the symbol # for numbered lists. The number of symbols (* or #) is determined by the sublevel of the list.
Details
- The second level of a numbered list is numbered with lowercase letters (a, b, c...), the third and further levels of a numbered list are marked with a square bullet.
- A list has at most five levels. A line with more than five symbols or with a combination of the * and # symbols is not displayed as a list item.
Tag placement: each list item on a separate line
Example:
3.17. Tables
- Tables are mainly used to format (layout) the text on the page. Tables can be entered in simple syntax using the “|” characters, or extended Wiki syntax. Tables can also be inserted via HTML tags, <table>, <tr> and <td>.
3.17.1. Simple syntax
Tag placement: each row of the table on a separate row
The alignment of cell content is determined by the spaces around the text: without a space at the beginning, the text is aligned to the left. With a space at the beginning and without a space at the end, it is aligned to the right, and with two or more spaces at both the beginning and the end, to the center. In other cases (e.g. one space on both sides), no alignment is set.
Example:
| Row 1, Cell 1 | Row 1, Cell 2 |
| Row 2, Cell 1 | Row 2, Cell 2 |
3.17.2. Extended syntax
see help in Wikipedia encyclopedia Czech (brief), English (complete)...
3.18. Anchor: [[Anchor:Anchor name]]
- The anchor is the equivalent of an HTML tag <a name="Anchor name "></a>. The anchor can be referenced, e.g.
[[mapa-webu#kotva1 Click here to skip to the next paragraph...]].
Tag placement: arbitrarily in the text
3.19. Map: [[Map:Map ID]]
- Maps and their associated map locations are stored in the “Maps” application on your NET Genium portal (maps are not a standard part of the web content management application).
Tag placement: arbitrarily in the text
3.20. Site map: [[Object:SiteMap]]
- The SiteMap object displays the hierarchical structure of active web pages in the same language version as the web page that contains the site map. System web pages are not displayed in the site map, including all their child web pages. Web pages under an inactive parent web page are not displayed either. The notation [[Objekt:MapaWebu]] is equivalent.
Tag placement: arbitrarily in the text
3.21. Picture: [[Image:Destination address]]
- To place an image taken from another website on the Internet, enter the exact address (URL) of the image instead of the destination address. The image is the equivalent of an HTML tag <img src="Destination address"> and can contain parameters, such as [[Image:https://www.netgenium.com/apple-icon.png|width="170",height="184"]].
Tag placement: arbitrarily in the text
3.22. Attachment: [[Attachment:Attachment ID]]
- Attachments are stored in the web content management application on the “Attachments” view page. Attachments most often include images used in the text and documents that are offered for download on the website. In case of inserting a new image attachment, the user is prompted to enter additional information:
- Attachment: file attachment or image
- Detail: large image – will be displayed after clicking on the image preview, which is located in the control “Attachment”
- Caption: the caption is displayed when the mouse cursor hovers over the link or image
- Alignment: align the image with the surrounding text that wraps around the image
- Width: image width
- Height: image height
- Up: width of the upper edge
- Down: bottom margin width
- Left: width of the left margin
- Right: width of the right margin
A web presentation can also contain images that are part of a template and are therefore stored on the server disk in the same directory as the web presentation itself and its template. In this case, it is possible to refer to the images using a tag such as [[Image:../images/logo.gif]].
Tag placement: arbitrarily in the text
3.23. Frame: [[Frame:Destination address|width="100",height="100"]]
- To place an iframe on a webpage and load another webpage into it, enter the exact address (URL) of that webpage instead of the destination address. The frame is the equivalent of an HTML tag <iframe src="Destination"> and may contain other parameters in addition to width and height.
Details
- Without the width parameter the frame is 100% wide, and without the height parameter it is 100 px high. A positive whole number is used in pixels, any other value (e.g. 50%) is used unchanged.
- Without the frameborder parameter, the frame is displayed without a border, and without the scrolling parameter without scroll bars.
- If the frame loads a NET Genium edit form from the same server address as the website (the address contains form.aspx?form=) and the height parameter is missing, the frame height adapts to the height of the form after it loads and again after every click in the form.
Tag placement: arbitrarily in the text
3.24. Video: [[Video:Destination address|width="100",height="100"]]
- To place a video downloaded from another website on the Internet, enter the exact address (URL) of the video instead of the destination address. The video can contain other parameters in addition to width and height. Supported addresses are a YouTube video address and the address of a file in MP4 or OGG format.
Details
- A video at any other address is not displayed.
- The width and height parameters are entered as whole numbers in pixels. If a parameter is missing or is not a whole number, the video width or height is 100 px.
Tag placement: arbitrarily in the text
3.25. Details: [[Detail]]
- Text between the [[Detail]] and [[/Detail]] tags is displayed on the web page as a collapsed section labelled “Details” in the language of the web page, which the visitor expands by clicking it. It is suited to supplementary information that most readers do not need – edge cases, exceptions or a detailed technical description. Full-text search searches the content of the section.
- All formatting tags can be used inside the section. Sections cannot be nested and must not span a section separator (see chapter 3.2). A section that is not closed is closed at the end of the web page.
- If the [[Detail]] tag immediately follows a list item and the section contains only list items, the section is displayed as a list item at the level of its items and the list continues without interruption. In a numbered list, the section takes up one number.
- The tags are processed only in content written with formatting tags, not in content written as formatted text (HTML).
Example:
[[Detail]]
* Supplementary information...
[[/Detail]]
Tag placement: each tag on a separate line