Gearscout.com

Wapscout navigates webcam images in a couple of different ways. This breaks out the simpler of the two methods that can be used to display webcam images.

This method will work on any website that supports WML.

World of Webcams...

Camlist MenuAlmost everyone has a favorite place in the world and its fun to be able to see "how things are going" via live (or nearly live) images on the Internet.

We'll provide you with the basic building blocks of a text-only menu that will provide give your WAP site webcam images.

If you have already downloaded Wapscout you already have these files. Wapscout-PHP uses a different method to load the webcams.

camlist.wml - is a simple menu that will link to webcam files. If you open up the file, you can see that there are two additional cards that can be populated with links to more webcams. You can add more of those menus simply by giving them a unique name and linking to them from the other menus. We have simply used card id's of camlist, camlist2, camlist3 which works easily.

Also included are an assortment of WML files that call specific cameras from a watering hole in the Kruger Game Park in South Africa to the Eiffel Tower in Paris and many U.S. National Parks.

Impala Herd at the Kruger Webcam Site

Using this system, each webcam needs its own file. You can use "blank_camfile.wml" as a template to create your own additional webcam files to display the images on your cellphone.

You will need to fill in the various details for each one.

blank_id - The "id" of the card. Usually, the one-word title of the filename itself. For example, kruger.wml has a card id="kruger"

It must be enclosed in quotes.

blank_title - This is what will appear as the title of the card if your phone displays that information. The Openwave Phone Simulator always does.

blank_url - Very important. The actual link to the image. This should be a .jpg or .gif file. Do not try to insert an html or htm filename here. You want the actual image that is being updated.

blank_alt - This is what you will see in the space reserved for the image before it is loaded. So you might insert something like "Kruger...Loading..." Again, it must be enclosed in quotes like everything else here except the descriptive text.

blank_line_1 - Insert a line that describes the image

blank_line_2 - Same as above

blank_line_3 - It is sometimes helpful to also include how often the visitor can expect this camera to refresh the image and its hours of operation.

Amundsen-Scott Station at the South Pole

While you can edit any of these files in Windows own notepad, you have to be sure to select a file "type" of "All Files" instead of the default "Text." By default, Windows wants to name everything saved in that file as "file.txt" and that will not work.

Consider downloading an excellent, free editing tool like Notepad++ from Sourceforge.net

There's a link to it in the Downloads section of the Menu on the top right.

Advanced Webcams...

Using PHP and the free phpThumbs scripts from Sourceforge.net, you can enable your site to display larger images that wouldn't normally load on a cellphone.

That's because by thumbnailing the image, you make it small enough so that the phone will download it.

But be aware, you will need a website that is PHP-enabled. It also helps to have the GD Library installed so that you can apply filters, like "auto-levels" that will improve the appearance of most webcams.

Wapscout-PHP additionally uses more advanced calls to enable loading all the webcams in a single file ("deck") that includes many other cards. camlist.wml is quite a bit different in Wapscout-PHP than it is in the basic version of Wapscout.

There is a file supplied in the download of /local.zip that serves as a "blank" for insertion into "showcam.wml" to load the webcam's URL, description etc. as variables.

 

 

Thank you for visiting gearscout.com - Come back again soon.