Skip to content

Conversation

@TishoTM
Copy link

@TishoTM TishoTM commented Dec 9, 2015

No description provided.

@fl4p
Copy link
Owner

fl4p commented Dec 9, 2015

Seperating JS code is a good idea. But how does it support JSON API requests?

@TishoTM
Copy link
Author

TishoTM commented Dec 9, 2015

When JSON encoding the articles content, JS code inside the article breaks the JSON string and it becomes impossible to fetch the articles via RESTful API with JSON responses.

@fl4p
Copy link
Owner

fl4p commented Jan 13, 2016

Makes sense, but there have to be changed a lot more. What is your application for this, just curious?

@TishoTM
Copy link
Author

TishoTM commented Jan 15, 2016

I am mostly using the file browser view inside the articles. There might be other places in the codebase that need revision, but have not looked at those.
My particular use case is mobile app fetching the WP articles via api with JSON responses.

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

Successfully merging this pull request may close these issues.

2 participants