Esempio n. 1
0
 public string ProcessLine(string line, TVDoc doc)
 {
     string[] parts = line.Split(' ');
     if (parts.Length != 3)
     {
         return("");
     }
     if (parts[0].ToUpper() != "GET")
     {
         return("");
     }
     if (parts[1].EndsWith("/upcoming.xml"))
     {
         UpcomingXML uXML = new UpcomingXML(doc);
         return(uXML.produce());
     }
     return(Err());
 }
Esempio n. 2
0
 public string ProcessLine(string line, TVDoc doc)
 {
     string[] parts = line.Split(' ');
     if (parts.Length != 3)
         return "";
     if (parts[0].ToUpper() != "GET")
         return "";
     if (parts[1].EndsWith("/upcoming.xml"))
     {
         UpcomingXML uXML = new UpcomingXML(doc);
         return uXML.produce();
     }
     return Err();
 }