/[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 36 by william, Fri Mar 8 02:13:59 2013 UTC revision 105 by william, Sun Mar 10 11:35:26 2013 UTC
# Line 5  using System.Text; Line 5  using System.Text;
5    
6  namespace libxmltv.Core  namespace libxmltv.Core
7  {  {
8      internal 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
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                public const string ProgramExtraMetaData = "extra";
53                #endregion
54          }          }
55          #endregion          #endregion
56      }      }
57  }  }
58    
59    
60    

Legend:
Removed from v.36  
changed lines
  Added in v.105

  ViewVC Help
Powered by ViewVC 1.1.22