![]() Edit: This is an interesting option to find/replace once the raw data is in Discourse. I’m an experienced Linux user and I’ve worked off and on with regexp, but I’m still not good at it. Suggestions or solutions would be welcome. So I’ve thought about just doing some kind of offline find/replace on the database dump file with sed, similar to what is described here. I’ve looked for Drupal modules to convert the format of existing posts, but I only found this, which doesn’t support batch processing for the massive amount of posts, and it doesn’t support the Drupal “comments” paradigm, which make up the vast majority of the “posts” that need to be converted. I have been told that Pandoc can be hooked into the migration script, but that it would also massively increase the migration time. If possible I would like to convert the Textile posts to HTML or Markdown, whatever is easier. I understand that the migration script can handle pure HTML (please correct me if I’m wrong) but not Textile.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |