Hello,
I am trying to build a custom email with an external RSS Feed but I have some questions.
I know that the rss_listing is using javascript to get the content from the external Feed but my questions is the follwoing: If I am using Javascript to style the content returned by rss_listing, that will run inside the email sent to the client or the client will get only the final, generated HTML?
Thank you!
Hi @RobertBardan
Thanks for the great question!
@Anton, have you built something similar to this?
Thank you! — Jaycee
Hi @RobertBardan,
using JavaScript in emails will most likely lead to blocklisting your sending domain in almost every client since JavaScript is a big “no no” for emails
Also - why would you use JS for styling?
But nontheless - you can go several ways.
A few of them would be:
1. Using the default RSS functionality of a new email
2. Import the RSS feed into a new and “invisible” blog and get the informations right out of this blog.
2. Build a custom HubDB module and upload the RSS file everytime you want to update the HubDB as CSV manually
3. Build a custom HubDB API connection which will update the HubDB automatically everytime the RSS feed is updated
hope this helps
best,
Anton
Thanks for your insight, @Anton ![]()
— Jaycee
Hello @Anton. Thank you for taking time to answer.
I know that JS is a big “no no” when building emails. That’s why I asked if the end-user will receive a static copy. The rss_listing is using JS to fetch the RSS Feed (that’s what I understood by reading old tickets) and can be used to send external RSS Feed emails.
When I said styling I meant to say that I need to hook up into what HB is doing and structure the info in a way that fits my needs See reference here: https://community.hubspot.com/t5/CMS-Development/Custom-external-RSS-Feed-Module/m-p/205614/highlight/true#M8108 . The current layout is not what I want.
I will accept your solutions because you gave me lots of other alternatives but my question is still not answered. To simply put it: Will the JS from rss_listing run on the emial client or the emial client will receive only a static version?