Ignore:
Timestamp:
May 27, 2020, 8:04:56 PM (4 years ago)
Author:
chronos
Message:
  • Added: Allow to disable MeetSource in database.
  • Added: Show how many meet items were parsed and how many new added.
File:
1 edited

Legend:

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

    r54 r57  
    99    $Content = str_replace("(adsbygoogle = window.adsbygoogle || []).push({});", "", $Content);
    1010    $BlockStart = '<h1>Tanec ... : Seznamka</h1>';
    11     $BlockEnd = '<h2>Doporučujeme</h2>';
     11    $BlockEnd = 'rel=\'prev\'>Předchozí</a>';
    1212    $Content = GetTextBetween($Content, $BlockStart, $BlockEnd);
    1313    if ($Content == '')
     
    5050      $MeetItem->Database = $this->Database;
    5151      $MeetItem->Source = $this->Id;
    52       $this->AddedCount += $MeetItem->AddIfNotExist();
     52      $this->MeetItems[] = $MeetItem;
    5353    }
    5454    return $Output;
Note: See TracChangeset for help on using the changeset viewer.