violet_rails icon indicating copy to clipboard operation
violet_rails copied to clipboard

allow importing Notion HTML dump to create CMS pages

Open donrestarone opened this issue 2 years ago • 0 comments
trafficstars

Is your feature request related to a problem? Please describe.

When I write on notion, and want to bring that page to my Violet Rails site. Screen Shot 2023-02-25 at 11 58 48 AM

Describe the solution you'd like

export HTML from Notion:

Screen Shot 2023-02-25 at 11 59 05 AM

upload it to Violet Rails, by clicking a New From HTML Dump button and:

Screen Shot 2023-02-25 at 12 01 42 PM Screen Shot 2023-02-25 at 12 05 05 PM

Violet takes the folder:

Screen Shot 2023-02-25 at 11 59 17 AM
  1. creates a CMS page out of the Markup
  2. takes note of the file naming convention, and relative paths that link to assets
  3. loops through the assets, uploads them as Files
  4. changes the links to the assets in the files to CMS Files
  5. redirects the user to the newly created page

donrestarone avatar Feb 25 '23 17:02 donrestarone