Changeset 28 for trunk/Import


Ignore:
Timestamp:
Dec 27, 2018, 4:42:20 PM (6 years ago)
Author:
chronos
Message:
  • Added: Different page title for each page.
  • Added: Store seznamka.cz meet item source link.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Import/Seznamka.php

    r18 r28  
    4242      $MeetItem->Date = HumanDateToTime(trim(GetTextBetween($Item, '> </a>', '</span>')));
    4343      $MeetItem->Message = trim(strip_tags(GetTextBetween($Item, 'margin-top:10px;\'>', '</div>')));
     44      $MeetItem->Link = 'https://www.seznamka.cz'.substr(GetTextBetween($Item, "<a href='", "'"), 5);
    4445      $MeetItem->Email = GetEmailFromText($MeetItem->Message);
    4546      $MeetItem->Phone = '';
Note: See TracChangeset for help on using the changeset viewer.