Show
Ignore:
Timestamp:
06/18/08 20:21:02 (7 months ago)
Author:
llaumgui
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ez_publish/myutils/trunk/classes/myutilsfunction.php

    r181 r182  
    5252                } 
    5353                $str = $tidy; 
     54        } 
     55 
     56         
     57         
     58        /** 
     59         * Permet de nettoyer le champ "description" d'un flux RSS 
     60         * 
     61         * @param string $str 
     62         */ 
     63        static function cleanRSSDescription( &$str ) { 
     64                 
     65                $str = preg_replace( '#<img src="/(.+?)" alt="(.?)" />#is',  '', $str );         
    5466        } 
    5567