0
Welcome Guest! Login
0 items Join Now

Need help to insert php script on the content

    • Chew Hoe Ang's Avatar

    Need help to insert php script on the content

    Posted 17 years 9 months ago
    • Hi

      I plant to use rss2html.php to insert rss feeds contents on the frontpage. However, so far I am not successful. Could anyone help me? My php script is as follows:

      <?php
      $XMLFILE = " dsc.discovery.com/news/topstories.xml ";
      $TEMPLATE = "coolsciencehub.com/Joomla/template_rssnews.html";
      $MAXITEMS = "15";
      $ALLOWXMLCACHE = "1";
      $XMLCACHETTL = "7200";
      $OUTCACHETTL = "5400";
      $OUTCACHENAME = "sst.html";
      include(" coolsciencehub.com/Joomla/rss2html.php ");
      ?>
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Need help to insert php script on the content

    Posted 17 years 9 months ago
    • Chew Hoe Ang's Avatar

    Re: Need help to insert php script on the content

    Posted 17 years 9 months ago
    • Hi

      Thanks. I install the kl_php. When I try on simple php codes eg echo a sentence, the kl_php does work beautifully. However, when I use the following php script, the rss feed content still does not appear. :( The content is blank on the frontpage. Is it because there is something wrong with the following php codes?

      {kl_php}
      $XMLFILE = " sst.pennnet.com/rss/articlefeed.cfm?section=BIZNW&p=5 ";
      $TEMPLATE = "template_rssnews.html";
      $MAXITEMS = "15";
      include(" coolsciencehub.com/Joomla/rss2html/rss2html.php ");
      {/kl_php}
  • Re: Need help to insert php script on the content

    Posted 17 years 9 months ago

Time to create page: 0.068 seconds