Changeset 54 for trunk/Modules/Meet/Import
- Timestamp:
- Feb 1, 2020, 1:57:23 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Meet/Import/Seznamka.php
r53 r54 34 34 $MeetItem->Age = trim(GetTextBetween($Item, '" >', '</a>')); 35 35 $MeetItem->Age = trim(str_replace('let', '', $MeetItem->Age)); 36 $MeetItem->Location = trim( GetTextBetween($Item, '" >', '</a>'));37 $MeetItem->Time = trim( GetTextBetween($Item, 'TOP</a> ', '</span>'));36 $MeetItem->Location = trim(strip_tags(GetTextBetween($Item, '<span class=\'imesto\'>', '</span>'))); 37 $MeetItem->Time = trim(html_entity_decode(str_replace(' ', '', GetTextBetween($Item, 'TOP</a>', '</span>')))); 38 38 if ($MeetItem->Time == 'Včera') $MeetItem->Time = HumanDate(time() - 60*60*24); 39 39 else if ($MeetItem->Time == 'Dnes') $MeetItem->Time = HumanDate(time());
Note:
See TracChangeset
for help on using the changeset viewer.