Changeset 24 for trunk/Import
- Timestamp:
- Dec 26, 2018, 10:45:44 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Import/Csts.php
r20 r24 33 33 $MeetItem->Height = trim(GetTextBetween($Item, "výška:", 'cm')); 34 34 $MeetItem->Message = trim(html_entity_decode(strip_tags(GetTextBetween($Item, '<td colspan="3">', '</td>')))); 35 // Replace unicode non-breakable space by normal space 36 $MeetItem->Message = str_replace("\xc2\xa0", "\x20", $MeetItem->Message); 35 37 $MeetItem->Age = GetAgeFromText($MeetItem->Message); 36 38 $MeetItem->Height = GetHeightFromText($MeetItem->Message);
Note:
See TracChangeset
for help on using the changeset viewer.