* @copyright 2004/2005 by gERD Schaufelberger * @package wombatSite * @subpackage test **/ include_once '../include/wbFactory.php'; wbFactory::configure(); $cm =& wbFactory::singleton( 'wbContentManager' ); $content = <<date://%H:%M:%S

Foo Bar

This is normal Text! There is no reason to thing otherwise...


Let's try to insert some stupud dynmaic date://%H:%M:%S FOO content

This is normal Text! date://%c for example


Foo Bar

Foo Bar

Foo Bar
HERE WE GOlink://path/home/ Text! link://http/www.google.com|search/Search The Google n to thing otherwise...


Let's try to insert some stupud dynmaic date://%H:%M:%S FOO content

This is normal Text! date://%c for example

example://bar/foo

EOS; $xml = $cm->transform( $content, 'xml' ); echo '

XML

' .nl2br( htmlspecialchars( $xml ) ); $html = $cm->transform( $xml, 'html' ); echo '

HTML

' .nl2br( htmlspecialchars( $html ) ); //$cm->saveContent( $title, $con['content'], $author ); //$cm->activateDraft( $title ); $fake = $cm->transform( $xml, 'fake' ); echo '

Fake

' .nl2br( htmlspecialchars( $fake ) ); wbDebugger::printMsg(); ?>