Title: Execute command in browser &#8211; with href?
Last modified: November 30, 2017

---

# Execute command in browser – with href?

 *  [follesdal](https://wordpress.org/support/users/follesdal/)
 * (@follesdal)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/execute-command-in-browser-with-href/)
 * I want to add a ‘Download reference citation’ function (in the RIS or EndNote
   format, for those who are interested…) to each of my publications so that those
   who want can import the details into their own bibliographical software ; I thought
   something like the following should work but the href function fails: what should
   I use instead?
    `<a href="application/x-Research-Info-Systems;charset=utf-8,TY%
   20%20-%20BOOK%0ATI%20%20-%20Test %0AAU%20%20-%20Follesdal %2C%20Andreas%0AY1%
   20%20-%202016%2F%2F%2F%0APB%20%20-%20Entelequia%20y%20Grupo%20Eumed.net%20(Universidad%
   20de%20M%C3%A1laga)%0AAB%20%20-%20This%20is%20a%20test.%0AER%20%20-%20"> [Cite
   RIS/EndNote]</a>`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexecute-command-in-browser-with-href%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/execute-command-in-browser-with-href/#post-9753885)
 * Sorry for the slow reply. I’m not sure what a proper EndNote reference is supposed
   to be, but from your example, it looks like your link should lead to a WP page
   that uses a custom template to deliver the required content as plain text. The
   link to this page could include the relevant post or page ID as an URL parameter,
   which tells the page template code where to get the data that it should send 
   out.
 * A possible variant would be the link merely launches a modal that contains the
   plain text EndNote content. These modals would be part of your page’s regular
   content, but hidden by CSS. JS would alter CSS to expose the content, then hide
   it again when OK or X is clicked.

Viewing 1 replies (of 1 total)

The topic ‘Execute command in browser – with href?’ is closed to new replies.

## Tags

 * [citation](https://wordpress.org/support/topic-tag/citation/)
 * [command line](https://wordpress.org/support/topic-tag/command-line/)
 * [execute](https://wordpress.org/support/topic-tag/execute/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/execute-command-in-browser-with-href/#post-9753885)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
