Hi,
a customer wants to have a custom rss module, which pulls the data from a external RSS Feed(XML) with following options
- show postings with tag “X”
- display “X” amount of postings
and some other options
The most simple way would be to clone the HubSpot RSS Feed module and to customize it, right?
I’m struggling with the layout change of the RSS Feed. When I clone the Module and edit it, the only thing I’m seeing is the Hubl code of the module.
{% if module.rss_feed_type == "external" %}
{% set feed_source = "{is_external=True, rss_url='"~module.rss_url~"', content_group_id=''}" %}
{% set is_external = true %}
{% elif module.rss_feed_type == "blog" %}
{% set feed_source = "{is_external=False, content_group_id='" ~ module.content_group_id ~ "', rss_url=''}" %}
{% set is_external = false %}
{% endif %}
{% rss_listing
publish_date_text="{{ module.publish_date_text }}",
rss_url="{{ module.rss_url }}",
is_external="{{ is_external }}",
click_through_text="{{ module.click_through_text }}",
show_date="{{ module.show_date }}",
content_group_id="{{ module.content_group_id }}",
include_featured_image="{{ module.include_featured_image }}",
publish_date_format="{{ module.publish_date_format }}",
show_detail="{{ module.show_detail }}",
show_author="{{ module.show_author }}",
number_of_items="{{ module.number_of_items }}",
limit_to_chars="{{ module.limit_to_chars }}",
attribution_text="{{ module.attribution_text }}",
topic_id="{{ module.topic_id }}"
%}
where is the HTML layout?
Is there a way to give the feed a complete custom (HTML) layout?
Like three columns. Left *name*, middle *info*, right *read more button*
regards,
Anton