Log in

View Full Version : Repository Loads, Cannot Load RSS Apps


travistubbs
January 20th, 2010, 02:10 PM
Since Boxee has removed My Feeds from Boxee (hopefully only temporarily), I've been trying to make my own RSS App to fill the void.

Following the guide at http://www.fuzzthed.com/rsstutorial.php, I'm pretty sure I did everything exactly (including the extra space at the end of the XML files). The Repository is recognized by Boxee, but when attempting to load any apps on the repository, the loading graphic appears for a moment, but nothing else happens (still shows apps in repository).

Obviously, I'm missing something, but I have yet to figure out what it is. The App I'm trying first is one that highlights certain features from GameTrailers. I know these feeds work because they loaded perfectly when using the My Feeds section in Boxee.

My Directory structure is as such.
http://dir.MYDOMAIN.net/
http://dir.MYDOMAIN.net/index.xml
http://dir.MYDOMAIN.net/repository.xml
http://dir.MYDOMAIN.net/thumb.png

http://dir.MYDOMAIN.net/apps/
http://dir.MYDOMAIN.net/apps/gtfeatures/
http://dir.MYDOMAIN.net/apps/gtfeatures/descriptor.xml
http://dir.MYDOMAIN.net/apps/gtfeatures/thumb.png
http://dir.MYDOMAIN.net/apps/gtfeatures/rss.xml

http://dir.MYDOMAIN.net/download/
http://dir.MYDOMAIN.net/download/net.MYDOMAIN.dir.gtfeatures-1.0.zip

So far, so good, I assume. My index.xml looks like this
<apps>
<app>
<id>net.MYDOMAIN.dir.gtfeatures</id>
<name>GameTrailers Features</name>
<version>1.0</version>
<description>Special Features from GameTrailers.com</description>
<thumb>http://dir.MYDOMAIN.net/apps/gtfeatures/thumb.png</thumb>

<repositoryid>net.MYDOMAIN.dir</repositoryid>
<repository>http://dir.MYDOMAIN.net/</repository>
<media>video</media>
<author>travistubbs</author>
<copyright>GameTrailers.com, DESTRUCTOID, ScrewAttack</copyright>
<email>software@MYDOMAIN.net</email>

<type>rss</type>
<platform>all</platform>
<minversion>0.9.7</minversion>

<url>rss://dir.MYDOMAIN.net/apps/gtfeatures/rss.xml</url>
</app>
</apps>

My repository XML looks like:
<repository>
<id>net.MYDOMAIN.dir</id>
<url>http://dir.MYDOMAIN.net/</url>
<name>MYDOMAIN.net</name>
<thumb>http://dir.MYDOMAIN.net/thumb.png</thumb>
<description>Personal Boxee Repository provided by MYDOMAIN.net</description>
</repository>

My app's descriptor.xml is set up as this:
<app>
<id>net.MYDOMAIN.dir.gtfeatures</id>
<name>GameTrailers Features</name>
<version>1.0</version>
<description>Special Features from GameTrailers.com</description>
<thumb>http://dir.MYDOMAIN.net/apps/gtfeatures/thumb.png</thumb>
<media>video</media>
<copyright>GameTrailers.com, DESTRUCTOID, ScrewAttack</copyright>
<email>software@MYDOMAIN.net</email>
<type>rss</type>
<platform>all</platform>
<minversion>0.9.7</minversion>
<url>rss://dir.MYDOMAIN.net/apps/gtfeatures/rss.xml</url>
<backgroundImageUrl></backgroundImageUrl>
</app>

And finally, the RSS file it references looks like:
<rss version="2.0" xmlns:boxee="http://boxee.tv/rss" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>GameTrailers Special Features</title>
<link>rss://dir.MYDOMAIN.net/apps/gtfeatures/rss.xml</link>
<description>Special Features from GameTrailers</description>
<language>en-us</language>
<item>
<title>Hey Ash, Whatcha Playin'?</title>
<description>Anthony and Ashly Burch enjoy videogames, surreal humor, cupcakes, and videogames. In that order.</description>
<link>rss://www.gametrailers.com/rssgenerate.php?...</link>
<boxee:image>http://dir.MYDOMAIN.net/apps/gtfeatures/thumb-hawp.png</boxee:image>
</item>
<item>
<title>Once Upon a Pixel</title>
<description>What if Mother Goose had written the stories to the greatest video games of all time?</description>
<link>rss://www.gametrailers.com/rssgenerate.php?...</link>
<boxee:image>http://dir.MYDOMAIN.net/apps/gtfeatures/thumb-ouap.png</boxee:image>
</item>
<item>
<title>ScrewAttack</title>
<description>ScrewAttack.com on GameTrailers</description>
<link>rss://www.gametrailers.com/rssgenerate.php?...</link>
<boxee:image>http://dir.MYDOMAIN.net/apps/gtfeatures/thumb-screwattack.png</boxee:image>
</item>
</channel>
</rss>

Once again, all the RSS feeds from GameTrailers are working feeds that Boxee was originally able to process just fine in the My Feeds app. I'm honestly at a lost as for what I could be doing wrong. Any ideas or suggestions? Thanks!

(Note: I'm making my real domain name as it's a personal domain for this only, as well as it's one of those "pay by bandwidth/disk space used" services, so I really can't afford everyone in the world hitting it. Yay for being unemployed!)

Fuzzgtp
January 20th, 2010, 04:19 PM
Make sure your xml files all have a blank line at the end. Also, check your logs, it should give you a good idea of what is happening

travistubbs
January 21st, 2010, 01:18 PM
I think I see what's going on. Reading over the log, Boxee is downloading the file just fine, BUT it's downloading it to the wrong location.

Boxee is looking for
C:\Users\USERNAME\AppData\Roaming\BOXEE\userdata\a pps\net.MYDOMAIN.dir.gtfeatures\descriptor.xml

When for some reason, Boxee is actually downloading the file to
C:\Users\USERNAME\AppData\Roaming\BOXEE\userdata\a pps\descriptor.xml

After manually creating the net.MYDOMAIN.dir.gtfeatures folder in C:\Users\USERNAME\AppData\Roaming\BOXEE\userdata\a pps\ and moving the downloaded descriptor.xml to that folder, the application started working fine.

So, now I'm left wondering if I still did something wrong or if this is a bug in the Boxee Beta. The app works great, but questions are left unanswered.

NOTE: To make things more confusing, this forum is adding an unnecessary space between the "a" and "pps" in the word "apps" in the file paths above.

travistubbs
January 21st, 2010, 08:11 PM
Upon investigating more, this issue I'm having occurs on both the Windows version (0.9.20.10356) and Mac version (0.9.20.10357). I went ahead and tried a Clean Install (uninstall app and delete all application settings) but the issue still occurs.

Since this is my first time at trying a Repository and Apps, I can't say if this was an issue in the Alpha as well.

Could this be an issue with my repository or an issue with Boxee? Honestly lost at this point.

DPK
January 21st, 2010, 08:16 PM
Can you post the link to your repo and I'll test it out? If you don't want to post it just shoot me a private message.

travistubbs
January 23rd, 2010, 10:31 AM
Sending you a PM right now. Thank you in advance!

Fuzzgtp
January 23rd, 2010, 11:22 AM
I AM almost positive your problem is the way your ZIP file is setup. IF your zipfile doenst have a folder in it first thing named net.MYDOMAIN.dir.gtfeatures then its going to just dump it into the default Apps directory.

travistubbs
January 29th, 2010, 12:40 PM
I AM almost positive your problem is the way your ZIP file is setup. IF your zipfile doenst have a folder in it first thing named net.MYDOMAIN.dir.gtfeatures then its going to just dump it into the default Apps directory.

After reading your response and thinking of the problem that's occurring, that sounds like exactly what the solution is. I'll give it a try and report back my findings.

(Sorry for the late reply. Forgot to subscribe to this thread when I posted it.)

travistubbs
January 29th, 2010, 01:01 PM
Fixing up the ZIP file with the appropriate folder was the solution. Don't know why I didn't come up with that earlier. I now have a problem with not being able to add the app to My Apps, but that's another problem for another day.

I really appreciate the help here! Maybe once I perfected this, maybe I'll see about opening this to the public. (Still a bandwidth/money issue for me.)