How to make a reference in more detail

How to make a reference in more detail

It is inconvenient to read the page on which several news or articles are located if all texts are placed on it completely. It is possible to leave only initial paragraphs, and to place the others in separate files. On each of them the link designated will conduct as is "more detailed". Instruction 1. Make the backup copy of the main page of the section of news or articles of the website. It is possible to copy the file, the text from it or its HTML-code. In the latter case the text editor providing saving without formatting, for example, Geany, KWrite, the Notepad, Notepad ++ is necessary. 2. Create a page template for separate news or article. Leave in it only those elements which do not change from the page to the page. It can be, for example, the menu, headings, a bottom line with the indication of authorship of the website and coordinates for communication with its owner. Call the file, for example, of article.html. On the server do not place it. 3. Make so many copies of the file template how many is available texts. Give these copies names according to contents, for example: android-3-0-released-today.html, new-library-built-in-our-town.html, and so forth. Place the text corresponding to the name in each of files. Do not mix them. 4. In the HTML-website with the main page of the section of news after each of introductions place the link of the following view:

Побробнее

, where article-file-name.html - a file name with the full text of the corresponding news or article. 5. Place on the server all received HTML-files, except a template. Having visited the website, follow all links "In more detail". Make sure that they are not mixed and that after each of introductions the link to the full text of the corresponding news is located. 6. Perhaps, it will be more convenient to some users to read all texts completely on one page. If someone from visitors of the website addresses to you with such request, name the created earlier backup copy, different from a name of the main page of the section of news or articles, and place this file on the server. Make a reference to it from the main page, and from it - back to this page. When adding each new text do not forget every time to update both options of a news feed.

Author: «MirrorInfo» Dream Team


Print