CMS Development

ryan3
Participant

Using custom module content within RSS Feed

SOLVE

I added a custom module to my blog posts in order to provide custom "preview copy" used on the listing page.  The copy does not appear within the post content itself, its used on the blog listing page.  I'd like to use the content from this "preview copy" as the description for the RSS feed, but don't see any way of doing that.

 

Is this possible?

0 Upvotes
1 Accepted solution
Jsum
Solution
Key Advisor

Using custom module content within RSS Feed

SOLVE

@ryan3,

 

I do this with rich text and text modules all the time but not with custom modules, its possible though. You need to look at export_to_template_context. once you set the module to export to the tempalte you will have to pull in it's content using data tokens like in the example. 

View solution in original post

0 Upvotes
1 Reply 1
Jsum
Solution
Key Advisor

Using custom module content within RSS Feed

SOLVE

@ryan3,

 

I do this with rich text and text modules all the time but not with custom modules, its possible though. You need to look at export_to_template_context. once you set the module to export to the tempalte you will have to pull in it's content using data tokens like in the example. 

0 Upvotes