| [21:57:23] | * JustTB has quit (Quit: Leaving.) |
| [03:44:13] | <skipper_is[m]> | Is there an easy way of dumping all the records/assets to a file? Aside from exporting the database, and saving the pages as a CSV, which doesn't seem to get the notes |
| [03:53:30] | <skipper_is[m]> | I guess easiest would probably be use FarmOS.py to iterate through all the logs.. |
| [04:10:10] | * JustTB has joined #farmos |
| [04:46:49] | * JustTB has quit (Quit: Leaving.) |
| [05:18:00] | * JustTB has joined #farmos |
| [07:42:23] | <mstenta[m]> | <skipper_is[m] "I guess easiest would probably b"> Yea that's probably your best bet |
| [07:42:35] | <mstenta[m]> | Or even easier |
| [07:42:55] | <mstenta[m]> | Just go to /log.json or /farm_asset.json |
| [07:43:26] | <mstenta[m]> | Those are the API endpoints that farmOS.py uses |
| [07:43:37] | <mstenta[m]> | They have all logs and assets in JSON format |
| [07:44:33] | <mstenta[m]> | Another option is to build your own custom View by cloning the asset/log listing pages that farmOS comes with and modifying them |
| [07:44:54] | <mstenta[m]> | That would allow you to build a custom CSV exporter |
| [07:45:38] | <mstenta[m]> | But if you're already comfortable with farmOS.py that might be easier for you |
| [07:45:58] | <mstenta[m]> | Views in Drupal are super powerful but have a learning curve |
| [18:39:25] | * FijiDave_ has joined #farmos |
| [18:41:02] | * FijiDave has quit (Ping timeout: 276 seconds) |
| [18:45:25] | * JustTB has quit (Read error: Connection reset by peer) |
| [18:45:33] | * JustTB has joined #farmos |