ramazanalic / unitimetable

Automatically exported from code.google.com/p/unitimetable
0 stars 0 forks source link

Importer update (simple) #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sem 1 2015:
There is a reformat to sinet xls timetable files: They have replaced 'time 
period runs'/'dates not on' with one line 'weeks running', in format 
"2-5,7,8-13" etc

That means lines 247/248 of importer.cs need to be replaced with something like:
                @"<td>(?<weeks_running>.*?)</td>" +         // The weeks this session runs on

In the xml file, there is also an additional "<td></td>" line on each day of 
the week, directly below
"
<td>&nbsp;
</td>
"

Not sure how to fix that.

I attached my sample xls timetable file from S1 2015.

Original issue reported on code.google.com by pphillpo...@gmail.com on 7 Feb 2015 at 10:00

Attachments:

GoogleCodeExporter commented 8 years ago
I've updated the importer to support the new format, seems to work fine on my 
end. Importer.cs is attached, just replace and rebuild.

Original comment by sammon.s...@gmail.com on 5 Jul 2015 at 12:28

Attachments: