xAP News Schema

From XAP Automation
Jump to: navigation, search

News.Report

news.report is designed to output current news continually where as news.alert is triggered only when the top news story changes or a news flash happens.

Class=news.report

news.feed
{
Station=(Name of the news feed. 8 chars max)
-- mandatory
Title=(Full name of the news feed)
-- mandatory
Link=(http address of news site, not the rdf feed but the site)
-- optional
Desc=(Description of the news feed)
-- optional
Count=(Number of stories)
-- mandatory
Error=(Download errors either "NoData" if last connection failed or "StationNotFound" if feed isn't valid)
-- optional
}
news.story.X (Block repeated per news story. X is story number, 1 being top)
{
Title=(Title of story)
-- mandatory
Link=(Link to story)
-- optional
Desc=(Description of story)
-- optional
}

News.Alert

Class=news.alert

news.feed
{
Station=(Name of the news feed. 8 chars max)
-- mandatory
Title=(Full name of the news feed)
-- mandatory
Link=(http address of news site, not the rdf feed but the site)
-- optional
Desc=(Description of the news feed)
-- optional
Error=(Download errors either "NoData" if last connection failed or "StationNotFound" if feed isn't valid)
-- optional
}
news.story
{
Title=(Title of story)
-- mandatory
Link=(Link to story)
-- optional
Desc=(Description of story)
-- optional
}