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

Add support to upload directly to google docs #38

Open
tripodsan opened this issue Nov 19, 2022 · 5 comments
Open

Add support to upload directly to google docs #38

tripodsan opened this issue Nov 19, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@tripodsan
Copy link
Contributor

For customers that use google drive as content source, it would be useful if they could upload directly to google docs instead of creating the docx first.

  • the importer creates a gdocs json
  • the client side has a mechanism to allow the user to login to google
  • the client would upload the json via the google doc api
@tripodsan tripodsan added the enhancement New feature or request label Nov 19, 2022
@kptdobe
Copy link
Contributor

kptdobe commented Nov 23, 2022

To be tested but I assume you could mount gdrive locally and write there. This would delegate to gdrive the upload / sync back which can be tricky: during a large import, you need would to make sure the documents are properly uploaded, retry if it fails... makes things just a lot more complicated.

@tripodsan
Copy link
Contributor Author

and what content do you write to your local google docs? I think it's better to upload directly to gdrive during the import.

@kptdobe
Copy link
Contributor

kptdobe commented Nov 23, 2022

I just tested and the auto docx-gdoc conversion does not happen via gdrive. My proposal does not work then.

@hsaginor
Copy link

hsaginor commented Dec 1, 2022

This works using gdrive web interface. Basically just (1) import documents locally and (2) upload the root imported folder using web interface instead of desktop gdrive. Still this would be a nice feature.

@kptdobe
Copy link
Contributor

kptdobe commented Dec 2, 2022

Correct. And with a large import, you probably do not want to use this feature: if you are processing 75k urls, the direct upload to gdrive will slow down the process, if process is too fast you might hit the API rate limit, the upload might fail and break the import process...
I personally prefer to import the files on my local file system so that I can upload them manually at the end of the import process. If something goes wrong, I still have the files locally.

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

No branches or pull requests

3 participants