Transform Notion Pages into Component Props
HTML-код
- Опубликовано: 5 июл 2024
- I take a JSON file that exported content from a Notion database, and build an opinionated mapping system, so that we're left with a JSON object that can be used as page and component properties in any site framework.
This unlocks Notion's potential to serve as a CMS for more complex websites.
Code Example: github.com/seancdavis/notion-...
00:00 Introduction
01:16 Setting up the Script
01:42 Check for Export File
02:00 Parse JSON Export
02:16 Set Up Transformation
04:46 Paragraph Block Map
06:24 Base Callout Block Mapping
08:30 Tabs Resolver
10:53 Code Block Resolver
13:14 Closing
Notion Video Series:
1. Using Notion as a CMS for Complex Websites:
• Using Notion as a CMS ...
2. Get Notion Databse ID Using Developer API: • Get Notion Database ID...
3. Export Notion Database Page Content: • Export Notion Database...
4. Transform Notion Pages into Component Props: • Transform Notion Pages...
#notion #components #cms #webdevelopment - Наука
Amazing video-series. Thank you!
thanks for this! Is there a chance where you can make a setup tutorial for svelkit + notion? I'm a bit of a beginner so I really need something to watch on
Thank you, Sean, for this very comprehensive series! I'd learned a lot!!!
Hey Davis
This is some really good work. Thank you for the time and effort taken into putting this up.
Congratulations G