To enable Advanced Mode press the Menu button in the bottom right, followed by selecting Advanced Mode.
To update the config, open the Menu and select Update Config, enter a the URL to the config and wait it to be downloaded and processed. If all goes well tapping Refresh in the bottom left will display the TV listings.
If you don't have your own webspace a paste bin website with a "raw" download mode will do, http://pastebin.com/ works at the time of writing.
Here's the basic file format structure:
<AdvancedConfig>The UserAgent field is optional. The IndexConfig, ShowConfig and EpisodeConfig blocks represent different levels of detail and all the follow the same format. The ShowConfig and EpisodeConfig are both optional. Here's the basic format:
<IndexUrl>http://www.example.com/</IndexUrl>
<UserAgent>Example</UserAgent>
<IndexConfig/>
<ShowConfig/>
<EpisodeConfig/>
</AdvancedConfig>
<BeginMarkerRegex>EXAMPLE REGEX</BeginMarkerRegex>Note, you will need to escape XML values (angle brackets, quotes and such in the regexes) to make it valid XML. You can use an online converter like http://www.htmlescape.net/htmlescape_tool.html for this.
<EndMarkerRegex>EXAMPLE REGEX</EndMarkerRegex>
<ParserConfig>
<ContentConfigs>
<ContentConfig>
<ContentRegex>(.+)</ContentRegex>
<GroupFieldTypes>
<GroupFieldType>ItemName</GroupFieldType>
</GroupFieldTypes>
</ContentConfig>
</ContentConfigs>
</ParserConfig>
The BeginMarkexRegex and EndMarkexRegex fields are optional and indicate the portion of the webpage to apply the ContentConfigs to.
Each ContentConfig block is 1 regular expression. You can have as many ContentConfig blocks as you like, together they represent a single content item. You'll want to use multiple ContentConfig blocks if the content name and link are in different parts of the page then. The content configs will be applied repeatedly until either the EndMarkerRegex or the end of the page is reached.
The GroupFieldType defines how to interpret the regular expression groups. The valid values are None, ItemName and ItemLink. Here's an example how you would use this:
Example webpage:
<a href="episode1.html">Episode 1</h1>Example regex:
<a href="episode2.html">Episode 2</h1>
<a href="episode3.html">Episode 3</h1>
<a href=\"(.+)\">(.+)</h1>Example partial config:
<ParserConfig>
<ContentConfigs>
<ContentConfig>
<ContentRegex><a href=\"(.+)\">(.+)</h1></ContentRegex>
<GroupFieldTypes>
<GroupFieldType>ItemLink</GroupFieldType>
<GroupFieldType>ItemName</GroupFieldType>
</GroupFieldTypes>
</ContentConfig>
</ContentConfigs>
</ParserConfig>