How to Display Articles from an RSS Feed on your Webflow Site

This post will teach you how to display articles from an RSS feed, why integrating RSS feeds can boost your site’s engagement, and how to set it up seamlessly in Webflow.

TABLE DES MATIÈRES
Ovidiu

How to Display Articles from an RSS Feed on your Webflow Site

Les registres des membres sont nécessaires

https://www.memberstack.com/scripts/rss-feeds

Tutoriel

Clonable

Click me

Pourquoi/Cas d'utilisation

-  Embed an RSS feed of your blog posts on your website or any other relevant feeds.

 Displaying articles from an RSS feed on a Webflow site

This guide will help you easily embed an RSS feed from your blog or any other website that provides RSS feeds.

To show articles from an RSS feed on your Webflow site, we’re going to use MemberScript #113 – RSS Feeds. Follow the link to get the code you’ll need to add to your page and watch a video tutorial on how to set everything up.

Setting it up

First, you’re going to need to build the layout for the posts (columns, rows, etc.) and style just one individual feed item using placeholders for the image, title, excerpt, date, and button.

Now select the wrapper that holds everything and add these attributes to it:

· ms-code-rss-feed=”” – leave the value blank

· ms-code-rss-feed-url=”URL TO RSS FEED” – this is where you add the actual link to the RSS feed

· ms-code-rss-limit=”9” – this limits how many posts it will pull from the feed

Now select the wrapper for the individual feed item that you styled earlier and add the following attribute to it:

· ms-code-rss-item=”” – leave the value blank

Next, select the placeholder image and add this attribute to it:

· ms-code-rss-image=”” – leave the value blank

Keep in mind that if the post has no featured image, it will just display your placeholder image, so make sure you use an appropriate image.

Moving on, select the title and add these attributes to it:

· ms-code-rss-title=”” – leave the value blank

· ms-code-rss-title-length=”40” – where 40 represents the character count limit for the title (you can change the value to whatever you want)

Next up, select the excerpt and add these attributes to it:

· ms-code-rss-description=”” – leave the value blank

· ms-code-rss-description-length=”150” – where 150 represents the character count limit for the description (you can change the value to whatever you want)

Now select the date and add the following attributes to it:

· ms-code-rss-date=”” – leave the value blank

· ms-code-rss-date-format=”short” – to display the date in numbers only

And finally, there’s the “read more” button which needs to have this attribute:

· ms-code-rss-link=”” – leave the value blank

You can make anything inside the feed item be a link (e.g. image) by just adding the same attribute to it, or you can make the entire item link to the post.

Making it work

Now that you’ve got everything set up in Webflow, all you need to do is add the MemberScript #113 custom code to your page, before the closing body tag.

Conclusion

That’s everything, you can now go ahead and test the RSS feed on your live site.

Si vous souhaitez utiliser notre projet de démonstration pour commencer, cliquez simplement sur le bouton ci-dessous pour l'ajouter à votre site Webflow.

Our demo can help you display articles from an RSS feed on your Webflow site.

Take me to Cloneable!

Ajoutez des adhésions à votre projet Webflow en quelques minutes.

En savoir plus

Plus de 200 composants Webflow clonables gratuits. Aucune inscription n'est nécessaire.

Voir la bibliothèque

Ajoutez des adhésions à votre projet React en quelques minutes.

Commencer
Qu'est-ce que Memberstack ?

Auth & paiements pour les sites Webflow

Ajoutez des logins, des abonnements, du contenu à accès limité, et plus encore à votre site Webflow - facile et entièrement personnalisable.

En savoir plus
Commencer à construire

Essayez Memberstack et découvrez ce que vous pouvez construire !

Memberstack est 100% gratuit jusqu'à ce que vous soyez prêt à vous lancer - alors, qu'attendez-vous ? Créez votre première application et commencez à construire dès aujourd'hui.