Server Protocol
- Shows: (i.e. schedule list for events) http://payments.cinequest.org/websales/feed.ashx?guid=70d8e056-fa45-4221-9cc7-b6dc88f62c98&showslist=true&
- Venues: http://www.cinequest.org/venuelist.php
- News: http://www.cinequest.org/news.php
The EventType
custom property has one of three values: Film
, Forum
, Special
. It is an error if it has none of them or more than one of them. In that case, log the error and skip the item.
All films should be included in the A-Z list of the Films tab. All forums should be included in the Forums tab All specials should be included in the Events tab
An item is a parent if has one or more ShortId
custom properties. Each of them is the ID of a child. Any item (film, forum, special) can be a parent or a child. For example, in 2013, special event 6964 has as child another special event.
When displaying a parent, display all of its children below the description, above the schedule.
Tapping on a child displays the child.
A child will not by itself have a schedule, i.e. will be empty. Display the parent's schedule when showing the child.
If an item has an Infolink, provide a way for the user to open a browser to view the item
The news feed will have the following format.
<NewsFeed>
<LastUpdated>2013-11-18T17:08:18</LastUpdated>
<ArrayOfNews>
<News>
<Name>Meet the app team!</Name>
<ShortDescription>Excitement abounds as you have the chance to meet the team of dedicated coders that brought you this app. Don't miss this special event!</ShortDescription>
<EventImage>http://.../....jpg</EventImage>
<InfoLink>http://...</InfoLink>
</News>
<News>
...
</News>
</ArrayOfNews>
</NewsFeed>
InfoLink acts the same way as in all other screens, EXCEPT if it is a number, e.g.
<InfoLink>7082</InfoLink>
In that case, display the item with that ID.
The updating timestamp from the Show feed is unreliable. Ignore it. Instead, use the LastUpdated value from the news feed. If it changes, refresh both the news and the Show feed.