Results 1 to 7 of 7

Thread: ListItem.label and what else?

  1. #1

    Default ListItem.label and what else?

    I haven't really been able to find proper documention explaining how RSS feeds are parsed in Boxee. All I know is that every <item> is a ListItem in Boxee.

    But how are the sub-elements recognized? If the title was ListItem.title instead of ListItem.label, it would make more sense ... but that's not the case. So what do I do to call upon the other elements in the <item>? Like thumbnail, description, video length, etc.

    Thanks.

  2. #2

    Default

    bump. Can anyone help out?

  3. #3
    Join Date
    Jan 2009
    Location
    Akron, Ohio
    Posts
    4,992

    Default

    If you are talking about making an RSS app for boxee, try Fuzz's repo how to. http://www.fuzzthed.com/support.php
    THis got me going.
    First STOP-Issues with video playback in Boxee Beta?
    BOXEE Box

    Acer Revo R3610 Atom/ION Win-7 64 Review & Setup & Flash Setup
    Windows XP & ATV (sold)
    Windows Home Server OEM 3TB
    Judge's Apps-NBC News Video Podcast & SomaFM-2 at Boxee Repo

  4. #4

    Default property(propertyName)

    I think the call is the following:

    ListItem.property(<tagname>)

    <tagname> = name of tag in rss feed

    Replace the input with the names of the elements in the rss feed.
    I have no idea if the above is correct. It is what I found in a piece of sample code.

    sample code:
    $INFO[Container(111).ListItem.property(description)]

  5. #5
    Join Date
    Jan 2010
    Location
    Virginia
    Posts
    6

    Default

    I tried that it's not really working. I'm trying to pull a pubDate out of my RSS feed. If I try it with the title tag I can get it, code:
    Code:
    <control type="label">
    <visible>true</visible>
    <posx>635</posx>
    <posy>265</posy>
    <width>560</width>
    <height>330</height>
    <label>$INFO[Container(111).ListItem.property(title)]</label>
    <textcolor>white</textcolor>
    </control>
    however, if I switch out that title with pubDate, it doesn't pull out any data. Nor does it work with the description tag, only title apparently. Any ideas as to what I am doing wrong?

  6. #6

    Default

    Are you talking about where say you have the feed and the info is like this:
    <Title>title</title>
    <description>description</description>
    <Info>
    <pubDate> Pubdate</pubDate>
    <someinfo>blahblah</someInfo>
    </info>
    <someinfo>blahblah</someinfo>

    If so than I am trying to find the same sorta thing. I tried referencing by a few ways(eg. info.pubdate and infoubdate) but no help.

  7. #7

    Default

    The only official properties of listitem are id, label, label2, icon, and thumb. Outside of that you're going to have to use python to get what you are looking for.

    GetDate:
    http://developer.boxee.tv/Listitem_Class#GetDate

    GetProperty:
    http://developer.boxee.tv/Listitem_Class#GetProperty
    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!

Similar Threads

  1. Multiple ListItem.Property's in a single <label>
    By phikai in forum boxee applications
    Replies: 1
    Last Post: September 26th, 2010, 07:24 PM
  2. Label Luck
    By thecommonperson in forum general boxee help
    Replies: 2
    Last Post: August 22nd, 2010, 01:48 PM
  3. Would like a way to get the label off the dvd
    By Fuzzgtp in forum boxee applications
    Replies: 3
    Last Post: January 11th, 2010, 10:28 AM
  4. xbmcgui.ListItem vs. mc.ListItem
    By joshuajonah in forum boxee applications
    Replies: 0
    Last Post: January 2nd, 2010, 04:45 PM
  5. HD label
    By MILE in forum feature requests
    Replies: 5
    Last Post: December 21st, 2008, 07:43 AM

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
  •