Blog, Website & Page Publishing

JPerreard
Member

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

Hi there,

in our blog RSS feed (https://insights.principa.co.za/rss.xml), the content shown in the 'Description' & 'Content' elements are the same - why?

 

I believe 'Description' should be a shorter/summary version of the full content shown in 'content'.

 

Thanks for your help - much appreciated.

0 Upvotes
1 Accepted solution
Gonzalo
Solution
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

Hi @JPerreard ,

 

- I didn't checked in depth but seems like at least blog related yes, RSS generated by Hubspot provide the description and content attributes. RSS v2 specification says that description attributes for items are used to give a synopsis/summary about the content.

- As mentioned earlier, the description is usually a crop (first paragrapth or something like that) from the content. When you are editing/publishing a post in the Hubspot CMS, next to all the text format options there is one called "read more" tag, which allows you to place a break line. The content prior that tag will be used on the description.

2021-03-05 10_27_24-Edit Blog Post _ TEST.png

 This option is a legacy from old listing pages where the range of text to display was more flexible. Current design trends (as the one you are using in insights subdomain) are more constrained on amount of characters that will be visible on the listing page, therefor this read more tags are usually ignored (but will really depend on how the developers and designers want to adapt to it).

If this answer helps you to solve your questions please mark it as a solution.

Thank you,


Gonzalo Torreras

HubSpot freelance developer

hola@gonzalotorreras.com
www.gonzalotorreras.com
Schedule a meeting

View solution in original post

7 Replies 7
Gonzalo
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

Hey @JPerreard ,

I just tested and I think its related to the "read more" tag.

You will need to include it manually in the posts that is missing it (or you can update on batch your blog posts through the API if your blog template is already taking care of max length).

 

Regards,

Gonzalo

If this answer helps you to solve your questions please mark it as a solution.

Thank you,


Gonzalo Torreras

HubSpot freelance developer

hola@gonzalotorreras.com
www.gonzalotorreras.com
Schedule a meeting
JPerreard
Member

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

Thanks @PamCotton !

 

@Gonzalo , I'm not sure I understand you well.

 

First thing first: 

  • are '<description>' & '<content:encoded>' generated by HubSpot for all RSS feeds?
  • as they are two separate elements, am I right to think that they aim to have different content within? How does HubSpot currently chose/select the content to push to those elements?

Now indeed there seems to be something wrong my our RSS feed - not sure what you mean by the 'read more' tag though?

0 Upvotes
Gonzalo
Solution
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

Hi @JPerreard ,

 

- I didn't checked in depth but seems like at least blog related yes, RSS generated by Hubspot provide the description and content attributes. RSS v2 specification says that description attributes for items are used to give a synopsis/summary about the content.

- As mentioned earlier, the description is usually a crop (first paragrapth or something like that) from the content. When you are editing/publishing a post in the Hubspot CMS, next to all the text format options there is one called "read more" tag, which allows you to place a break line. The content prior that tag will be used on the description.

2021-03-05 10_27_24-Edit Blog Post _ TEST.png

 This option is a legacy from old listing pages where the range of text to display was more flexible. Current design trends (as the one you are using in insights subdomain) are more constrained on amount of characters that will be visible on the listing page, therefor this read more tags are usually ignored (but will really depend on how the developers and designers want to adapt to it).

If this answer helps you to solve your questions please mark it as a solution.

Thank you,


Gonzalo Torreras

HubSpot freelance developer

hola@gonzalotorreras.com
www.gonzalotorreras.com
Schedule a meeting
JPerreard
Member

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

Excellent, that seems to have worked indeed by including that 'read more' separator.

 

While I have you there, do you know how one would process that content to remove the HTML/CSS tags/styling from appearing in that description? basically, just keep the text copy?

0 Upvotes
Gonzalo
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

As the RSS is generated automatically from Hubspot I don't think you can control that.
If you want to strip the HTML tags I believe you would need to remove it in your blogpost itself, but you will encounter probably some design issues on the published post page.

If this answer helps you to solve your questions please mark it as a solution.

Thank you,


Gonzalo Torreras

HubSpot freelance developer

hola@gonzalotorreras.com
www.gonzalotorreras.com
Schedule a meeting
0 Upvotes
JPerreard
Member

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

Ok, thanks anyway!

0 Upvotes
PamCotton
Community Manager
Community Manager

Blog RSS Feed - Description & Content elements showing the same information

SOLVE

Hello @JPerreard, how are you?

I will include in this conversation some top experts @Gonzalo@MatthewShepherd@Alex_ what would be your recommendation to @JPerreard?

 

Thank you,

Pam

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes