Leo Charre > WordPress-API-1.10 > WordPress::Base::Text

Download:
WordPress-API-1.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WordPress::Base::Text - text helpers

SYNOPSIS ^

   use WordPress::Base::Text;

   my $content = slurp('./file');
   my $clean_content = cleanup_html($content);

   my $quick_clean = cleanup_html( slurp('./file');

SUBS ^

These are not oo

__slurp() and slurp()

argument is abs path, returns content if file not there, returns undef

__cleanup_html() and cleanup_html()

argument is html text, returns cleaned up, takes out font tags, etc

syntax highlighting: