Create, Load and Save client_id and client_secret
1 2 3 4 5 | mdl_conf_new()
mdl_conf_save(client_id, client_secret, where = ".mendeley_conf.json")
mdl_conf_load(where = ".mendeley_conf.json", try_env = TRUE)
|
client_id |
The client id given by Mendeley when you create an app at http://dev.mendeley.com/myapps.html |
client_secret |
The client secret given by Mendeley when you create an app |
where |
File name where mendeleyr will store the client_id and client_secret |
try_env |
Try loading parameters from OS environment variables |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.