/[xmltv_parser]/trunk/libxmltv/Core/XMLTVConstants.cs
ViewVC logotype

Annotation of /trunk/libxmltv/Core/XMLTVConstants.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88 - (hide annotations) (download)
Sat Mar 9 14:52:10 2013 UTC (7 years, 7 months ago) by william
File size: 2028 byte(s)

1 william 23 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5    
6     namespace libxmltv.Core
7     {
8 william 86 public static class XMLTVConstants
9 william 23 {
10 william 88 #region Root Constants
11     public static class Root
12     {
13     public const string RootElement = "tv";
14     }
15     #endregion
16 william 25
17     #region Source Constants
18     public static class Source
19     {
20     public const string SourceName = "source-info-name";
21     public const string GeneratorName = "generator-info-name";
22     public const string GeneratorUrl = "generator-info-url";
23     }
24     #endregion
25 william 26 #region Channel Constants
26     public static class Channels
27     {
28 william 88 public const string RootElement = "channel";
29 william 26 public const string ChannelId = "id";
30     public const string ChannelDisplayName = "display-name";
31     }
32     #endregion
33 william 27 #region Program Constants
34     public static class Programs
35     {
36 william 88 public const string RootElement = "programme";
37 william 27 public const string ProgramStart = "start";
38 william 28 public const string ProgramStop = "stop";
39 william 88 public const string ProgramChannelId = XMLTVConstants.Channels.RootElement;
40 william 28 public const string ProgramTitle = "title";
41     public const string ProgramSubTitle = "sub-title";
42     public const string ProgramDescription = "desc";
43 william 86
44     #region extra meta-data
45     public const string ProgramCredits = "credits";
46     public const string ProgramDirector = "director";
47     public const string ProgramActor = "actor";
48     public const string ProgramDate = "date";
49     public const string ProgramCategory = "category";
50     public const string ProgramEpisodeNum = "episode-num";
51     public const string ProgramPreviouslyShown = "previously-shown";
52     #endregion
53 william 27 }
54     #endregion
55 william 23 }
56 william 28 }
57 william 86
58    

  ViewVC Help
Powered by ViewVC 1.1.22