Re: creating rs2 newsfeeds

From: Date: Sun, 20 Jul 2003 16:57:04 +0000
Subject: Re: creating rs2 newsfeeds
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-155981@lists.php.net to get a copy of this message
Hello, On 07/20/2003 01:07 PM, Merlin wrote:
Can anybody give me a good start on how to write a newsfeed service
which is
dynamic? The goal is whenever a member publishes a story on the site, it should be included into the newsfeed.
You may want to try this class that does exactly what you ask: http://www.phpclasses.org/rsswriter
thanx, but I am looking for a method which I can forward to people without having to worry about php. Something like JavaSript. Something that even a person on geocities would enable to put the newsfeed on there page. Is this even possible?
Sure, just use that class to generate RSS feed and then use this Javascript feed viewer service to embed it peoples pages with a single HTML line. Here is an example: Original feed: http://www.phpclasses.org/browse.html/latest/latest.xml HTML tags to embed: <script language="javascript" src="http://publish.curry.com/rss/rss-box.r?url=http://www.phpclasses.org/browse.html/latest/latest.xml&align=left&width=200&frameColor=black&titleBarColor=%23add8e6&titleBarTextColor=black&boxFillColor=white&textColor=black&fontFace=&maxItems=7&compact=&xmlButton=&javascript=true"></script> Feed viewer page: http://publish.curry.com/rss/?url=http%3A%2F%2Fwww.phpclasses.org%2Fbrowse.html%2Flatest%2Flatest.xml&width=200&align=left&frameColor=black&titleBarColor=%23add8e6&titleBarTextColor=black&boxFillColor=white&textColor=black&fontFace=&maxItems=7&setup=true -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/

« previous php.general (#155981) next »