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

Display topics and entities discovered by MICO #5

Open
ziodave opened this issue Dec 16, 2016 · 6 comments
Open

Display topics and entities discovered by MICO #5

ziodave opened this issue Dec 16, 2016 · 6 comments

Comments

@ziodave
Copy link
Member

ziodave commented Dec 16, 2016

See insideout10/mico-gateway#1

@ziodave ziodave self-assigned this Dec 17, 2016
@ziodave
Copy link
Member Author

ziodave commented Dec 17, 2016

We can display topics and entities in the attachment window popup, Media Library, above the embed code:

image

@ziodave
Copy link
Member Author

ziodave commented Dec 17, 2016

In class-helixware-template-service.php (around ln 300) we can extend the current HelixWare call to load additional data from MICO using an AJAX call.

@ziodave
Copy link
Member Author

ziodave commented Dec 18, 2016

However we need the attachment GUID in order to query the remote service.

@ziodave
Copy link
Member Author

ziodave commented Dec 18, 2016

The GUID is in the form of http://cloud-test.helixware.tv/api/assets/xyz and it's already set by the HelixWare plugin for WordPress.

@ziodave
Copy link
Member Author

ziodave commented Dec 18, 2016

Now we can get topics using http://wordpress/wp-admin/admin-ajax.php?action=hx_topics&id=60785

@ziodave
Copy link
Member Author

ziodave commented Dec 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant