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

[FR] Import a page from the zip file provided by Notion #2911

Open
Mukund-Tandon opened this issue Jun 29, 2023 · 4 comments · May be fixed by #3146
Open

[FR] Import a page from the zip file provided by Notion #2911

Mukund-Tandon opened this issue Jun 29, 2023 · 4 comments · May be fixed by #3146
Assignees
Labels
2024 importer migrate data from other applications or sources new feature New feature or request

Comments

@Mukund-Tandon
Copy link
Contributor

Description

When we export a page from Notion we get a zip file, which contains a markdown file with all the page contents and another folder having all the assets of the page like images.

Screenshot 2023-06-29 at 5 41 09 PM

In the import panel, there should be an option for importing from Notion. Then, we should have options to select what we want to import, such as pages, boards, grids, or calendars. When the user clicks on "pages" they should be able to select the zip file and import their page from there.

Impact

Any user who wants to import a page from Notion

Additional Context

No response

@Mukund-Tandon
Copy link
Contributor Author

I would like to work on this issue

@annieappflowy annieappflowy added importer migrate data from other applications or sources new feature New feature or request labels Jun 29, 2023
@LogicFan
Copy link

i think it would be better to fetch notion raw data using notion public api instead of using exported markdown since some info will be missing with exported markdown.

@Mukund-Tandon
Copy link
Contributor Author

i think it would be better to fetch notion raw data using notion public api instead of using exported markdown since some info will be missing with exported markdown.

I think we can also implement fetching data from the Notion API along with the zip file. Since the Notion API does not provide the complete workspace, we need to use the export workspace option, which gives us a zip file. This issue is a prerequisite for that step.

Additionally, could you please let me know what things are missing with the exported markdown so that I can handle those cases appropriately?

@LogicFan
Copy link

LogicFan commented Jul 5, 2023

i think it would be better to fetch notion raw data using notion public api instead of using exported markdown since some info will be missing with exported markdown.

I think we can also implement fetching data from the Notion API along with the zip file. Since the Notion API does not provide the complete workspace, we need to use the export workspace option, which gives us a zip file. This issue is a prerequisite for that step.

Additionally, could you please let me know what things are missing with the exported markdown so that I can handle those cases appropriately?

one example would be "Notion pages that contain parentheses or dashes in the title will have them removed by Notion while exporting your data so the file will be created without them, even though the link itself will still retain them." as quoted from an opensource implementation of notion2obsidian converter.

@annieappflowy annieappflowy modified the milestones: v0.3.2, v0.3.1, v0.3.3 Jul 29, 2023
@Mukund-Tandon Mukund-Tandon linked a pull request Aug 8, 2023 that will close this issue
4 tasks
@annieappflowy annieappflowy modified the milestones: v0.3.3, v0.3.7 Oct 13, 2023
@annieappflowy annieappflowy modified the milestones: v0.3.7, v0.3.8 Nov 3, 2023
@annieappflowy annieappflowy modified the milestones: v0.3.8, v0.4.0 Dec 25, 2023
@annieappflowy annieappflowy removed this from the v0.4.1 milestone Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2024 importer migrate data from other applications or sources new feature New feature or request
Projects
Status: Todo
3 participants