--- android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureFetcher.java 2011/04/20 06:20:27 1332 +++ android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureFetcher.java 2011/04/20 06:35:13 1335 @@ -263,7 +263,7 @@ Element link = currentRow.child(0); - System.out.println( currentRow.text() );; + logger.fine( currentRow.text() ); String parts[] = currentRow.text().split(","); @@ -289,6 +289,10 @@ trainNumber = trainNumber + " " + extractTrainNumberAzure(fields.get(2));*/ departure.setTrainNumber(trainNumber); + if (traintype == TrainType.STOG) { //if it is stog the next vield is the "Line" code - this should be used somewhere, but skippint ahead for now + offset++; + } + String destination = parts[offset++]; departure.setDestination(destination);