Did you know - YouTube Search and RSS

, posted: 20-Jun-2009 16:26

In this weeks first (and probably last) thrilling installment of "Did You Know", where James tells you things that everybody else probably already knows...

Did you know, you can use complex boolean searches at YouTube, and get these out as an RSS feed, but that you may need to fiddle with the feed url to get it to work properly.

You can use:

  quoted strings
  parenthesis ( .... )
  "-" for negation (or is it just excluding the next word)

in searches.  For example here is a search I just conducted:

("light sport aircraft" OR (microlight OR ultralight OR lightsportaircraft OR lsa)) AND -ultralightnews

Fancy huh.  You can grab this as an RSS by using the rss link in your browser should it provide it, however take note, that YouTube seems to cut the query short in the RSS link if it's too long (and doesn't fully evaluate it either if you force it), and it does not return in the expected "most recent upload" order, so some modification of the string is necessary to make it useful.  Here's the RSS feed for the above search


Other related posts:
Toshiba FlashAir quickly hacked togethor syncronisation script
Equivalent Parallel Resistor Network Finder Using Your Personal Stock List
Stuff: "Beside Vigil"

Add a comment

Please note: comments that are inappropriate or promotional in nature will be deleted. E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.

Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and placed in the moderation queue for the blog owner's approval.

Your name:

Your e-mail:

Your webpage:

sleemanj's profile

James Sleeman
New Zealand

PHP Programmer Extraordinaire

All views expressed are held by the poster, not necessarily any person or organisation associated therewith.