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

persist and maintain arbitrary front matter on import #259

Open
Tracked by #247
cloverich opened this issue Oct 13, 2024 · 0 comments
Open
Tracked by #247

persist and maintain arbitrary front matter on import #259

cloverich opened this issue Oct 13, 2024 · 0 comments

Comments

@cloverich
Copy link
Owner

cloverich commented Oct 13, 2024

#134 implements basic support for importing a Notion export which is nearly the same as #132, excepting a few notion specific things (like the ids in titles) and a potential lack of generalization. It is also the first attempt to import anything at all and is done in experimental fashion. One issue I ran into was some of my exported documents have arbitrary front matter, structured like this:

# Guilded

Link: <https://www.guilded.gg/jobs/full_stack_engineer>
Gist: Gaming comunity
Full stack role
I like the tech but consumer focused 
rank: 2
stage: precontact

...note content (or not) here

Base support for importing notion was to grab the documents, titles, note links, images, etc. But I don't have the concept of arbitrary front matter support yet, but also don't want to just drop this information, or dump it into the body without use. Instead, if its straight forward enough, it would be great to allow for arbitrary front matter; although Chronicles doesn't do anything with it yet (if it does, will be done here: #127) maintaining it would allow for future use and avoid wiping it.

  • Parse front matter from the document
  • Stuff it into a JSON column
  • When document write is called, merge it into the generated front matter
@cloverich cloverich mentioned this issue Oct 13, 2024
16 tasks
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

1 participant