RE: [SMARTY] Newsreader developed with Smarty
| From: | Hoffman, Geoffrey | Date: | Sun, 29 Jun 2003 06:25:19 +0000 |
| Subject: | RE: [SMARTY] Newsreader developed with Smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9790@lists.php.net to get a copy of this message | ||
Luc Saint-Elie wrote:
> I'd like to provide on a personal site read only access to a
> newsgroup.
> has anybody seen a news reader php script that could be ported to
> Smarty ?
Here's the nntp class at http://pear.php.net/
http://pear.php.net/get/Net_NNTP-0.1.tgz
I downloaded it, put it in my include path, and within five minutes I was
reading a newsgroup on a php webpage. You ought to be able to adapt it into
smarty pretty easily... just stick the news headlines into an array,
$smarty->assign(it) to a looping table row.
HTH-
Geoff Hoffman
ghoffman@aztrib.com