How to use MeteoHub in Wordpress ?
Moderator: Mattk
How to use MeteoHub in Wordpress ?
Hi,
Can someone give an example of how to use MeteoHub data on Wordpress ?
The plug-in that are available on Wordpress does not work.
Any help on this is welcome!
Can someone give an example of how to use MeteoHub data on Wordpress ?
The plug-in that are available on Wordpress does not work.
Any help on this is welcome!
Regards / Grüß,
Geert - ON1DQD
Geert - ON1DQD
Re: How to use MeteoHub in Wordpress ?
Not much support here if you ask me.
Anyone?
Anyone?
Regards / Grüß,
Geert - ON1DQD
Geert - ON1DQD
Re: How to use MeteoHub in Wordpress ?
What kind of functionality/plugin are you looking for? Widget, page or ?
I've borrowed a HTML page which I use for my WP weatherpage www.vaerloese-vejr.dk, but to be honest I'd like much more but lack the expert HTML coding & design skills.
You can also use e.g. the Saratoga framework (non WP), but in my opinion it looks way to old for my taste.
I've borrowed a HTML page which I use for my WP weatherpage www.vaerloese-vejr.dk, but to be honest I'd like much more but lack the expert HTML coding & design skills.
You can also use e.g. the Saratoga framework (non WP), but in my opinion it looks way to old for my taste.
Re: How to use MeteoHub in Wordpress ?
Not sure about Wordpress' possibilities on utilizing customized pages, but given there is PHP support, you could:
- make a page, say "wl.php"
- use this in the Push Servicess Page of meteobridge to push data to an "HTTP" the server running wordpress
- that page would not contain any html code rather than just a few lines of code in PHP disassembling the $_GET field
- writing a result-page in HTML that you could link into your wordpress page - say "weather.html"
Basically any web-server I know supports PHP and therefor can be used to collect & prepare the weather data. With that method, you could even build your own storage and make individual averages etc.
The simple trick is to use meteobridge to push the data to the php page ...
- make a page, say "wl.php"
- use this in the Push Servicess Page of meteobridge to push data to an "HTTP" the server running wordpress
- that page would not contain any html code rather than just a few lines of code in PHP disassembling the $_GET field
- writing a result-page in HTML that you could link into your wordpress page - say "weather.html"
Basically any web-server I know supports PHP and therefor can be used to collect & prepare the weather data. With that method, you could even build your own storage and make individual averages etc.
The simple trick is to use meteobridge to push the data to the php page ...
Re: How to use MeteoHub in Wordpress ?
Thanks for the advice and ideas!
I have found a plugin but I can't get it to work.
https://wordpress.org/plugins/meteohub/
I have found a plugin but I can't get it to work.
https://wordpress.org/plugins/meteohub/
Regards / Grüß,
Geert - ON1DQD
Geert - ON1DQD
Re: How to use MeteoHub in Wordpress ?
It doesn't seem like a good idea to run through all-sensors.txt on every display of the homepage. As jwka says, you can use multiple e.g. IFRAME plugins (I know IFRAME isn't good, but it works) and upload a html file with the data you wish to show.
Re: How to use MeteoHub in Wordpress ?
I mean you have TWO (three) different processes:
1.) "uploading" tha data from your meteobridge to the site that runs Wordpress
1.a) "formatting/writing" the data into a format the Wordpress Templates or finctions are able to use
2.) Having a Wordpress page/subpart to read your prepared data to make it visible within the website.
All I can help with is how to upload and format the data - that's the PHP part and relatively easy. I have no glue as how wordpress can read data from a file and render it to the browser. I could post the string you put into the meteobrisge push service and alspo the PHP code to acept it and write it to a file.
1.) "uploading" tha data from your meteobridge to the site that runs Wordpress
1.a) "formatting/writing" the data into a format the Wordpress Templates or finctions are able to use
2.) Having a Wordpress page/subpart to read your prepared data to make it visible within the website.
All I can help with is how to upload and format the data - that's the PHP part and relatively easy. I have no glue as how wordpress can read data from a file and render it to the browser. I could post the string you put into the meteobrisge push service and alspo the PHP code to acept it and write it to a file.
Re: How to use MeteoHub in Wordpress ?
Attached you'll find a HTML template which I received from someone on this forum. I'm uploading it to my Wordpress site and have the frontpage reference it via a IFRAME plugin.
- Attachments
-
- wetter_aktuell.zip
- (1.39 KiB) Downloaded 181 times
Re: How to use MeteoHub in Wordpress ?
<wir können vielleicht auch deutsch spechen ?>
Sorry, cannot help with that. As said, I have no glue about WOrdpress. The file shows that there seems to be data being populated inot the html template, but that seems to be done by Wordpress.
I my world, I would do as described in my recent post. To have a quick start to check if it pricipally would work, I can upload three things for you:
- a string you paste into the push service on your meteobridge (you have local access to it?)
- a php file that will collect tha data and stores it to a local file on your server
- a file with embedded PHP code to show one or two data points
If you set the update interval on your meteobridge to 5 seconds, you should very quickly see if there's a solution. Then we can finish and build your webpage according to the template.
Are you at all programming (html and/or PHP)?
Sorry, cannot help with that. As said, I have no glue about WOrdpress. The file shows that there seems to be data being populated inot the html template, but that seems to be done by Wordpress.
I my world, I would do as described in my recent post. To have a quick start to check if it pricipally would work, I can upload three things for you:
- a string you paste into the push service on your meteobridge (you have local access to it?)
- a php file that will collect tha data and stores it to a local file on your server
- a file with embedded PHP code to show one or two data points
If you set the update interval on your meteobridge to 5 seconds, you should very quickly see if there's a solution. Then we can finish and build your webpage according to the template.
Are you at all programming (html and/or PHP)?