Codimd: Support import from Hackpad

Created on 26 Jan 2017  路  11Comments  路  Source: hackmdio/codimd

Once our inspiration and example - Hackpad begun corruption.
Some pads are missing or inaccessible.
Here is a good start to save them.

This won't be a easy job - their APIs are not reliable and keys are needed.
PRs Welcome 馃槃 .

feature invalid

All 11 comments

Also take a look at what Quip does. They provide a step-by-step UI to get this done.

@Yukaii Sounds great, could you paste some screenshots?

screen shot 2017-01-26 at 5 00 28 pm

screen shot 2017-01-26 at 5 00 37 pm

Not workspace

screen shot 2017-01-26 at 5 00 49 pm

Is workspace

screen shot 2017-01-26 at 5 01 14 pm

Yeah, I was thing how to tell user give us Client ID and Secret.
Provide a link is kind of intuitive 馃槃

Actually hackpad have export function, owner can choose "Export to Markdown" and will get a zip package from email. Maybe we can have .MD/.zip uploads first? we can write DIY instruction.

here is the export sample:
ethanol.hackpad.com.me4dHrdkbyg.sgjhWg1aKj.zip

@sakura26 It's surprisingly works better than its own API!
Hackpad sometimes will fail to response or response with glitch unicode when request for markdown.

And maybe we can do grouping with GroupName+UUID tags first, so it will have its own list page without modify code.

@sakura26 oh, that's somehow a good idea.

Request for the Markdown-zip-export hasn't worked for me, as far as I remember. We used to use Hackpad with a small team, so I bet I can get someone from the team to do a test-run.

The export to Markdown option produces markup that is not exactly map the Markdown spec, including but not limited to:

  • "Heading 1" style being translated as 2nd level header ## Markup
  • "Heading 2" style being translated as boldface **markup**
  • "Heading 3" style being translated as HTML <undefined><li>**markup**</li></undefined>
  • Every heading has trailing additional new line
  • Unordered list using * markup with additional space between the bullet character and content

We should convert to proper markup in the import process though

This is now invalid as Hackpad is no longer, right?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mxmo0rhuhn picture mxmo0rhuhn  路  3Comments

farleylai picture farleylai  路  5Comments

ccoenen picture ccoenen  路  4Comments

ccoenen picture ccoenen  路  4Comments

mxmilkiib picture mxmilkiib  路  3Comments