kga
kga_as_html.php
convert .kga garden files as .html fileskga_as_html.php is a php script converting .kga version 1 garden files as html.
it maybe be used with command line php or http php.
sample result with example.kga below
- one plant/square only, other plants are loaded yet not displayed.
- one or multiple years.
- html with pics, tables, tooltips
- html snippet without headers so it maybe be included in a site or another page.
- output on stdout.
Kitchen Garden Aid
gardening planner
Kitchen Garden Aid is a java program others are doing. It's a gardening planner.
a garden map is made with tiles, a garden each year. along the years some indications about rotation are displayed.
it has a sourceforge project page
installing
it can be used with php5 or php7. with php7, it was tested with php7.0 and php7.3 only.
-downloading kga_as_html.zip
unzip kga_as_html.zip
-adding a pictures drawer,
script will extract pictures out of the .kga and save them in the drawer.
if the result is to be accessed on the net drawer should a webserver served path.
mkdir /somepath/somepicturedrawer/
-extract Kitchen Garden Aid jar file, its content will be used.
mkdir kga/
cd kga/
unzip /home/local/softs/KitchenGardenAid.1.8.2.jar
============= CLI
1 . changing config in kga_as_html.php
2 . run program: php kga_as_html.php > /somepath/html_kga_garden_test.html
3 . check result with a browser url file:///somepath/html_kga_garden_test.html
============= HTTP
1 . changing config in kga_as_html.php
2 . copy kga_as_html.php in webserver path
3 . !! check pictures drawer perms should be ok with http server user !!
4 . check result with a browser
any years
2009
2010
|