Add a DayVerdict card to your website
DayVerdict answers one question: should you do an outdoor job today? You can put that answer, live, on your own page: a small card that shows the verdict, its score out of 100 and the best window of the day for one job in one town. It is free, it needs no account and no key, and it updates itself from the forecast of the Australian edition.
Copy this code
This example shows whether it is a good day to wash a car in Sydney. Paste it where you want the card to appear:
<iframe src="https://dayverdict.com/au/embed/wash-car/sydney-nsw" title="Wash your car in Sydney" width="100%" height="190" style="max-width:420px;border:0" loading="lazy"></iframe>
<p><a href="https://dayverdict.com/au/wash-car/sydney-nsw">Wash your car in Sydney on DayVerdict</a></p>
Please keep the link under the card. It is the way the card says where its answer comes from, and it takes your readers to the full page: the hour-by-hour detail, the week ahead and the reasons.
Pick the job and the town
The address of the card has two parts after /au/embed/: the job and the town.
- The job is one of:
wash-car,mow-lawn,paint-outside,hang-laundry(drying the washing outside),grill(the barbecue),fly-drone,water-garden,pressure-wash(the pressure washer),run,bike,walk-dog,picnic,beach,fishing,golf,camping,clean-gutters,seal-drivewayorwindow-cleaning. - The town is the last part of the address of its page, made of the name and the state code. Open any town on DayVerdict and look at the address:
https://dayverdict.com/au/wash-car/perth-waumeans the town isperth-wau. The state codes arensw,vic,qld,wau,sau,tas,actandnta. It works for any place in our list, not only the capital cities.
So https://dayverdict.com/au/embed/grill/darwin-nta is the card for a barbecue in Darwin.
For your own paint, mower, machine or drone
By default the card uses the usual setup of each job. To show the verdict for a different one, add the choice to the address, the same way the job pages do. For example, https://dayverdict.com/au/embed/paint-outside/hobart-tas?paint=oil is the card for oil-based paint.
- Painting outside:
paint=latex(the default, water-based paint),oilorstain. - Mowing the lawn:
mower=petrol(the default) orelectric. - Barbecue:
grill=standard(the default) orelectric. - Flying a drone:
drone=sub250(the default),largeorrated8. - Watering the garden:
method=overhead(the default) ordrip. - Pressure washing:
purpose=cleaning(the default) orbefore-staining, andmachine=electric(the default) orpetrol. - Sealing a driveway:
surface=block(block paving, the default) orconcrete.
Join several with &, as in ?purpose=before-staining&machine=petrol. A value we do not know is ignored and the card uses the usual setup. Add &theme=light for the light version.
Light version
On a page with a light background, add ?theme=light to the address of the card:
<iframe src="https://dayverdict.com/au/embed/mow-lawn/brisbane-qld?theme=light" title="Mow the lawn in Brisbane" width="100%" height="190" style="max-width:420px;border:0" loading="lazy"></iframe>
What the card shows, and what it does not
- The verdict (YES, MAYBE or NO), the score from 0 to 100 and the best window of the day, computed with the same rules as the rest of the site.
- When the forecast cannot be reached, or is older than three hours, the card says it is temporarily unavailable. It never shows a guessed verdict.
- No warnings are checked. For bushfire, storms and heat, see the warnings of the Bureau of Meteorology and your state fire service.
- It is informational only. It is not safety, legal or professional advice, and the label of your product or the manual of your tool always overrides a score. See the disclaimer.
Good to know
- The card loads no scripts, sets no cookies and shows no ads. Its page is not indexed by search engines: the page of the job in the town is.
- It is cached for a few minutes, so it can lag the live page by a little.
- It is offered as it is, with no promise of uptime, and the address or the design may change. If you build something that depends on it, write to us at hello@dayverdict.com first.