Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/richardcoffee/master-nodelist
A specialty wordpress plugin that imports from, and exports to, an excel spreadsheet.
https://github.com/richardcoffee/master-nodelist
database excel import-and-export spreadsheets wordpress wordpress-plugin
Last synced: 17 days ago
JSON representation
A specialty wordpress plugin that imports from, and exports to, an excel spreadsheet.
- Host: GitHub
- URL: https://github.com/richardcoffee/master-nodelist
- Owner: RichardCoffee
- License: gpl-3.0
- Created: 2018-04-23T02:10:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-06T19:06:12.000Z (over 3 years ago)
- Last Synced: 2024-10-17T08:50:02.393Z (about 1 month ago)
- Topics: database, excel, import-and-export, spreadsheets, wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 3.46 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Master-Nodelist
This is a wordpress plugin written in anticipation of getting a particular contract. I didn't get the contract, but that wasn't the plugin's fault. Other events intervened, and ... well, you know ... sh*t happens.
I had gone ahead and written the plugin because of the import/export spreadsheet aspect of it. I had not worked with [PHPSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet) before and was eager to see what I could do with it. I was pleasantly surprised about how easy it was to work with, in spite of the somewhat spotty coverage of the documentation. Actually, it has far better documentation than I had originally expected, but it never seemed to have what I was looking for in one place. And the examples all seemed a little simplistic, not a real world example in any of them. In that vein, the code reading the spreadsheet is in [classes/Form/Workbook.php](https://github.com/RichardCoffee/Master-Nodelist/blob/master/classes/Form/Workbook.php), in the import_nodelist method, and the code writing to a spreadsheet is in [classes/Plugin/Nodelist.php](https://github.com/RichardCoffee/Master-Nodelist/blob/master/classes/Plugin/Nodelist.php), in the write_spreadsheet method. The latter file also contains code emailing the exported spreadsheet to a user, in the email_spreadsheet method.
In the end, I decided to go ahead and make the code available here on github. If you find that the code here helps you out on one of your projects, I just ask that you add a link to this repository in a code comment within your project. It is something I try to do when other people's code helps me out.