CumulusMX via Wordpress
Posted: Tue 01 Aug 2017 3:39 pm
Hey All,
Just wanted to share some of the work I've been doing utilizing CumulusMX to run my PWS and wanting to integrate it into my website, which runs on Wordpress.
You can see the current results, which is still missing a few of the default CumulusMX pages here: https://www.aweathermoment.com/pws/glenwood/
It's been a bit of work as I've also wanted to utilize my existing Bootstrap 3 based theme for the display. I'm pretty happy with it so far. My general process was to first create some custom JSON-based templates for Cumulus to upload to my server that contains the weather information. I then created page-pws-*****.php templates in my Wordpress theme to utilize for the various views. After that, I set up a new page type in my Wordpress theme, with custom metadata for things like data location, site name, site location, and a few other things.
I've arrived at a fully templated CumulusMX display. Come this fall, another person in Winnipeg will be using my site to share their information and all I'll have to do is get them uploading to their own folder, then I create a few pages in the Wordpress GUI and fill out the correct metadata and voilĂ , a new site being displayed. One of the biggest benefits to this templating process is that if I want to adjust how something is displayed, I simply change it in the page template and all PWS pages on my site will immediately get the adjustments; simple for me, simple for others who will share on it.
I plan on adding the complete records soon as well as that nice dayfile table display (which will take a bit of doing to translate into Wordpress/bootstrap). But for now, I have a relatively complete CumulusMX display that is Wordpress-templated and migrated to the Bootstrap 3 framework.
Just wanted to share some of the work I've been doing utilizing CumulusMX to run my PWS and wanting to integrate it into my website, which runs on Wordpress.
You can see the current results, which is still missing a few of the default CumulusMX pages here: https://www.aweathermoment.com/pws/glenwood/
It's been a bit of work as I've also wanted to utilize my existing Bootstrap 3 based theme for the display. I'm pretty happy with it so far. My general process was to first create some custom JSON-based templates for Cumulus to upload to my server that contains the weather information. I then created page-pws-*****.php templates in my Wordpress theme to utilize for the various views. After that, I set up a new page type in my Wordpress theme, with custom metadata for things like data location, site name, site location, and a few other things.
I've arrived at a fully templated CumulusMX display. Come this fall, another person in Winnipeg will be using my site to share their information and all I'll have to do is get them uploading to their own folder, then I create a few pages in the Wordpress GUI and fill out the correct metadata and voilĂ , a new site being displayed. One of the biggest benefits to this templating process is that if I want to adjust how something is displayed, I simply change it in the page template and all PWS pages on my site will immediately get the adjustments; simple for me, simple for others who will share on it.
I plan on adding the complete records soon as well as that nice dayfile table display (which will take a bit of doing to translate into Wordpress/bootstrap). But for now, I have a relatively complete CumulusMX display that is Wordpress-templated and migrated to the Bootstrap 3 framework.