]> git.mxchange.org Git - mailer.git/blob - inc/modules/guest/what-blog.php
Added local files + mods
[mailer.git] / inc / modules / guest / what-blog.php
1 <?php
2 /************************************************************************/
3 /* M-XChange v0.1.0                                   Start: 10/19/2003 */
4 /* ================                             Last change: 10/19/2003 */
5 /*                                                                      */
6 /* -------------------------------------------------------------------- */
7 /* File              : what-                                            */
8 /* -------------------------------------------------------------------- */
9 /* Short description :                                                  */
10 /* -------------------------------------------------------------------- */
11 /* Kurzbeschreibung  :                                                  */
12 /* -------------------------------------------------------------------- */
13 /*                                                                      */
14 /* -------------------------------------------------------------------- */
15 /* Copyright (c) 2003 by Roland Haeder                                  */
16 /* For more information visit: http://www.autoinstaller.de              */
17 /*                                                                      */
18 /************************************************************************/
19
20 // Some security stuff...
21 if (!defined('__SECURITY')) {
22         die();
23 } // END - if
24
25 // Add description as navigation point
26 addYouAreHereLink('guest', __FILE__);
27
28 // Special file
29 loadIncludeOnce('inc/classes/rdf.class.php');
30
31 // Load template
32 loadTemplate(substr(basename(__FILE__), 5, -4));
33
34 outputHtml('<div style="padding-left: 10px; padding-right: 10px">');
35 $rdf = new fase4_rdf();
36 $rdf->_use_nl2br = FALSE;
37 $rdf->_finishCallback = 'compactContent';
38 $rdf->use_dynamic_display(FALSE);
39 $rdf->set_CacheDir(getConfig('PATH').'inc/cache/');
40 $rdf->set_salt(md5(getConfig('SITE_KEY')));
41 $rdf->set_Options(
42         array(
43                 'textinput' => 'hidden',
44                 'sitelink'  => 'http://status.mxchange.org'
45         )
46 );
47 $rdf->set_max_item(10);
48 $rdf->parse_RDF('http://status.mxchange.org/index.php/api/statuses/public_timeline.rss');
49 outputHtml($rdf->finish(TRUE));
50 outputHtml('</div>');
51
52 // [EOF]
53 ?>