Ignore:
Timestamp:
Feb 1, 2020, 1:57:23 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Seznamka.cz meet import.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Meet/Import/Seznamka.php

    r53 r54  
    3434      $MeetItem->Age = trim(GetTextBetween($Item, '" >', '</a>'));
    3535      $MeetItem->Age = trim(str_replace('let', '', $MeetItem->Age));
    36       $MeetItem->Location = trim(GetTextBetween($Item, '" >', '</a>'));
    37       $MeetItem->Time = trim(GetTextBetween($Item, 'TOP</a> &nbsp;', '</span>'));
     36      $MeetItem->Location = trim(strip_tags(GetTextBetween($Item, '<span class=\'imesto\'>', '</span>')));
     37      $MeetItem->Time = trim(html_entity_decode(str_replace('&nbsp;', '', GetTextBetween($Item, 'TOP</a>', '</span>'))));
    3838      if ($MeetItem->Time == 'Včera') $MeetItem->Time = HumanDate(time() - 60*60*24);
    3939        else if ($MeetItem->Time == 'Dnes') $MeetItem->Time = HumanDate(time());
Note: See TracChangeset for help on using the changeset viewer.