Changeset 37 for trunk/Modules/Meet/Import/Amblar.php
- Timestamp:
 - May 5, 2019, 5:17:06 PM (7 years ago)
 - Location:
 - trunk/Modules
 - Files:
 - 
      
- 2 added
 - 1 edited
 - 1 moved
 
- 
          
  . (added)
 - 
          
  Meet (added)
 - 
          
  Meet/Import (moved) (moved from trunk/Import )
 - 
          
  Meet/Import/Amblar.php (modified) (6 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/Modules/Meet/Import/Amblar.php
r32 r37 28 28 function Import() 29 29 { 30 parent::Import();30 $Output = parent::Import(); 31 31 $Content = file_get_contents($this->URL); 32 32 … … 37 37 if ($Content == '') 38 38 { 39 echo('Main block not isolated.</br>');40 return ;39 $Output .= 'Main block not isolated.</br>'; 40 return $Output; 41 41 } 42 42 … … 72 72 $MeetItem->Database = $this->Database; 73 73 $MeetItem->Source = $this->Id; 74 $ this->ImportItem($MeetItem);74 $Output .= $this->ImportItem($MeetItem); 75 75 $this->AddedCount += $MeetItem->AddIfNotExist(); 76 76 } 77 return $Output; 77 78 } 78 79 … … 81 82 global $HeightTags, $AgeTags, $LevelTags; 82 83 84 $Output = ''; 83 85 $Content = file_get_contents($MeetItem->Link); 84 86 … … 88 90 if ($Content == '') 89 91 { 90 echo('Main block not isolated.</br>');92 $Output .= 'Main block not isolated.</br>'; 91 93 return; 92 94 } … … 106 108 if ($Tag == 'Praha') $MeetItem->Location = 'Praha'; 107 109 } 110 return $Output; 108 111 } 109 112 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/tanec/chrome/site/your_project_logo.png)