Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I know how to get a feed of the videos a user uploaded:

http://gdata.youtube.com/feeds/base/users/KeepWatchingTheSkies/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile

And I know how to get a feed of the videos a user favorited:

http://gdata.youtube.com/feeds/base/users/KeepWatchingTheSkies/favorites?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile

Is there any way to get a combined feed containing both uploads and favorites? I can try to combine them manually, but if it's possible to get an already-combined feed from YouTube, that would be much preferable.

share|improve this question
    
Library here if you want it. :) gist.github.com/4052752 –  user28878 Nov 10 '12 at 22:24
    
And? What will one find behind that link? Why should I bother? Answers should be able to stand on their own. Someone looking for information who has been led here shouldn't have to follow yet another link to get closer to what they're seeking without some reassurance that they're getting closer. Further, when that link stops working this answer is worse than useless. –  Al E. Nov 11 '12 at 5:14
add comment

1 Answer

up vote 1 down vote accepted

I could see a couple of options to accomplish this:

  1. You could use Yahoo Pipes to quickly and easily generate a new feed with the combination of the 2 feeds you have already found. No code to write, easy to get started.
  2. You could write the code to combine the feeds manually as you suggested. Depending on how you plan to display or use the combined feed, you will want to take care in sorting to interleave the 2 feeds based on dates.
  3. You could use the YouTube Data API to request the activity feed for the user. This isn't as easy to try in a browser or RSS reader because you need to have, use, and send a developer key as part of the HTTP request headers in order to get results. Then you will want to filter out activity feed items that are not of interest to you - e.g. when a user subscribes to a channel, comments on a video, etc. According to your question you will just want to grab any entry elements where the category term is marked with 'video_uploaded' or 'video_favorited'. Here is the link to the documentation on using the YouTube activity feeds through the YouTube data APIs: Documentation on YouTube activity feeds
share|improve this answer
    
I'm taking your third suggestion, using the API. –  Ram Rachum Nov 21 '10 at 18:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.