The solution in some details

This solution consists of utilizing three parts of code:

  • A dynamically generated file residing on Norman's web site with the virus names and links to the virus descriptions. This page is changed each time Norman makes any changes on the Virus Warning list.
  • A Cascading Style Sheet page file placed on your own web server with information about how the viruswarnings should look on your own site. This file is normally to be edited to adjust size, colours, fonts etc.
  • A javascript, which is to be placed on the pages that are going to display the Virus Warnings. This script may be edited by experienced users. Be very careful doing this, however, as this has the code used to fetch the warnings and display them on your own page.

When a user clicks on any links to a virus description, a separate browser window is opened, with the description from Norman's web site.

A very simple web page that uses such a warning may be seen here. This page will open in a separate browser window and shows the Virus Warnings as a table with a yellow background and red headings. These values may be changed very easily.

Follow the instructions below to implement the Virus Warnings on your web site

  1. Obtain permission from Norman to use the Virus Warnings (see above)

  2. Download the feedstyle.css file by right clicking this link. This file is to be placed on your own web site. By default the location is supposed to be in the same directory on the web server as the pages that display the Virus Warnings. This location may be changed by changing an URL in the javascript (see below).

    You will most likely need to edit this downloaded CSS file to adjust it to your own web pages. Read the comments in the file to see some of the options available.

  3. Download the virusfeed_javascript.txt file by right clicking this link. This is the javascript that you will use on your own web pages.

    Open the file in an editor and copy and paste all the code from this javascript into the pages that are going to show the Virus Warnings.

    If you need to make minor adjustments in the script - use utmost care!

    Read the comments in the source code to see some of the options available.