• Help Desk reporting gives you real-time visibility into your support operation without the manual work. Ask our experts about which metrics matter most! AMA Dec 8-12.

    Ask us anything

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

JPerreard
Member

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

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

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

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

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

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

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

Ok, thanks anyway!

0 Upvotes
PamCotton
HubSpot Alumni
HubSpot Alumni

Hello @JPerreard, how are you?

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

 

Thank you,

Pam

0 Upvotes