Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create csv to json uploader #82

Open
superjai opened this issue Jan 24, 2025 · 1 comment
Open

Create csv to json uploader #82

superjai opened this issue Jan 24, 2025 · 1 comment
Assignees

Comments

@superjai
Copy link
Contributor

Hey @robbiecarroll. Let's get started on thinking about Javascript figures in WordPress. First step in that journey? Getting the data files into WordPress. The data uploader will take the place of the following placeholder in the Figures form:

Image
  1. The data format of the incoming file should be csv with a header row.
  2. In your process, you should convert the uploaded csv file to a json file.
  3. That json file should be saved in the following location: wp-content/data/instance-slug/file-name.json
  4. Delete the original uploaded csv file when the json file is in place.
@superjai
Copy link
Contributor Author

Here is documentation on using phpDocumentor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants