Mass File Import from Markdown? (hugo, etc) #72
Replies: 2 comments
-
|
Maybe @kandr3s has some script for this? If not and you don't mind writing some scripts, maybe make use of the Micropub endpoint. Also the editor is just a simple frontend to the micropub endpoint. You can put your post parameters (frontmatter) in the content at the start and it will be parsed. |
Beta Was this translation helpful? Give feedback.
-
|
I already built a basic importer for the CLI, it can be improved but it jut works. Hmm hadn't thought of the micropub endpoint, good idea. This would be intersting as to convert/upload an already existing project and can open some interesting usecases. THe issues I had with the cli approach is that there was an error based on the markdown title with a sort of sigfault due to a pointer not existing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
UPDATE: I was seeking if anyone had written an utility to import posts form markdown (hugo).
I eventually built a CLI extension for goblog but it raises an null exception after 1-2 imports due to how goblog processes markdown titles, So I run it in a loop to import asciidoctor and markdown articles
If anyone is interested, leave a comment here or on my website.
I may look into the issue & probably publish the code as I get some extra time.
Beta Was this translation helpful? Give feedback.
All reactions