Okay,
I've seen RSS discussions before (there are mods for sale out there) but I thought I might try to do some tweeking myself based off some code another person wrote. I think I've got a pretty hot idea that could work but I'm missing one or two small details that I hope you guys can help me with.
Please take a look at:
http://madhatterrgames.com/rss2html.php?XMLFILE=http://madhatterrgames.com/phpBB3/generate_feed.php%3fcont...tml&MAXITEMS=1
That's what the feed will look like at the top of my center/right area on this page (and, because of where I'm putting it in the home.tpl file, all my pages)
http://www.madhatterrgames.com/home.php ... on the home.php page it would appear just above the category images.
The code I'd like to put into the home.tpl would look something like this (I think):
Code:
<?php
$XMLFILE = "http://madhatterrgames.com/phpBB3/generate_feed.php?content=posts&f%5B%5D=17&number_items=1&sid=3043e6c2e27b05430edc3ddff7d95c4b";
$TEMPLATE = "http://madhatterrgames.com/sample-template.html";
$MAXITEMS = "1";
include("rss2html.php");
?>
or
Code:
<?php
include("http://madhatterrgames.com/rss2html.php?XMLFILE=http://madhatterrgames.com/phpBB3/generate_feed.php%3fcontent%3dposts%26f%255B%255D%3d17%26number_items%3d1%26sid%3d3043e6c2e27b05430edc3ddff7d95c4b&TEMPLATE=http://madhatterrgames.com/sample-template.html&MAXITEMS=1");
?>
Initially I tried putting the first in without the <?php tag and the ?> end tag. No dice. Second I tried the same with the second and then with putting { } around hte include command making sure to try it with a space before and after the include command.
All three attempts failed and produced errors. I'm pretty sure I should be able to make this appear in the home.tpl ... I'm just failing in the execution of it. LOL
Could someone please give me a hand with this one. I promise eternal gratitude and cookies if we ever meet face to face. *wink*
-Dee
