Ignore:
Timestamp:
Dec 27, 2018, 3:47:30 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Improved information parsing from message text.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Import/AstraPraha.php

    r11 r26  
    2929      if ($MeetItem->Gender == 'Hledám partnerku') $MeetItem->Gender = Gender::Male;
    3030        else $MeetItem->Gender = Gender::Female;
    31       $MeetItem->Message = trim(GetTextBetween($Item, '<p class=\'last-element\'>', '</p>'));
     31      $MeetItem->Message = trim(strip_tags(GetTextBetween($Item, '<p class=\'last-element\'>', '</p>')));
    3232      $MeetItem->Email = trim(GetTextBetween($Item, 'class="nowrap text-link">', '</a>'));
    3333      $MeetItem->Name = '';
Note: See TracChangeset for help on using the changeset viewer.