- This topic has 3 replies, 2 voices, and was last updated 7 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › RSS and custom Attributes
Hy Franky,
can I use, custom Attributes in the RSS feed discription?
I’m testing the code below. The secound eme_if don’t work.
In combination with the shortcode eme_location it work as expected.
[eme_if tag='#ESC_EVENTCATEGORIES' contains='Wanderfahrt']
[eme_if2 tag='#ESC_ATT{Gewaesser}']#_ATT{Gewaesser}<br />[/eme_if2]
<b>Von: </b>#_TOWN <b>bis </b>[eme_location id=#_ATT{Ausstieg_Ort_ID} template_id=47]
[/eme_if]
Is Gewaesser an event attribute?
Btw, event can be linked to locations, so you can just use #_LOCATIONID in place of #_ATT{Ausstieg_Ort_ID} (but maybe it is not what you want)
Also, this is the function call that is happening:
$description = eme_sanitize_rss(eme_replace_placeholders ( $description_format, $event, "rss" ));
So maybe the attribute contains something that can’t be shown in rss?