xAP News Schema (Revised 11/6/2003)

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
}
or
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
}
Copyright © by Mi4.biz All Right Reserved. Published on: 2003-04-24 (3487 reads) [ Go Back ] |