Create me a JavaScript that runs on HTML
Budget: $10 – $30 USD
The aim is to find string and replace it with html code.
Basically lets say we have publications listed in a personal html page and we want to do the following.
Author 1 orcid = 0000-0001-0002-0003
Author 2 orcid = 00001-0001-0002-0004
Publication 1: Author 1 name, Author 2 name
Publication 2: Author 2 name, Author 1 name
If find author 1 name replace with Author 1 name and orcidID icon and href
If find author 2 name replace with Author 2 name and orcidID icon and href
Code for showing orcidid icon with link :
<a href="https://orcid.org/0000-0001-5727-2427">
<img alt="ORCID logo" src="https://info.orcid.org/wp-content/uploads/2019/11/orcid_16x16.png" width="16" height="16" />
</a>
Basically lets say we have publications listed in a personal html page and we want to do the following.
Author 1 orcid = 0000-0001-0002-0003
Author 2 orcid = 00001-0001-0002-0004
Publication 1: Author 1 name, Author 2 name
Publication 2: Author 2 name, Author 1 name
If find author 1 name replace with Author 1 name and orcidID icon and href
If find author 2 name replace with Author 2 name and orcidID icon and href
Code for showing orcidid icon with link :
<a href="https://orcid.org/0000-0001-5727-2427">
<img alt="ORCID logo" src="https://info.orcid.org/wp-content/uploads/2019/11/orcid_16x16.png" width="16" height="16" />
</a>