mn8 Language Reference | Index    

TVChannelGuide

SUMMARY: ATTRIBUTES SUMMARY  ELEMENTS SUMMARY  NO CONSTRUCTORS  NO OPERATORS  METHODS SUMMARYDETAIL: ATTRIBUTE DETAILS  ELEMENT DETAILS  NO CONSTRUCTORS  NO OPERATORS  METHOD DETAILS

Description

Data type concept used by various TV channels wrappers

Usage

        $val = DiscoveryChannelWrapper:UK.getTodaysSchedule
        print $val.toXML
        ------ The result is -----
        <TVChannelGuide url="http://www.discoveryeurope.com/uk/tvlistings/discoverychannel/index.html" 
                        date="05 06 2002" 
                        title="The Discovery Channel site - United Kingdom">

            <description>This is the official site of the Discovery 
            Channel in the United Kingdom.</description>
            
            <program time="00:00" title="SCIENCE OF BEAUTY">                    
                    <description>Discover whether beauty ...</description>
            </program>
            <program time="01:00" title="LONELY PLANET">
                    <description>This planet has ...</description>
            </program>
            <program time="02:00" title="THE OPERATION">
                    <description>Featuring an ...</description>
            </program>
            ...
       </YVChannelGuide>
       
Version: 0.1
Authors:Szabolcs Borsos ()
Location:
Inherits: Concept

Attribute List

 @date TYPEOF String LABEL "date"
 @title TYPEOF String LABEL "title"
 @url TYPEOF String LABEL "url"
top

Element List

 description TYPEOF Element LABEL "description"
 program* TYPEOF TVChannelGuide:program LABEL "program"
top

Method List

static RSSgetRSS
top
Methods inherited from: Concept
cloneConcept, extendsConcept, fromXML, getAllInheritedConcepts, getConceptAttribute, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptLabel, getConceptMethod, getConceptMethods, getConceptOperators, getConceptType, getErrorHandler, getInheritedConcepts, getResourceURI, hasConceptAttribute, hasConceptElement, hasConceptMethod, hasPath, isHidden, loadContent, setConceptLabel, setErrorHandler, setHidden, setShowEmpty, showEmpty, toTXT, toXML, setResourceURI

Detailed Attribute Info

@date

Label:date
Type:String
Is Static:false
Is Hidden:false
Show Empty:false

top

@title

Label:title
Type:String
Is Static:false
Is Hidden:false
Show Empty:false

top

@url

Label:url
Type:String
Is Static:false
Is Hidden:false
Show Empty:false

top

Detailed Element Info

description

Label:description
Type:Element
Is Static:false
Is Hidden:false
Is Multi:false
Show Empty:true

top

program

Label:program
Type:TVChannelGuide:program
Is Static:false
Is Hidden:false
Is Multi:true
Show Empty:true

top

Detailed Method Info

static getRSS
Returns: RSS

Returns this channel information as RSS.

top