Jump to content

HTML Formatting in event data & feeds


Steve A

Recommended Posts

Include HTML

This setting is included with the following feeds: JSON, RSS, XML (Atom) and iCal. This setting allows HTML to be turned off in the feeds, and mainly for iCal feeds since programs like Outlook do not recognize the HTML and display the HTML code instead of formatted text. The default feed setting is set to Yes. These settings can be found under Publish>Feeds tab and then Edit Settings & Styles for each feed.

You can also override the default setting using the HTML URL parameter. For example https://www.trumba.com/calendars/concerts.rss?html=0 will output the RSS feed without HTML formatting. Valid values are true, 1, false, or 0.

As a note, the RSS and XML (Atom) feeds don’t look very good in browsers if you turn off HTML because the text runs together without the line breaks so it’s probably best to leave the default as Yes for RSS and XML (Atom) feeds.

Include Custom Fields in Notes

Since most calendar programs that read the published iCal feed don’t recognize Trumba custom field properties in the iCal file there is need to include these values in body of the event along with the Description field so they will show up in calendar programs that subscribe to the feed. The default is set to No for each published calendar, so you may want to edit the feed settings to Yes. These settings can be found under Publish>Feeds tab and then Edit Settings & Styles for the iCal feed.

You can also override the default setting using the customnotes URL parameter. For example https://www.trumba.com/calendars/concerts.ics?customnotes=1 will output the iCal feed with custom fields in the notes.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...