Page best viewed in
800x600 with lots of colours
However, you can now use a CGI (a web-based program) which will return an image telling you when a specified page was last updated, because it can ask the web server for the datestamp of that file.
This script can be accessed by using the following bit of HTML:
However, without passing it any data it won't be of much use to you - it's got to fetch a web page to work, otherwise it will complain that it is Unable to fetch page!
The following are parameters which you can pass to the program - the URL is always required, but the other fields are optional.
The FULL ADDRESS of the page to be checked - for instance,
(substitute the mabel part to get your own homepage)
Although the default colour is black, there are 24 colours to choose from - essentially the same as those used for ArgoNet's counter. Only the text colour is changed, the background is always transparent.
In additional, the eight main colours can be called by name:
The default font is quite thin, but if you have quite a strong background colour this might not show up very well. In this case you could try adding the bold attribute - available in two versions, as well as off:
It may be that, for your website, the standard format of day, date, month and year is too long, or that you can't get image to align properly with some sort of "Last updated on..." text; the format attribute allows you some control over what format the date is output in:
If you put all that together you might get...
Final notesIt should be noted that, although the image returned is always 16 pixels high, you should never give the image a width attribute (e.g. <img src="..." width="100"...> because it may be different every time - it depends on the date.
You may have guessed that, because you enter the full URL of the page you want to check, it doesn't have to be on your website at all - in fact, you can even use this program to check webpages that aren't even hosted by ArgoNet. However, not all servers return the necessary information needed by this program so it won't always work, and by fetching pages from another server you will slow down the image loading on your page.