RE: [SMARTY] Newsreader developed with Smarty
| From: | Luc Saint-Elie | Date: | Sun, 29 Jun 2003 08:21:44 +0000 |
| Subject: | RE: [SMARTY] Newsreader developed with Smarty | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9791@lists.php.net to get a copy of this message | ||
Thanks a lot Geoffrey,
This w as exactly what I was looking for.
I use PEAR for BD and other stuff but I forgot to look for a NNTP class.
Luc
At 23:25 28/06/2003 -0700, Hoffman, Geoffrey wrote:
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.=========================================
Luc Saint-Elie - Journaliste
7, rue Androuet 75018 Paris
------------------------------------------
telephone: 01 42 57 20 28 / 06 12 90 19 65
email : luc@saint-elie.comWeb : http://www.saint-elie.com =========================================