RE: [SMARTY] RSS block
| From: | Scott Matthewman | Date: | Tue, 29 Oct 2002 14:39:38 +0000 |
| Subject: | RE: [SMARTY] RSS block | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6259@lists.php.net to get a copy of this message | ||
Just shoving in my two penn'orth here, since I'm just about to unleash about
80 different RSS feeds from my own site when it relaunches next week...
Parsing RSS files is really outside Smarty's area of interest. Think of RSS
as being a source of data, albeit one that is a text file with XML markup
rather than, say, a DBMS system like MySQL. With databases, you write some
code that gets the data you need and converts it into Smarty variables. It's
the same with RSS files; all you need to do is get the incoming RSS file
parsed into Smarty variables.
There are loads of parser classes out there. Have a scout round
http://www.phpclasses.org/. One that I'm going to be
using to demonstrate
the contents of my RSS feeds is at
http://www.phpclasses.org/browse.html/package/80.html
- it's not the most
advanced, but it suits my needs.
Scott
> -----Original Message-----
> From: André Rabold [mailto:arabold@nero.com]
> Sent: 29 October 2002 06:45
> To: smarty-general@lists.php.net
> Subject: Re: [SMARTY] RSS block
>
>
> The same RSS question was also postet in php.smarty.dev. I have posted a
> small function (not yet a block function) there. Perhaps you are
> interessted?
>
> "Costi" <costin@gmx.net> schrieb im Newsbeitrag
> news:20021029023518.18719.qmail@pb1.pair.com...
> > Scott Barron wrote:
> >
> >
> > > What do you think of this? Feel free to reply to me off-list
> if it gets
> > > to be too off-topic.
> > >
> > > -Scott
> > >
> >
> > Please share with the list. I'm interested too how it comes out.
> >
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>