Changeset 322 for trunk


Ignore:
Timestamp:
Nov 27, 2011, 9:16:25 PM (13 years ago)
Author:
chronos
Message:
 
Location:
trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/aktuality/import_zdechov_cz_aktuality.php

    r321 r322  
    2222  $Content = substr($Content, strpos($Content, $StartLink) + strlen($StartLink));
    2323  $Link = substr($Content, 0, strpos($Content, '"'));
    24   if(substr($Link, 0, 7) != 'http://') $Link = 'http://'.$Link;
     24  if(substr($Link, 0, 7) != 'http://') $Link = 'http://www.zdechov.cz/'.$Link;
    2525  $Content = substr($Content, strpos($Content, $StartTitle) + strlen($StartTitle));
    2626  $Title = substr($Content, 0, strpos($Content, '<'));
  • trunk/aktuality/import_zdechov_cz_zapisy.php

    r321 r322  
    2222  $Content = substr($Content, strpos($Content, $StartLink) + strlen($StartLink));
    2323  $Link = substr($Content, 0, strpos($Content, '"'));
    24   if(substr($Link, 0, 7) != 'http://') $Link = 'http://'.$Link;
     24  if(substr($Link, 0, 7) != 'http://') $Link = 'http://www.zdechov.cz/'.$Link;
    2525  $Content = substr($Content, strpos($Content, $StartTitle) + strlen($StartTitle));
    2626  $Title = substr($Content, 0, strpos($Content, '<'));
Note: See TracChangeset for help on using the changeset viewer.