Changeset 66 for trunk/Modules/Meet


Ignore:
Timestamp:
May 23, 2022, 10:08:11 AM (3 years ago)
Author:
chronos
Message:
  • Fixed: Import of gender and name in Seznamka.cz.
  • Modified: Update database to use 32-bit UTF-8 encoding.
File:
1 edited

Legend:

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

    r65 r66  
    2525      $MeetItem = new MeetItem();
    2626      //$MeetItem->Image = trim(GetTextBetween($Item, '<div', '</div>'));
    27       $Gender = trim(GetTextBetween($Item, "<span class=\"ipoh ", "\""));
     27      $Gender = trim(GetTextBetween($Item, "<span class=\"ipoh", "\""));
    2828      if ($Gender == 'zena') $MeetItem->Gender = Gender::Female;
    2929        else if ($Gender == 'muz') $MeetItem->Gender = Gender::Male;
Note: See TracChangeset for help on using the changeset viewer.