WiscWeb - WordPress UW Theme - Using RSS Feeds for PubMed Publications
Though the UW Publications plugin does not allow the ability to import publications from PubMed, the RSS feed functionality within the UW Theme is a suitable replacement. This document will show you how to find and input the appropriate elements to make it work.
Finding the PubMed RSS Feed
Your first step in this process is to find the appropriate list of publications for a particular individual.
- Either go directly to a specific publication of a person, or navigate to PubMed at https://pubmed.ncbi.nlm.nih.gov/.
- Within the article, click on the name of the individual you want to do a broader search for.
- You will be brought to a list of publications associated with the individual that you clicked on. At the top of the page, click on the Create RSS link.
- Give the feed that you are creating a name, as well as the number of items to display. Once those are set, click the Create RSS button.
- Once it's been created, you'll want to leave this browser window open as you'll need this URL to paste into the RSS feed code used on a WiscWeb page later.
Adding the RSS Feed to a Page
Before proceeding, you will need the RSS embed shortcode found here: WiscWeb - WordPress UW Theme - Embedding RSS Feeds
The RSS embed code that you will need to use is:
[uw-rss-feed url="https://urlgoeshere.com" title="Title of RSS Feed" description="Description of RSS Feed" more-link="https://urlgoeshere.com" max-posts="x"]
Using the RSS embed shortcode with this example, your Text Area should look similar to this code:
[uw-rss-feed url="https://pubmed.ncbi.nlm.nih.gov/rss/search/1bg2GVePA8Ty-KMcxl3xl0HIVFWObVo9VtRX_DJqVuZ40rGklz/?limit=5&utm_campaign=pubmed-2&fc=20210224111055" title="AJ Romanowsky Publications" description="PubMed listing of publications by AJ Romanowsky" more-link="https://pubmed.ncbi.nlm.nih.gov/?term=Romanowsky+AJ&sort=pubdate" max-posts="5"]
Once your feed is placed, and you have clicked Update to commit your changes, view your page and you should see that your listing is now present. Please note that the max-posts option has a maximum value of 15.
- WiscWeb cannot guarantee the accuracy of the PubMed listings.