How to install weather on the website

How to install weather on the website

Digital Hits: 65

Modern concepts of creation of the websites dictate need of providing the up-to-date information to users, the closest to subject of a resource. It can be exchange rates, the latest news of media, data on traffic jams. Within the small project it is impossible to collect, to process and provide similar information quickly. Web syndication saves. So, for example, it is possible to install weather on the website, having made integration with specialized service.

It is required to you

Instruction

1. Begin creation of a weather informer for the website. Open the address informer.gismeteo.ru in the browser. Look through information provided on the page. Select from the provided informers the most suitable to your website on the used technology (picture, flash, JavaScript), the size, functionality (diagrams of forecasts, summary information), style of design. Click "Receive the Code" which is near the selected block.

2. Select or configure the color scheme of design of the information block. Depending on selected like an informer pick up the most suitable design or use the means of fine tuning of visual aspects of display given on the page.

3. Select the city or the list of the cities, meteorological data and weather forecasts for which will have to contain in an informer. Use the corresponding form at the bottom of the page.

4. Create the code for implementation of the block of an informer on the website. Click "Receive the HTML-code of an Informer". Wait for loading of the page. Copy the code of a marking from a text box in a clipboard. Create the text file on a computer disk. Save in it clipboard contents.

5. Install weather on the website. If the resource is constructed on the basis of CMS having the online editor of templates of pages or files of themes enter the control panel with credentials of the administrator. Pass into the section of editing templates. Change a suitable template, having added to it the code of an informer received on the previous step. Save the made changes.

If CMS has no online editor or the website static, edit templates or files of pages on the local computer. Unite to the website server on FTP. Load the necessary files into the temporary directory on the hard drive. Carry out their editing for an insert of the code of an informer. Save the results of changes. Unload files back on the server.

6. Check correctness of the changes made to the website. Open several pages on which the informer should be placed in the browser. Make sure that it is displayed and does not break the existing structure of a marking.

Author: «MirrorInfo» Dream Team

Print