Author |
Message |
charleyhankins
Joined: 28 Aug 2006
Posts: 12
|
Posted: Wed Nov 15, 2006 12:49 am |

|
|
 |
 |
charleyhankins
Joined: 28 Aug 2006
Posts: 12
|
Posted: Wed Nov 15, 2006 12:53 am |

|
... and here is my code for RSS Mesh.
Code: |
$useOutputCaching = 1;
$outputCacheTTL = 3600;
$XMLTemplate = "rssMesh_Template.xml";
$sortOutputByPubDate = 0;
$feedList = Array(
// Entry #1
Array("fileURL" => "http://www.eldoradopublicschools.com/cafeteria3.xml",
? ? ? "itemCount" => "6",
? ? ? "feedTTL" => "3600"
? ? ? )
);
?>
|
|
|
|
 |
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Wed Nov 15, 2006 6:43 am |

|
charleyhankins wrote: |
... and here is my code for RSS Mesh.
Code: |
$useOutputCaching = 1;
$outputCacheTTL = 3600;
$XMLTemplate = "rssMesh_Template.xml";
$sortOutputByPubDate = 0;
$feedList = Array(
// Entry #1
Array("fileURL" => "http://www.eldoradopublicschools.com/cafeteria3.xml",
? ? ? "itemCount" => "6",
? ? ? "feedTTL" => "3600"
? ? ? )
);
?>
|
|
I think I have fixed the problem and emailed you a newer version of rssMesh.php.
Jim
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
charleyhankins
Joined: 28 Aug 2006
Posts: 12
|
Posted: Wed Nov 15, 2006 10:05 am |

|
|
 |
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Wed Nov 15, 2006 10:14 am |

|
How long has it been since you tried the updated version? Since you have $useOutputCaching = 1; it will take 1 hour for the changes to show up.
Jim
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Wed Nov 15, 2006 11:14 am |

|
Something else funny is going on, because when I look at the page I see the HTML the makes up the output for the menu.
Jim
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Wed Nov 15, 2006 11:31 am |

|
Lets start from scratch here.
* You have a feed http://www.eldoradopublicschools.com/cafeteria3.xml
* You want to show the current day's menu on your webpage
If you are only displaying the HTML for the current days menu and don't supply access to the XML all you need is rss2html.php. That will convert your RSS feed to html that can be included into the page. You can also right in there limit to only 1 item and to not display items in the future. Where ever you have it installed you can use the buildURL utility to help, rss2html.php?buildURL
Jim
|
_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/
FeedForAll Mac and rss2html.php
|
|

|
 |
charleyhankins
Joined: 28 Aug 2006
Posts: 12
|
Posted: Fri Nov 17, 2006 11:19 am |

|
|
 |
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2806
|
Posted: Fri Nov 17, 2006 11:24 am |

|
|

|
 |
charleyhankins
Joined: 28 Aug 2006
Posts: 12
|
Posted: Fri Nov 17, 2006 12:42 pm |

|
Yep. That seems to be a beautiful thing.
Thanks for all your work!!
CH
|
|
|
 |
 |
|