Changeset 10
- Timestamp:
- Aug 7, 2018, 10:19:25 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 1 deleted
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Meet.php
r8 r10 6 6 include_once('Import/Vavruska.php'); 7 7 include_once('Import/SalsaDance.php'); 8 include_once('Import/Amblar.php'); 8 9 9 10 abstract class Gender … … 154 155 $Result = GetNumberBeforeText($Text, 'let'); 155 156 if ($Result == '') $Result = GetNumberAfterText($Text, 'Je mi'); 157 if ($Result == '') $Result = GetNumberAfterText($Text, 'čerstvých'); 156 158 if ($Result == '') $Result = GetAgeHeightWeightFromText($Text)[0]; 157 159 return $Result; … … 242 244 else if ($Method == 'astra') $Source = new MeetSourceAstraPraha(); 243 245 else if ($Method == 'seznamka') $Source = new MeetSourceSeznamka(); 246 else if ($Method == 'amblar') $Source = new MeetSourceAmblar(); 244 247 else { 245 echo('Unsupported parse method: '.$Method );246 return;248 echo('Unsupported parse method: '.$Method.'<br/>'); 249 continue; 247 250 } 248 251 $Source->Database = $this->Database; … … 281 284 var $Location = ''; 282 285 var $Image = ''; 286 var $Link = ''; 287 var $Title = ''; 288 var $Level = ''; 283 289 284 290 function AddIfNotExist() … … 302 308 'Location' => $this->Location, 303 309 'Source' => $this->Source, 310 'Link' => $this->Link, 304 311 )); 305 312 } -
trunk/RSS.php
r4 r10 12 12 function __construct() 13 13 { 14 $this->Charset = 'utf 8';14 $this->Charset = 'utf-8'; 15 15 $this->Items = array(); 16 16 }
Note:
See TracChangeset
for help on using the changeset viewer.