Follow

Importing RSS Feeds

Importing Feeds from Pugpig on Vimeo.

Pugpig Express can import your content directly from a standard RSS feed. Find out how below.

Note: Express supports the W3 RSS Standard fields out of the box, so any feed that adheres to this is good to go.  (n.b. You can see a full list of the standard fields here, specifically in the Element of <item> section). Pugpig Professional, Connect or Toolkit customers can also use RSS but can also support custom feed imports.

 

Example feed

You need a standard full fat feed.

Here is an example feed:

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
<channel>
<title>Pugpig RSS Feed</title>
<link>http://pugpig.com/feed/link>
<description>Content from Pugpig.com</description>
<language>en-gb</language>
<item>
<title>Example Post 1</title>
<link>http://www.pugpig.com/story1.html</link>
<description>Lorem ipsum. Aliquam faucibus felis sed maximus rhoncus. Curabitur placerat, ipsum eu commodo pretium, tortor diam congue ligula, vitae porta eros velit ut massa. Etiam pretium ipsum vel tempor vulputate.</description>
<category>News</category>
<pubDate>Wed, 16 Sep 2015 13:47:56 GMT</pubDate>
<media:description>My image description</media:description>
<media:thumbnail url="http://post.pugpig.com/wp-content/uploads/2015/09/VW-wideBIG-thumb.jpg" width="90" height="60" />
<media:content type="image/jpg" url="http://post.pugpig.com/wp-content/uploads/2015/09/VW-wideBIG.jpg" />
<dc:creator>John Smith</dc:creator>
</item>

Setting up a Feed 

Setting up Field Mapping in Express is straightforward, and is done via the ‘Syndicated’ tab on the left hand menu.  Click on this tab and you will see this page (no feeds currently set up):

Enter the address of the feed in the box on the top right and click add.  Click Use this Feed on the Next page to add the feed to the list.  You should now see this:




If you move your mouse over the item several links will appear below the title.  Click on the Posts tab.

 

Scroll down till you see this tab:

This is where we will do the field mappings.  For each field we want to map to we will need to enter the field name from the feed and the equivalent field in express.  Express fields include:

 

rss_title, rss_author, rss_author_headshot_url, rss_footer, rss_standfirst, rss_slug, rss_main_image_url, rss_main_caption(main image caption) and rss_main_credit(main image credit).

 

You will have to enter these one by one and save after each new field you map.  Using the example feed as an example, we get:

Now that the fields are mapped, we can start to import content.  Scroll back to the top of the page and click ‘Update Now’.  The contents of the feed should be pulled in and added as articles.  There will be a confirmation message to this effect detailing the number of items added.

Now if you go to your articles you should see the feed items there.  They will be ordered by date according to the feed, so will not necessarily all be in a clump together on the first page.  On the POC site, they appeared for me at the bottom of the second:


Now if we look at an article we should see the main content in the body, the title, etc filled out for us.

On some occasions we have an issue where some fields are not filled out on the first try.  e.g.:


Since we mapped the image field we would expect to see the image here.  Click update on the page as if you were editing it to refresh it.  (update though do not refresh).



The main image will now show up, along with any other feed items that should have been filled out.

That’s it!

Note that you can only have one copy of a feed article in the system at any one time.  If you set up a feed, test it, change something in the feed mapping then re import, you must delete imported articles first.  This is done via the article management screen.  Move them to the bin then EMPTY the bin as well.

Taxonomy Mapping

It is also possible to map taxonomy or tags from your feed onto your content in Express. This is done from the Categories panel in the syndication tab.


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk