Collaborama About Help Contact Anonymous [login] Source: site.view [edit] Function name: soccerOnTV Arguments: country,team Description: Finds all North America TV telecasts for team from specified country. Example: soccerOnTV(Germany, Bayern) Note: Country name and team name should start with capital letters. Page type: webl Render function: Module: global Page source: var P = (GetURL(`http://www.soccertv.com/`+ToString(country)+`.cfm`) ? nil); if (P != nil) then var res = "Games with: " + ToString(team) + " of " + ToString(country) + " showing in North America in the next 10 days:\n\n"; var Table = Elem(P, "table") directlycontain Pat(P, ToString(team)); var i = 0; while (i < Size(Table)) do var TD = Elem(P, "td") inside Table[i]; res = res + Str_Trim(Text(TD[0])) + "\n\n"; i = i + 1; end; res = Wub_ReplaceAll(res, ` `, ``); res else nil end;