I'm fairly new to Hubspot, but I tried to make email post with custom module, that contains rss_listing, where url would build from module- and contact -parameters. If I use hardcoded or even only modules parameters for the rss_url, it works like a charm. But If I try to use contact-parameters it won't work.
My idea was to make that rss_url = "https://my-site.com/feed/{{contact.myparameter}}" but somehow it won't work.
So... How do I insert dynamic string-variable to rss_listing that is build from contact.parameters?
I can output parameters to the module just right, so I know they have values, but in rss_listing rss_url they just aren't working.
Well, it is custom module (the whole source is in the first post) so it could be in what ever template. The problem is the url's in rss_list somehow won't work if I use properties in them.
In email text, the url's show right and when added as a plain text email clients change them to clickable links, but in rss_listing -module's rss_url the url's wont work if I try to use {{ conctact.whateverparameter }} in them.
I thought this would be a easy peasy and just to add string's with ~ delimeters to make it work, but somehow it seem's like Hubspot won't parse {{ variable }}'s in some cases.
already contains ? and & -get -parameters. The problem is in rss_listing. the <li> etc html data is only for debugging the code and will not remain in the final module when I locate the error.
The main problem is in rss_listing *if* I use dynamic url with multiple parameters.
So, I would like to know how to use dynamic parameters in rss_listing module.
I need to use {{ contact.myparameter1 }} and {{ contact.myparameter2 }} in the url. I already tested the url if I just hard code the whole Url, and it works. Somehow it seems that the Hubspot needs some kinds of filters or something like that to make this work, but somehow I have no clue how to parse the url.
I just thought I would just make the rss_url in rss_listing to use {{ contact.myparamer1 }} in the right position but somehow it doesn't work like that in the hubspot. Or maybe it's too picky and I have to use the right " or ' -characters. Or maybe I need to encode the url in the right way I don't know how. Or anything.
This in other hand works partially and logs request in my "mysite.fi"'s log: The problem is, the Hubspot Feed fetcher gets only the url in {{ module.rss_url.href }} and not the hardcoded part or contact.myparameter1:
So, somehow I'm wondering if the problem is that I can't "inject" conctact.parameters to rss_listing this way because it's someofwhat own module or something like that.
Yep, seems like I can use only module.parameters in module, but not contact.parameters althought I can render them in html text, but not in rss_listing urls.