Pollen Count

Out here in Iowa, the land of Pollen, sneezing and ragweed. Pollen count is as important as other goodies.

I am using the Leuven Templates and things are fine. I want to add somewhere, either the script Pollen.com gave me or at least a link to their site. I have already used the two locations at the bottom of the menu script for other things, and I would like to add a tab on the menu for a url to that information or page.

I had sent an email to the author and I don’t think I was able to explain to him, (lost in the translation) exactly what I wanted to do. He suggested at the bottom of the main page perhaps I could add it there. I did turn off the banner option.

So… the question is can it be done, where can I put it there and how would I put either the script or the url to make it work without screwing the pooch so to speak on the whole site.

What do you want:
1. A separate page If you have a a script which works stand-alone => use the wsNewpasge.php to make your own page and add it in the menu
http://wiki.leuven-template.eu/doku.php?id=en:faq:newpages

2. A link below the menu If you want to add another link in the side-area copy the last (third) one

	$sideArrCoop['derde'] = array (
		'name'	=>	"Station Set Up",
		'show'	=>	'yes',
		'icon'	=>	'',
		'link'	=>	'http://www.desmoinesweather.org/station_setup.htm',
		'alt'	=>	$altTxt."Website van een bevriend weerstation" 
		);

place it just below the last one and change it as you want, example

	$sideArrCoop['pollen'] = array (
		'name'	=>	"Pollen information",
		'show'	=>	'yes',
		'icon'	=>	'',
		'link'	=>	'http://www.pollen.com/allergy-weather-forecast.asp',
		'alt'	=>	$altTxt."Pollen information" 
		);

You can add as many as you like, even with an image or icon.

3. An image somewhere: If it is a small image you could add it as point 2, by setting the ‘icon’ => to the url of the image.
If it is a large complex image you could add it either as a separete page on its own or below other information, example below the AirQuality info.

===

Your original question as I understood it, was how to add a pollen warning to the air-quality script itself (http://www.desmoinesweather.org/weather27/index.php?p=15&lang=en#data-area), just like the ozone level and the other ones which are already there.

As I am not familiar with the data pollen.com supplies, I can not help you with that. As I explained in your support request, I tried to find some info on their site but as far as I know they do not supply any data at all.

And to add pollen in the same way as ozone and the others, I need a script or an API description how to get the data using an xml or scraping the page.
The data should at least contain somthing like : " pollen level for today = 1 in the range from 0 - 5" .
But without that kind of data there is not much to add.

Wim

Do you still have that on your (old) site somewhere?

Can you post it?

If this link is more or less or good enough for what you want, you could easily add it to any page, also below the AirQuality information in an iFrame.
http://www.pollen.com/forecast_print.asp?zip=06511

But their is no data to scrape, so no way to add it to the AQ index, or on its own in a similar presentation.

Wim

Wim, they must have a “sticker” script, scroll down his old page to see it

http://www.desmoinesweather.org/index.htm

Eureka! http://www.pollen.com/partners.asp

It is 300px wide running in an iFrame,far to wide to place below the menu

The other one has to be included on a page, but it contains no adds

Wim

Right, I think your print page suggestion is the best.

p style=“text-align: center”>

I am guessing that if the zip is changed it might work.

Niko found the code, you now have to decide which of the two information blocks you want and were to place it. The links to click are three messages back,

Wim

I will get at it as soon as I can.

is there any template that has snow depths. It isn’t snowing and probably with any luck I have 3 months until it becomes a concern, With WD I can enter them manually and they show up on WDL , so I was wondering if the would also show up on the current conditions page.

I do not know all details, maybe you could try jachyms?
Wim

I will give that a try. :slight_smile:

  1. An image somewhere: If it is a small image you could add it as point 2, by setting the ‘icon’ => to the url of the image.
    If it is a large complex image you could add it either as a separete page on its own or below other information, example below the AirQuality info.

I think that would be in order, to add it to that AQ page.

I am sorry to be driving you bonkers.
I thought under forecast, it could be a separate tag

2. A link below the menu If you want to add another link in the side-area copy the last (third) one

	$sideArrCoop['derde'] = array (
		'name'	=>	"Station Set Up",
		'show'	=>	'yes',
		'icon'	=>	'',
		'link'	=>	'http://www.desmoinesweather.org/station_setup.htm',
		'alt'	=>	$altTxt."Website van een bevriend weerstation" 
		);

place it just below the last one and change it as you want, example

	$sideArrCoop['pollen'] = array (
		'name'	=>	"Pollen information",
		'show'	=>	'yes',
		'icon'	=>	'',
		'link'	=>	'http://www.pollen.com/allergy-weather-forecast.asp',
		'alt'	=>	$altTxt."Pollen information" 
		);

You can add as many as you like, even with an image or icon.

Wim
[/quote]
I have a brain fart, which item do I add this?

I found it in wsSideColom.php

Thank you, Niko… This getting old is for the birds. Including that owl down the street.

Did anyone get it to work in an iframe? I couldn’t. I only got a blank.