Results 1 to 6 of 6

Thread: Boxee App with Website Parsing in Javascript?

  1. #1
    Join Date
    Dec 2010
    Location
    Brossard, QC
    Posts
    5

    Default Boxee App with Website Parsing in Javascript?

    Hi,

    I'm a web developer and I want to know if it's possible to create a Boxee app that will parse a website to retrieve show and episodes info in JavaScript?

    I know it can be done in Python, but not being very good with it, I was wondering if there was another way to do it.

    Thanks!

  2. #2

    Default

    either way you will end up using python at some point. Not to familiar with js, but if you had it somewhere on a server that parsed it and put up xml would be the easiest.
    The Boxee Repository - An All-In-One Solution for your 3rd party repositories.
    Like Fuzzthed.com on Facebook

  3. #3
    Join Date
    Dec 2010
    Location
    Brossard, QC
    Posts
    5

    Default

    Quote Originally Posted by Fuzzgtp View Post
    either way you will end up using python at some point. Not to familiar with js, but if you had it somewhere on a server that parsed it and put up xml would be the easiest.
    Ok so it could be PHP? Any tutorial on this?

  4. #4

    Default

    Quote Originally Posted by Alexandr3 View Post
    Ok so it could be PHP? Any tutorial on this?
    Boxee apps themselves either have to be coded in Python or skinless apps that use RSS feeds. You can use PHP on a remote server to generate an RSS feed and pull that into a Boxee app if you want, but you can't use PHP to code a Boxee app.

    Hope that clarifies. In the end you will eventually hit the Python wall.
    Common issues w/ Boxee:
    Beta Important Info | FAQ & Support Requests | Hulu Mature Content | Search

    UnBoxeed app development:
    Comics.com | ESPN360 | Weather

    For more info, follow app development on Twitter!

  5. #5
    Join Date
    Jan 2009
    Posts
    172

    Default Google AppEngine

    You can use Google's AppEngine to serve your parser/scraper. It's free for up to a few million hits a month.

    You will have to use Java or Python but parsing code is fairly simple, it's mostly print statements and regular expressions. For the regex I just use this website to generate the code: http://txt2re.com/

    See my source code in this post: http://forums.boxee.tv/showthread.php?t=23293
    Last edited by pahtz; December 7th, 2010 at 06:37 AM.

  6. #6
    Join Date
    Dec 2010
    Location
    Brossard, QC
    Posts
    5

    Default

    Quote Originally Posted by DPK View Post
    You can use PHP on a remote server to generate an RSS feed and pull that into a Boxee app if you want..
    That's interesting and I understand it's used for content that gets updated chronologically (after all its an RSS feed).

    But is it adapted to a tv show/episode format where the data has to be scrapped regularly and the shows are alphabetically sorted?

    Quote Originally Posted by pahtz View Post
    You can use Google's AppEngine to serve your parser/scraper. It's free for up to a few million hits a month.

    You will have to use Java or Python but parsing code is fairly simple, it's mostly print statements and regular expressions. For the regex I just use this website to generate the code: http://txt2re.com/

    See my source code in this post: http://forums.boxee.tv/showthread.php?t=23293
    Thanks for these resources!

Similar Threads

  1. Can a Website you surf to be saved as a Favorite App???
    By vdowizard in forum Boxee Box help
    Replies: 1
    Last Post: February 8th, 2012, 11:13 AM
  2. javascript logs on boxee box?
    By cgg in forum boxee applications
    Replies: 1
    Last Post: January 30th, 2011, 01:52 PM
  3. Executing a big chunk of javascript code using javascript API
    By frankboxeetv in forum boxee applications
    Replies: 0
    Last Post: August 26th, 2010, 09:26 PM
  4. Boxee Parsing Logs?
    By jklondon in forum general boxee help
    Replies: 3
    Last Post: January 29th, 2010, 07:00 AM
  5. Javascript Boxee-App Creator [help]
    By Fuzzgtp in forum boxee applications
    Replies: 3
    Last Post: July 24th, 2009, 05:37 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •