Changeset 57 for trunk/Modules/Meet/Import/Facebook.php
- Timestamp:
- May 27, 2020, 8:04:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Meet/Import/Facebook.php
r37 r57 5 5 function Import() 6 6 { 7 return; 7 return; 8 8 $Output = parent::Import(); 9 9 $Content = file_get_contents($this->URL); … … 36 36 $MeetItem->Height = trim(GetTextBetween($Item, "výška:", 'cm')); 37 37 $MeetItem->Message = trim(html_entity_decode(strip_tags(GetTextBetween($Item, 'data-ft="{"tn":"K"}">', '</div>')))); 38 $MeetItem->Age = GetAgeFromText($MeetItem->Message); 38 $MeetItem->Age = GetAgeFromText($MeetItem->Message); 39 39 $MeetItem->Height = GetHeightFromText($MeetItem->Message); 40 40 $MeetItem->Weight = GetWeightFromText($MeetItem->Message); … … 48 48 $MeetItem->Database = $this->Database; 49 49 $MeetItem->Source = $this->Id; 50 $this-> AddedCount += $MeetItem->AddIfNotExist();50 $this->MeetItems[] = $MeetItem; 51 51 } 52 52 return $Output;
Note:
See TracChangeset
for help on using the changeset viewer.