Changeset 692 for trunk/Modules/News/ImportZdechovCzRecords.php
- Timestamp:
- Sep 11, 2014, 11:34:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/News/ImportZdechovCzRecords.php
r683 r692 22 22 $Date = substr($Content, 0, strpos($Content, '<')); 23 23 $DateParts = explode('.', $Date); 24 $Date = $DateParts[2].'-'.$DateParts[1].'-'.$DateParts[0]; 24 if(count($DateParts) >= 3) 25 $Date = $DateParts[2].'-'.$DateParts[1].'-'.$DateParts[0]; 26 else break; 25 27 $Content = substr($Content, strpos($Content, $StartLink) + strlen($StartLink)); 26 28 $Link = substr($Content, 0, strpos($Content, '"'));
Note:
See TracChangeset
for help on using the changeset viewer.