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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/libxmltv/Core/XMLTV_CONSTANTS.cs revision 23 by william, Thu Mar 7 11:08:48 2013 UTC trunk/libxmltv/Core/XMLTVConstants.cs revision 86 by william, Sat Mar 9 13:51:58 2013 UTC
# Line 5  using System.Text; Line 5  using System.Text;
5    
6  namespace libxmltv.Core  namespace libxmltv.Core
7  {  {
8      public class XMLTV_CONSTANTS      public static class XMLTVConstants
9      {      {
10          public const string ROOT_ELEMENT = "tv";          public const string ROOT_ELEMENT = "tv";
11          public const string CHANNEL_ELEMENT = "channel";          public const string CHANNEL_ELEMENT = "channel";
12          public const string PROGRAM_ELEMENT = "programme";          public const string PROGRAM_ELEMENT = "programme";
13    
14            #region Source Constants
15            public static class Source
16            {
17                public const string SourceName = "source-info-name";
18                public const string GeneratorName = "generator-info-name";
19                public const string GeneratorUrl = "generator-info-url";
20            }
21            #endregion
22            #region Channel Constants
23            public static class Channels
24            {
25                public const string ChannelId = "id";
26                public const string ChannelDisplayName = "display-name";
27            }
28            #endregion
29            #region Program Constants
30            public static class Programs
31            {
32                public const string ProgramStart = "start";
33                public const string ProgramStop = "stop";
34                public const string ProgramChannelId = CHANNEL_ELEMENT;
35                public const string ProgramTitle = "title";
36                public const string ProgramSubTitle = "sub-title";
37                public const string ProgramDescription = "desc";
38    
39                #region extra meta-data
40                public const string ProgramCredits = "credits";
41                public const string ProgramDirector = "director";
42                public const string ProgramActor = "actor";
43                public const string ProgramDate = "date";
44                public const string ProgramCategory = "category";
45                public const string ProgramEpisodeNum = "episode-num";
46                public const string ProgramPreviouslyShown = "previously-shown";
47                #endregion
48            }
49            #endregion
50      }      }
51  }  }
52    
53    

Legend:
Removed from v.23  
changed lines
  Added in v.86

  ViewVC Help
Powered by ViewVC 1.1.22