Sunday, April 18, 2010

Service status and new podcasting application

As many of you have already noticed some time ago, RSSHANDLER.COM stopped working as it was working earlier and stopped servicing podcasts. The reason for this problem are recent YouTube format changes. I can describe it in details, but basically, problem is that video, must be downloaded from the same IP that issues request. And it causes a lot of problems for hosted services like RSSHANDLER. Hopefully, something will change or someone will find solution and will share it with everyone and one day service will continue to work, as it was easiest way to watch YouTube podcasts.

But problem is still here and podcasts are not working. So, I decided to find some solution (maybe temporary), and today I am ready to make it public. It functions similarly RSSHANDLER.COM, but it is not hosted on server in the internet, but on user's own computer. So, it is standalone application. It is quite new, so expect some bugs and glitches, but it was already tested with several brave users, and general response is positive.

As special bonus, I have already implemented several long awaited features, like 50 results per feed and feed ordering. Also, as there is no traffic issues for application, now it is possible to return item descriptions.

There are pluses and minuses for application compared to service:
Pluses:
  • does not depend on service, so will work even if service is down
  • open sourced, so if you want, you can add your own features
  • better customization, it is possible to implement more features in application then in service

Minuses:
  • requires installation

Installation
  1. Program requires Java to run. Download Java at http://www.java.com/. Download it and restart browser or computer if required.
  2. Click at http://rsshandler.googlecode.com/files/rsshandler.jnlp . It will start launching and downloading of required components. Accept all prompts. It will start program and podcast server.

Usage

Create podcast URL

  1. Start server
  2. Enter type of feed you need: user (channel), playlist, favorites.
  3. Enter feed id. It is user name for user feed (for example Google), playlist id for playlists (for example 288B4A1BBFEF7424), user id for favorites (for example Google).
  4. Click Generate podcast URL button.
  5. Copy/paste this url into your podcast application (for example iTunes)
  6. Watch

Updating podcasts
Server must be running all the time when you doing updates (or all the time when podcast application is running, if updates are automatic)

  1. Just launch application, server starts automaticaly

General application installation is described at http://code.google.com/p/rsshandler/, and all technical updates and documentation will be stored there. You can also find some tips there.

Application is still new and there is defenitely a lot of bugs, so please report anything you find here in comments or at http://code.google.com/p/rsshandler/issues/list, also please offer new features and improvements the same way.

There is Google Group at http://groups.google.com/group/rsshandler for technical and general discussion about application, so if you have some question please create new topic there or post comments. If you plan to contribute, also register and post requests to Google Groups.

As about what will be with RSSHANDLER.COM, I don't plan to shutdown anything yet. I plan to freeze web site for few monthes, put memos on every page about new opportunities with application. If it will not become possible to restore service in this period, I plan to turn RSSHANLDER.COM into application's web site.

12 comments:

TTNY said...

Hello:

Is it possible to use the same proxy port/address as IE's? In China(P.R.C),Youtube is not available directly. So we have to use "127.0.0.1/port:8580"to connect to youtube. But it seems that it is not working currently with the 3.0 java file.
Thanks!!

Jane Sr. said...

I'm having trouble downloading the application. It only opens as a text file in notepad for me. I've downloaded the newest Java...any ideas how to install it?? I'm running windows 7 if that makes a difference.

Dmitry said...

Zhiang, it is basically how it should be - it should use browser's configured proxy server. Please check proxy configuration options at http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/proxie_config.html , if nothing will help, I can built-in some hardcoded proxy configuration. Please, let me know how is it going - I am really interested.

Dmitry said...

Catt, it actuallly looks like there is no correct extension association for web start application - it should use javaws.exe to open files with JNLP extension.
Is it possible that Java installation was not finished? For example, it asked to restart computer and you didn't?
If that will not help, when opening file, there is usually menu for opening file (both for Firefox and Internet Explorer) where you can select program that you want to use to open file. If it was not detected automatically you can specify it manually, it should be something like: C:\Program Files\Java\jdk1.6.0_11\bin\javaws.exe
What browser do you use?
Another option (bad!) is to save this jnlp file somewhere and to open it (Right Click->Open with...->Choose programm->Browse) with same C:\Program Files\Java\jdk1.6.0_11\bin\javaws.exe program.
But I really think it should work from browser after reboot.

todd said...

hey. i'm running into some issues with youtube's new "Sorry for the interruption. We have been receiving a large volume of requests from your network. To continue with your YouTube experience, please enter the verification code below." captcha nonsense. the feed from rsshandler returns that and itunes freaks out. any suggestions?

nickx said...

I generated one url below:
http://nicks-imac.local:8083/standard?id=recently_featured&format=18&host=Nicks-iMac.local&port=8083&size=25&orderby=published&removeDescription=true&removeTitle=false

but iTunes showed an error. so I navigate the url in a browser, it shows the follow page:

HTTP ERROR 500

Problem accessing /user.rss. Reason:

Server returned HTTP response code: 400 for URL: http://gdata.youtube.com/feeds/base/users/http://www.youtube.com/user/trailers/uploads?alt=rss&v=2&max-results=25&orderby=published
Caused by:

java.io.IOException: Server returned HTTP response code: 400 for URL: http://gdata.youtube.com/feeds/base/users/http://www.youtube.com/user/trailers/uploads?alt=rss&v=2&max-results=25&orderby=published
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
at com.rsshandler.servlets.RssServlet.doGet(RssServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:427)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
at org.eclipse.jetty.server.Server.handle(Server.java:334)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
at java.lang.Thread.run(Thread.java:637)

Dmitry said...

todd: I have never seen such issue, maybe you could provide some more details about it?
If it requires some attachments or something, you can create new issue at http://code.google.com/p/rsshandler/issues/list

Dmitry said...

nickx: I tried it, but was not able to reproduce. Could you please try it with 3rd version at http://rsshandler.googlecode.com/files/rsshandler-3.0.jnlp

Matt Maldre said...

thanks for opening your code to us. I love your service and being able to subscribe to friend's youtube videos in iTunes.

I try to launch rsshandler.jnlp on my Mac OS 10.5.6 and I get an error stating, "The application has requested a version of the JRE (version 1.6+) that is not installed. Java.com says, "Apple Computer supplies their own version of Java. Use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java for your Mac."
http://www.java.com/en/download/manual.jsp

I already have the most up-to-date version of Java on my Mac. Bummer, so it looks like this won't work for Macs.

WildKard said...

i use the channel-> podcast feature, and i say that it works very well, but saw a few limits, mainly:
1) number of initially downloaded pocast eps. 50 is max. tried editing thee the generated url beyond size=50, the rss feed stops working.it still works with size=49 but not size=51. (i'm trying to download a 140+ video channel)
2) restricted videos do not download with err 500. these videos need the 18+ age (or youtube/google acct user login) to be viewed.

Aleksandr Kravets said...

hello. your software is great. but i still have a question. is there any way to choose quality of downloaded video? i'm asking because 120mb is size of one item in podcast and it is little to much for my internet connection. normal size of that video in LQ is about 18mb (when getting it from cache).

SWM said...

Hi,

Great idea for an app. However, it seems that YT has changed their feed format again. Now, if I clicked on the MP4 attachment in the generated feed (by RSSHandler), it tells me "Could not find video" with a machid error

What are your thoughts and can that be fixed, please ?