discover

How To Discover RSS Feeds for a given URL

I get a URL from a user. I need to know: a) is the URL a valid RSS feed? b) if not is there a valid feed associated with that URL using PHP/Javascript or something similar (Ex. http://techcrunch.com fails a), but b) would return their RSS feed) Edit: See my answer below ...

Best way to list a Merb::Slices dependencies?

Hi, I'm creating a list of the Slices in my Merb app, like this: Merb::Slices.each_slice do |slice| I'd like to get the list of dependencies for each of this slice, any idea how to access it? I'm still reading merb code, solution might come soon ;) ...

Is "tip-of-the-day" good?

Many programs (often large ones, like MS Office, The GIMP, Maxthon) have a feature called "tip-of-the-day". It explains a small part of the program, like this one in Maxthon: "You can hide/show the main menu bar by pressing Ctrl+F11" You can usually browse through them by clicking next. And other options provided are "Previous", "Close...

Discover Microsoft SQL Servers on an Internal Network

What is the proper way using .NET to discover the Microsoft SQL Servers on your internal network? I think the SQL Management interface back in the SQL Server 7 days gave you a list of servers in a dropdown. How could I do the same thing with .NET 3.5. ...

OSGi : How can a Service auto discover client bundles deployed at runtime?

Hi, I have a scenario where during the system install time, a few services were deployed on to the OSGi container and these services will be listening for other bundles that provide data and are dynamically installed and uninstalled at runtime. These data providers do not expose any services and should not even invoke services; my id...

How do you set the correct Content-Length header when the webserver automatically compresses output?

Following my previous question, in which I think I've narrowed my problem down to the bottleneck: How do I set the correct value for the Content-Length header for a downloadable file, from within PHP, when the webserver (apache) automatically compresses the ouput afterwards? I'm looking for the most robust/generic solution. I'm not wel...

cannot install rails plugins

My problem is: ruby script/plugin is not working (I don't see any HTTP traffic, nor an error message or something) What can be failing? Did I forget to setup something? My progress so far (using Windows XP): Unpacked hxxp://files.rubyforge.vm.bytemark.co.uk/rubyinstaller/ruby-1.9.1-p378-i386-mingw32.7z (to d:\prog\Ruby) Unpacked hxxp:...

How To Discover RSS Feeds for a given site.

The quest is, given a site url (say http://stackoverflow.com/ ) to return the list of all the feeds available on the site. Methods acceptable: a) use a 3rd party service (google?, yahoo?, ...) programmatically b) using a crawler/spider (and some tips on how to configure the spider to return the rss/xml feeds only) c) programmatically u...