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

WordPress Importer #79

Closed
themsaid opened this issue Nov 19, 2018 · 15 comments
Closed

WordPress Importer #79

themsaid opened this issue Nov 19, 2018 · 15 comments

Comments

@themsaid
Copy link
Owner

It would be great if we can have a tool to import Authors/Tags/Pages/Posts from WordPress. Don't have clear goal for this yet but hoping you guys can help :)

@justsanjit
Copy link
Contributor

I might able to help. Any ideas on how we can implement this feature ?

@Reflow1319
Copy link

We can use this package to handle excel and XML file imports

https://github.com/Maatwebsite/Laravel-Excel

@diaafares
Copy link
Contributor

I started working on this feature, will share with you some details soon!

@shellprog
Copy link

@diaafares need extra hand ? let me know.

@diaafares
Copy link
Contributor

@shellprog Currently I finished about 70% of the job, I will publish my work at GitHub in the coming few days (Maybe tomorrow but no promise), then you can take a look and any improvement is welcomed ☺️

@shellprog
Copy link

Thanks 👍

@diaafares
Copy link
Contributor

@themsaid @shellprog Here is the first proof of concept release, it has the main functionalities but of course it need many imporvements, please take a look guys:
https://github.com/diaafares/wink-wp-import

@Reflow1319
Copy link

@diaafares

I was thinking of a GUI approach rather than a command line would be best

This is the controller I whip up, but I don't have much experience with Vue. if anyone can make the Post and Pages Import Vue and use my controller that be awesome. I will continue to improve the import controller.

https://gist.github.com/Reflow1319/6c28f99795c35bf0369f4cc3c545ce78

screen shot 2018-12-03 at 10 59 17 pm

@diaafares
Copy link
Contributor

@Reflow1319
I discussed this with @themsaid before I start working at this feature and he prefer the Command line approach and make it a separate package rather than integrate it in Wink.

Anyway, Thanks for your efforts :)

@Reflow1319
Copy link

@diaafares ok, I understand about it being a separate package, but would it be possible for your package to include an XML import option? I feel this would make it more accessible to some WordPress users that would consider moving to wink.

@dakira
Copy link

dakira commented Jan 2, 2019

If you're already building this, keep in mind the import of existing comments. IMO a comment system is a must-have in a blog and it should be built-in, so maybe plan for that. :)

@bearcodi
Copy link

@diaafares @themsaid what about using the WordPress JSON API? I could play around with something to see if that might be a more seamless experience for the user.

Would take out the export and upload steps.

@vishal-sancheti
Copy link

@diaafares created diaafares/wink-wp-import which is the best solution available so this can be closed.

@diaafares
Copy link
Contributor

diaafares commented Mar 5, 2019

@Reflow1319 & @bearcodi Before I start the implementation of the package, I asked @themsaid which way he prefers, he told me that he prefer Command line approach with connecting directly to the database, but thank you all for your suggestions :)

@bearcodi There is no "export and upload steps" in my package, just add your WB database to config, the package connect directly to it and read the WB database data and insert it directly to Wink DB.
Please take a look at the repo:
https://github.com/diaafares/wink-wp-import

@dakira
Copy link

dakira commented Mar 15, 2019

@diaafares @themsaid so maybe merge this into wink?

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

8 participants