Inspired Signage XPress Programming
Using Format Helpers
The Format Helpers are a set of files which can be added as a multimedia layer in the news.svg and news_crawler.svg file to simplify the construction of the layout.
To use the bouncing text or the fit text helper:
1.Drag and drop it on your document like any multimedia file.
2.Open it
3.Change the Text to [SPX][title] or [SPX][description] to display respectively the title or the description of your news.
4.Press Apply or Save to see the result.
FIG. 21 Adding a Format Helper
bouncing_text.svg
If the text is too large to be displayed in the text box area, then the text will bounce from left to right (or top to bottom, depending on the configuration). When using top to bottom bouncing, you can configure the number of displayed lines.
fit_text.svg
The text size will be automatically adapted to the text box area, ensuring that all the text is always displayed.
date_time.svg
This helper can be used to display any date or time in a formatted manner. You can configure the 'source' for the date using the Date source entry (pubDate for the publication date of the RSS news for instance). The helper uses the PHP
syntax for controlling the date format. You can also use any language for printing the date by filling up the entry under the Names group. By default, English, French, Spanish, Italian and German examples are provided in the template.
switch.svg
This helper lets you configure different media to be displayed depending on the value of a news item. This can be used to display an up/down arrow for stock quotes for instance.
20 | Inspired XPress - Programming Guide |