Ignore:
Timestamp:
Aug 1, 2020, 6:33:07 AM (4 years ago)
Author:
chronos
Message:
  • Fixed: Import from seznamka.cz.
File:
1 edited

Legend:

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

    r57 r58  
    3131      $MeetItem->Name = trim(GetTextBetween($Item, '>', '</span>'));
    3232      $MeetItem->Name = trim(strip_tags($MeetItem->Name));
    33       $Category = trim(GetTextBetween($Item, '" >', '</a>'));
    34       $MeetItem->Age = trim(GetTextBetween($Item, '" >', '</a>'));
     33      $Category = trim(GetTextBetween($Item, '<span class=\'ikat\'>', '</a>'));
     34      $MeetItem->Age = trim(strip_tags(GetTextBetween($Item, '<span class=\'ikat\'>', '</a>')));
    3535      $MeetItem->Age = trim(str_replace('let', '', $MeetItem->Age));
    3636      $MeetItem->Location = trim(strip_tags(GetTextBetween($Item, '<span class=\'imesto\'>', '</span>')));
Note: See TracChangeset for help on using the changeset viewer.