Experts@Minnesota widget
The Experts@Minnesota widget is a tiny piece of javascript that can be pasted into any website to add a list of publications or people from Experts@Minnesota.
Basic Publications Examples
The following examples show common use cases. Simply copy the provided code and paste it into an HTML page where you want the publications to appear. See Customize for advanced examples.
Publications for an author
This example displays publications for an author. It can be used on faculty profile pages to show an author's recent works. The default styling for author results display the author's name and publication year in bold type.
Use the person lookup or contact expertsmnhelp@umn.edu to find an author's Experts@Minnesota identifier.
<script src="https://widget.experts.umn.edu/assets/v2.1/widget.js"></script>
<script type="text/javascript">
ExpertsWidget.displayPublications({
author: "e48727fb-c53e-449f-a413-4ff2475c4062", // Author's Pure/Experts@MN id
highlightedOnly: true, // Optional: only show highlighted publications
group: "publicationYear", // Optional: group by publication year
size: 10 // Optional: limit the number of results
});
</script>
Publications for an organization
This example shows publications that are associated with an organization in Experts@Minnesota. The default styling for organization results bolds the publication year and author names that are associated with the organization.
Use the organization lookup or contact expertsmnhelp@umn.edu to find an organizations's Experts@Minnesota identifier.
<script src="https://widget.experts.umn.edu/assets/v2.1/widget.js"></script>
<script type="text/javascript">
ExpertsWidget.displayPublications({
organization: "2db56085-27ed-460a-8037-aeef0fd38efa", // Pure/Experts@MN organization ID
group: "publicationYear", // Optional: group by publication year
size: 10 // Optional: limit the number of results
});
</script>
Basic People Examples
The following examples show common use cases. Copy the provided code and paste it into an HTML page where you want the list of people to appear. See Customize for advanced examples.
People for an organization
This example displays all people associated with an organization in Experts@Minnesota.
Use the organization lookup or contact expertsmnhelp@umn.edu to find an organization's Experts@Minnesota identifier.
<script src="https://widget.experts.umn.edu/assets/v2.1/widget.js"></script>
<script type="text/javascript">
ExpertsWidget.displayPeople({
organization: "2db56085-27ed-460a-8037-aeef0fd38efa", // Organization's Pure/Experts@MN id
group: "employmentType", // Optional: group by employment type
size: 10 // Optional: limit the number of results
});
</script>
People associated with a structured keyword
This example displays all people associated with structured keyword in Experts@Minnesota.
<script src="https://widget.experts.umn.edu/assets/v2.1/widget.js"></script>
<script type="text/javascript">
ExpertsWidget.displayPeople({
keyword_uri: "/dk/atira/pure/core/keywords/community/water_community", // Specify keyword by URI
custom_profile: "waternetwork", // Optional: use a custom profile instead of the default bio
group: "employment_type", // Optional: group by employment type
size: 10 // Optional: limit the number of results
});
</script>
People associated with a structured keyword AND limited to an organization
This example displays all people associated within an organization, and having a structured keyword in Experts@Minnesota.
<script src="https://widget.experts.umn.edu/assets/v2.1/widget.js"></script>
<script type="text/javascript">
ExpertsWidget.displayPeople({
keyword_uri: "/dk/atira/pure/core/keywords/community/water_community", // Specify keyword by URI
organization: "6d98b1a8-3c04-4664-8125-16e4a2771624", // Organization's Pure/Experts@MN ID
group: "employment_type", // Optional: group by employment type
size: 10 // Optional: limit the number of results
});
</script>