Needs an rssx /stop command.
JB > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Shawn K. Hall > Sent: Saturday, February 14, 2004 9:00 PM > To: [DQSD-Devel] SF. net; [DQSD-Users] SF. net > Subject: [DQSD-Devel] RSSX: RSS Parsing Search (beta) > > > Hello all, > > I'm attaching a 'beta' RSS parsing search which will > currently parse valid RSS .9, .91, .92, 1.0, 2.0 and many > other RDF feeds. If anyone can provide me with links to other > RSS version feeds, I'll be happy to TRY to make it capable of > working with all of them. :) > > [Usage]: > rssx url-of-rss-feed > > [Variables]: > //the number of milliseconds between 'popping' the next > //rss feed result in the popup box. This will set the > //popup timeout to 5 seconds: > rssxTimeOutAfter = 5000; > > [Examples]: > rssx http://ReliableAnswers.com/rss.asp > rssx http://ReliableAnswers.com/jobs/news-rss.asp > rssx http://slashdot.org/slashdot.rdf > rssx http://royo.is-a-geek.com/SiteFeeder/GetFeed.aspx?FeedId=30 > rssx http://regexlib.com/Rss.aspx > rssx http://royo.is-a-geek.com/SiteFeeder/GetFeed.aspx?FeedId=42 > rssx http://www.lockergnome.com/lockergnome.xml > rssx http://royo.is-a-geek.com/SiteFeeder/GetFeed.aspx?FeedId=27 > rssx http://news.netcraft.com/index.rdf > rssx http://www.benmeadowcroft.com/rss/weblog.rdf > rssx http://www.eff.org/rss/press.xml > rssx > http://www.vbaccelerator.com/home/The_Site/Indexes/RSS_Feeds/WhatsNew/ > rss.xml > rssx http://www.mvps.org/emorcillo/news.xml > > [Advanced]: > One of the nifty things about this search is that you can > 'daisy-chain' this search one after another in the box or in > code and it'll append the popups to the end of the queue. If > you want to have it display a dozen RSS feeds from different > sources every hour you can put this code in your localprefs > (untested, but it stands to logic): > > function myfeeds(){ > rssx http://ReliableAnswers.com/rss.asp > rssx http://ReliableAnswers.com/jobs/news-rss.asp > rssx http://slashdot.org/slashdot.rdf > rssx http://royo.is-a-geek.com/SiteFeeder/GetFeed.aspx?FeedId=30 > rssx http://regexlib.com/Rss.aspx > rssx http://royo.is-a-geek.com/SiteFeeder/GetFeed.aspx?FeedId=42 > rssx http://www.lockergnome.com/lockergnome.xml > rssx http://royo.is-a-geek.com/SiteFeeder/GetFeed.aspx?FeedId=27 > rssx http://news.netcraft.com/index.rdf > rssx http://www.benmeadowcroft.com/rss/weblog.rdf > rssx http://www.eff.org/rss/press.xml > rssx > http://www.vbaccelerator.com/home/The_Site/Indexes/RSS_Feeds/WhatsNew/ > rss.xml > rssx http://www.mvps.org/emorcillo/news.xml > setTimeout("myfeeds()",3600000); > } > myfeeds(); > > > [Problem / Why it's Beta]: > Here's the crux. I've got it working for all but one of the > RSS feeds I had in my RSS collection (which is dozens of > feeds from various sources). > > BEWARE attempting to test it using this feed, since it WILL > crash DQSD, and probably Windows while it's at it. The crash > occurs immediately upon calling send() from the xmlhttp > object. I don't know why. In fact, I have ABSOLUTELY NO idea > (which is strange for me). It just stalls, freezing up > everything. I'm using asynchronous calls and spiffy function > loading, array chaining, every optimization I can think of to > make this code sweet, portable, dynamic and effective, while > using the smallest footprint (and yes, 11 kb of code WAS > really necessary to make this thing parse that wide a variety > of RSS feeds). > > Are you ready for a laugh? The only feed that it COULD NOT > parse is the syndication feed FROM THE W3C: > rssx http://www.w3.org/2000/08/w3c-synd/home.rss > For some reason their server doesn't respond to the xmlhttp > object, but it will to PERL GET, IE, Mozilla, Netscape and > other shtuff. I've played with the headers but just can't get > it to work. :( > > Oh, and I do not *think* it is the stylesheet that they've > embedded, since it should *still* return something to the > client (and make it as far as the 'finished loading' > onreadystatechange=4), but it doesn't. It just freezes > immediately upon send(). The Ben Meadowcroft site ( > http://www.benmeadowcroft.com/rss/weblog.rd> f ), for example, > uses a stylesheet as well, but my code > processes and returns correctly. > > Any advice/thoughts are very much appreciated! > > Regards, > > Shawn K. Hall > http://ReliableAnswers.com/ > > '// ======================================================== > "I have discovered that all human evil comes from this, > man's being unable to sit still in a room." > -- Blaise Pascal (1623 - 1662) > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ DQSD-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-devel
