Re: RSS First try

From: Date: Wed, 27 Mar 2002 08:55:32 +0000
Subject: Re: RSS First try
References: 1 2  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-9292@lists.php.net to get a copy of this message
> Of course goba, I was just waiting till it was finished :) > I'm attaching the parser here. My only concern is that > parsing the home page is not very reliable, because if > something changes it will break. > > I tried to make it as modular as possible so that the > data feed can be changed easily and the rss functions > reused. It includes the striptags() call as well. > > Please take a look at it and let me know. Remember that > it is built to be run against the index.php source, not > the processed output. > > I think that we should provide some code explaining > how to use this before the first howto e-mail arrives. > I think I'll write one as well. IMHO we should not distribute this PHP code, but the output as a single rss file, like http://anymirrror.php.net/news.rss We should run this parser with a cron job in a reasonable time frame, so this file could be updated regularly... Jim, can you put this PHP up to master.php.net, and tune it in for the autogeneration? I don't know how to do that, and have no account at rsync.php.net to set up a cronjob. Goba

« previous php.mirrors (#9292) next »