/[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

revision 86 by william, Sat Mar 9 13:51:58 2013 UTC revision 106 by william, Sun Mar 10 12:25:54 2013 UTC
# Line 7  namespace libxmltv.Core Line 7  namespace libxmltv.Core
7  {  {
8      public static class XMLTVConstants      public static class XMLTVConstants
9      {      {
10          public const string ROOT_ELEMENT = "tv";          #region Root Constants
11          public const string CHANNEL_ELEMENT = "channel";          public static class Root
12          public const string PROGRAM_ELEMENT = "programme";          {
13                public const string RootElement = "tv";
14            }
15            #endregion
16    
17          #region Source Constants          #region Source Constants
18          public static class Source          public static class Source
# Line 22  namespace libxmltv.Core Line 25  namespace libxmltv.Core
25          #region Channel Constants          #region Channel Constants
26          public static class Channels          public static class Channels
27          {          {
28                public const string RootElement = "channel";
29              public const string ChannelId = "id";              public const string ChannelId = "id";
30              public const string ChannelDisplayName = "display-name";              public const string ChannelDisplayName = "display-name";
31          }          }
# Line 29  namespace libxmltv.Core Line 33  namespace libxmltv.Core
33          #region Program Constants          #region Program Constants
34          public static class Programs          public static class Programs
35          {          {
36                public const string RootElement = "programme";
37              public const string ProgramStart = "start";              public const string ProgramStart = "start";
38              public const string ProgramStop = "stop";              public const string ProgramStop = "stop";
39              public const string ProgramChannelId = CHANNEL_ELEMENT;              public const string ProgramChannelId = XMLTVConstants.Channels.RootElement;
40              public const string ProgramTitle = "title";              public const string ProgramTitle = "title";
41              public const string ProgramSubTitle = "sub-title";              public const string ProgramSubTitle = "sub-title";
42              public const string ProgramDescription = "desc";              public const string ProgramDescription = "desc";
43    
44              #region extra meta-data              #region extra meta-data
45              public const string ProgramCredits = "credits";              //public const string ProgramCredits = "credits";
46              public const string ProgramDirector = "director";              //public const string ProgramDirector = "director";
47              public const string ProgramActor = "actor";              //public const string ProgramActor = "actor";
48              public const string ProgramDate = "date";              //public const string ProgramDate = "date";
49              public const string ProgramCategory = "category";              //public const string ProgramCategory = "category";
50              public const string ProgramEpisodeNum = "episode-num";              //public const string ProgramEpisodeNum = "episode-num";
51              public const string ProgramPreviouslyShown = "previously-shown";              //public const string ProgramPreviouslyShown = "previously-shown";
52                public const string ProgramExtraMetaData = "extras";
53              #endregion              #endregion
54          }          }
55          #endregion          #endregion
# Line 51  namespace libxmltv.Core Line 57  namespace libxmltv.Core
57  }  }
58    
59    
60    

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

  ViewVC Help
Powered by ViewVC 1.1.22