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

Automatic link enhancement #10

Open
loleg opened this issue Jan 4, 2020 · 0 comments
Open

Automatic link enhancement #10

loleg opened this issue Jan 4, 2020 · 0 comments

Comments

@loleg
Copy link
Member

loleg commented Jan 4, 2020

While the current widget is relatively easy to get started it, the idea of having to put div tags and other HTML somewhere in their content is rather daunting for users. I have been thinking that a better way to go would be to just include the script in the CMS, and then pick up plain search links in the page content as targets for the widget. Perhaps they would need to be suffixed with #ckanembed or so, but this would dramatically improve the user experience. And it would truly take advantage of having an in-line widget, rather than the safer alternative of an IFRAME or so. We could also then consider creating an additional mode for decorating links to specific datasets (e.g. on hover).

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