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

save to codepen (or other sharing platform) #24

Open
3 of 5 tasks
jdittrich opened this issue Jan 20, 2016 · 4 comments
Open
3 of 5 tasks

save to codepen (or other sharing platform) #24

jdittrich opened this issue Jan 20, 2016 · 4 comments

Comments

@jdittrich
Copy link
Owner

Save HTML and CSS to a code sharing platform via API

find/create/integrate

  • 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
  • method to build an API compatible JSON object
  • 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
@jdittrich
Copy link
Owner Author

relates to/solves #4

@jdittrich
Copy link
Owner Author

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.

@ldidry
Copy link

ldidry commented Sep 11, 2018

It seems that the export to CodePen is broken.

@JLuc
Copy link

JLuc commented Nov 8, 2019

Indeed it looks broken on https://jdittrich.github.io/quickMockup

destination url http://codepen.io/pen/define doesnt exist

@jdittrich jdittrich reopened this Nov 17, 2019
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

3 participants