* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
// Some security stuff...
if (!defined('__SECURITY')) {
- die();
+ exit();
} // END - if
// Special file
addYouAreHereLink('guest', __FILE__);
if ((!isExtensionActive('wernis')) && (!isAdmin())) {
- displayMessage(generateExtensionInactiveNotInstalledMessage('wernis'));
+ displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=wernis%}');
return;
} // END - if
-outputHtml('<div style="padding-left: 10px; padding-right: 10px">');
+// Init PDF/RDF parser class
$rdf = new fase4_rdf();
-$rdf->_use_nl2br = false;
-$rdf->use_dynamic_display(false);
+$rdf->_use_nl2br = FALSE;
+$rdf->_finishCallback = 'compactContent';
+$rdf->use_dynamic_display(FALSE);
$rdf->set_CacheDir(getCachePath() . '');
$rdf->set_salt(md5(getSiteKey()));
$rdf->set_max_item(10);
$rdf->parse_RDF('http://www.wds66.com/rss.xml');
-// Fix to avoid 'headers already sent' bug. Thanks to Profi-Concept
-outputHtml($rdf->finish(true));
-outputHtml('</div>');
+// Load template
+loadTemplate('guest_wernis_news', FALSE, $rdf->finish(TRUE));
// [EOF]
?>