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()); }
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(); }