cloudy

Author Topic: WXGraphic - How Configurable?  (Read 868 times)

0 Members and 1 Guest are viewing this topic.

Offline EViS

  • Posts: 66
  • United Kingdom
WXGraphic - How Configurable?
« on: May 22, 2008, 06:21:01 PM »
I'd like to utilise as much of the data from our clientraw.txt as possible. So far, WXGraphic setup here has the following problems for me:

a) The size is too small, I'd like a box (not banner) twice the size.
b) I'd like a transparent background.
c) I'd like the text colour (and font) to match our site here.
d) I'd like more information from the clientraw.txt.

Despite reading Anoles wxgraphics thread, I'm still not too sure where to begin and whether this is the right script for me? How much work do the above require with this script? This is especially important as I have very limited php experience. Although I am experienced in CSS & XHTML.

Ideally, I'd prefer a small table of text as opposed to an image, is there a reason why an image is used? Alternatively, something like THIS WDBANNER which looks quite slick and simple are more ideal, but that don't rely on a seperate server/service.

It's probably also worth mentioning that I only have access to the clientraw.txt file as the WD software & weather station are managed by a seperate admin on a seperate server. he's simply given me access to this data.

Any advice/recommendation highly appreciated folks!
« Last Edit: May 22, 2008, 06:32:02 PM by EViS »

Offline TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Global Moderator
  • Posts: 5,859
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: WXGraphic - How Configurable?
« Reply #1 on: May 22, 2008, 10:39:20 PM »
Alternatively, something like THIS WDBANNER which looks quite slick and simple are more ideal, but that don't rely on a seperate server/service.

Those banners are created using JpGraph, ImageMagik and static background images.  The only other difference is that the script that generate them are not done on the fly but rather via a crontab as they take a bit longer to create.  They are more than one image.  The avatars (like the one on the the left) are 6 images combined.

As far as coding that type of thing, they are as easy/hard as any of the other JpGraph stuff that is out there.  You won't know until you try.

The Anoles script is basically the same type of thing so you would have some source code to learn from.

You might try using the Anoles scripts first and then tinker with them to learn how they work and go from there.
« Last Edit: May 22, 2008, 10:44:34 PM by TNETWeather »

All you need is Time, Aptitude and Desire ... and you can build just about anything...