From: <ad...@xe...> - 2003-02-08 16:28:06
|
Mike wrote: > This demo that Jon talks about it very similar to KnowNews - streaming > news items with discussion on the side. The discussions aren't saved > anywhere, but, like, that, what, is so easy, dude, come on. Thanks for the reminder about KnowNews, I linked to it from the kn_apps/index.html page and checked the new index.html in. I'll have to make a new tarball soon, I keep committing small but useful changes. Make sure if you have a CVS checkout to regularly do CVS updates so you stay... er... up to date. For example, do_method=whoami was added to pubsub.py ... of course, when running pubsub.py I see that clens does not, at present, work. Will need to go through it carefully to determine why. > The only thing this needs is a service that emits RSS news items - > this is a situation where doing a GET can create or start processing, > yet can still be safe and idempotent. Good point. > You do a GET with the URI being the service combined with the RSS feed > you want & this kicks off the polling monster to start periodically > fetching RSS and returning it in a mod_pubsub stream (if it isn't > already doing it for another client). When there are no more clients, > then you stop. The new check-in of cxx_pubsub, among other things, contains mod_pubsub/cxx_pubsub/LibKN/Apps/RSSPub which could be used to create such a service. It uses the new LibKN (sorry Fred, there are multiple libkn's now!) available in cxx_pubsub, based on a C++ framework that has the following features: * Supports all Windows platforms: Win98, WinME, WinNT, Win2K, WinXP, and WinCE 3.0. * Multiple interfaces to the C++ code: COM/ActiveX and .NET. * Thread-safe supporting multithreaded applications. * Doxygen comments. * cppunit-based unit tests. * Sample applications. * Based on WinInet to support proxies and SSL easily. Check it out, you won't be disappointed. > You could alternatively POST to a special service with the RSS > location and the mod_pubsub destination, but you can't code that in a > URL that you pass to kn.subscribe(url) Another good point. Mike's on a roll. :) ---- aD...@Xe... Websites Complaining About Screen-Scraping Posted by michael on Friday February 07, @03:18PM from the there's-always-a-whiner dept. wilko11 writes "There have been two cases recently where websites have requested the removal of modules from CPAN. These modules could be used to access the websites (EuroTV and Streetmap) from a PERL program. The question being asked on the mailinglists (threads about EuroTV and about Streetmap) is 'can companies dictate what software you can use to access web content from their server?'" -- http://yro.slashdot.org/yro/03/02/07/1849243.shtml?tid=156 (as pointed out by the ever-knowing Greg Burd... :) |