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

CSV to WordPress Core Block #52

Open
krishnathakurwp opened this issue Jan 20, 2024 · 3 comments
Open

CSV to WordPress Core Block #52

krishnathakurwp opened this issue Jan 20, 2024 · 3 comments
Labels
idea tool Related to migration/importing tools

Comments

@krishnathakurwp
Copy link

Many times, we come across web platforms that are not very popular. However, data can be exported in CSV or JSON format from these platforms.

Therefore, there is a need for a built-in solution that can convert CSV or JSON files into a core block. This would broaden the scope of data liberation.

@jordesign
Copy link
Collaborator

Hey @krishnathakurwp - this is a really interesting idea. Can you explain a little more about what you mean about it being turned into a core block?

@krishnathakurwp
Copy link
Author

Hi @jordesign

Let me explain this with an example.

I have worked for some of the schools who use their own custom CMS or LMS developed by some developer or local agency for storing various custom post types with custom fields. That CMS allows exporting data in structured format like CSV or JSON.

For example a school has a custom post type named Lesson Plan with various custom fields.
Now if a school wants to switch from their old CMS to WordPress so that they can create or edit their lesson plan using block editor then what is the solution?

My proposal is, there should be a native tool for WordPress which can map CSV data into WordPress Post using core blocks.

The workflow could be something like this.

  1. Export data from old CMS into CSV or JSON.
  2. Create a post category (or custom post type) named Lesson Plan.
  3. Create a custom post template using core blocks to display a single post for Lesson Plan.
  4. Upload & Map CSV data with core block attributes as per custom post template for lesson plan.
  5. Run the import process.
  6. Now enjoy editing your Lesson Plan inside the block editor.

This workflow can be applied to any type of data which can be exported into CSV or JSON.

@jordesign
Copy link
Collaborator

Hi @krishnathakurwp - just looping back to this idea and thinking on it a little more. I do know there are third-party plugins that do more specific mapping of CSV fields to post meta - but I'll leave this open as an idea for future consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea tool Related to migration/importing tools
Projects
None yet
Development

No branches or pull requests

2 participants