quickMockup
quickMockup copied to clipboard
save to codepen (or other sharing platform)
Save HTML and CSS to a code sharing platform via API
find/create/integrate
- [x] method to read out the needed HTML/CSS (possibly with cleaning out non-needed elements)
- [Post to prefilled Codepen(http://blog.codepen.io/documentation/api/prefill/) Documentation
- [x] method to build an API compatible JSON object
- [x] method to send it to the API
- [ ] method to display the URL the mockup was posted to
- [ ] UI design to activate upload and show URL
relates to/solves #4
it works. I hope. If you look at the code, there is some escaping magic (mess?) going on, but I got it working. If you get a 500 Error from Codepen it is most likely not their fault, but mine/ours.
It seems that the export to CodePen is broken.
Indeed it looks broken on https://jdittrich.github.io/quickMockup
destination url http://codepen.io/pen/define doesnt exist