Jump to content

Add image media content and enclosure tags to RSS (for Pinterest auto-publish)


Recommended Posts

Hello everybody :)

Pinterest provides the possibility of auto-publish Pins from  RSS feed, detailed description here.

Quote

 

We support RSS 2.* and RSS 1.* (RDF) formats. We currently don’t support Atom.
Make sure your RSS feed page content is in XML format.
Use a good quality image as your Pins will be taken from the <image>, <enclosure>, and <media:content> tags under each <item> tag.
Your Pin’s title and description will be created from the <title> and <description> tags under each <item>.
Each <item> requires a link to your claimed domain.

There are no <image>, <enclosure>, and <media:content> tags in the rss stream of the native Prestashop module "RSS products feed".

 

In search of a solution I found code for the wordpress rss, which seems to do exactly what needs, i.e. adds these tags to the rss-feed, the article
WordPress Add image media content and enclosure tags to RSS

Question for specialists: how to adapt this code for last version of Prestashop module "RSS products feed" ?
It looks easy - maybe someone will do it or have already done it?

Edited by giddy (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More