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

Simplify profile configuration structure #7

Open
withjam opened this issue Jul 25, 2015 · 2 comments
Open

Simplify profile configuration structure #7

withjam opened this issue Jul 25, 2015 · 2 comments

Comments

@withjam
Copy link
Owner

withjam commented Jul 25, 2015

The profile.js is quite confusing and overly complex. Try to simplify it for easier customization.

@grtjn
Copy link

grtjn commented Sep 10, 2015

I copied over two examples into this factory instead. One tailored towards DBPedia, one towards MarkLogic. You can grab them as a default, and tweak them to your needs by only touching what needs touching. Can help keep code a little cleaner..

https://github.com/grtjn/ml-lodlive-ng/blob/master/src/ml-lodlive-profile-factory.js

But a +1 on simplifying them nonetheless.. ;-)

@gku11ava
Copy link

Some additional comments would be useful in the 2 example factories on what each property does would be useful. In particular, explanations on how to use nodeHover and docInfo functions or what the titleProperty/titleName/className properties do.

Also helpful would be to have an all-inclusive example that shows all the options/properties or list out the additional options that aren't available in the DBPedia or ML profile.

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

3 participants