MythTV  0.26-pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Public Member Functions | Public Attributes
nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions Class Reference

List of all members.

Public Member Functions

def __init__
def tedtalksMakeItem
 Start of XPath extension functions.
def tedtalksGetItem
def tedtalksMakeLink
def tedtalksTitleRSS
def stripSubstring
def parameterArgs

Public Attributes

 functList
 namespaces
 descriptionFilter
 durationFilter
 persistence
 flvPlayerLink

Detailed Description

Functions specific extending XPath

Definition at line 91 of file tedtalksXSL_api.py.


Constructor & Destructor Documentation

Definition at line 94 of file tedtalksXSL_api.py.


Member Function Documentation

Start of XPath extension functions.

Generate item elements from a Video HTML page on the TedTalks site.
Call example: 'mnvXpath:tedtalksMakeItem(concat('http://www.ted.com', normalize-space(./@href), $paraMeter))/link'
return an number of item elements

Definition at line 115 of file tedtalksXSL_api.py.

Return item elements that were previously created in "tedtalksMakeItem" call
Call example: 'mnvXpath:tedtalksGetItem(concat('http://www.ted.com', normalize-space(./@href))/*'
return an number of item elements

Definition at line 198 of file tedtalksXSL_api.py.

Return item elements that were previously created in "tedtalksMakeItem" call
Call example: 'mnvXpath:tedtalksMakeLink(enclosure/@url, $paraMeter)'
return a link for playing the flv file

Definition at line 208 of file tedtalksXSL_api.py.

Return item elements that were previously created in "tedtalksMakeItem" call
Call example: 'mnvXpath:tedtalksTitleRSS(string(title))'
return a massaged title string

Definition at line 221 of file tedtalksXSL_api.py.

def nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.stripSubstring (   self,
  string,
  startText,
  terminatorChar 
)
Return a substring terminated by specific character(s)
return a substring

Definition at line 233 of file tedtalksXSL_api.py.

Referenced by nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.tedtalksMakeItem().

def nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.parameterArgs (   self,
  parameters,
  terminatorChar = u';' 
)
Set the parameters for TedTalks
return a dictionary of parameters

Definition at line 247 of file tedtalksXSL_api.py.

Referenced by nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.tedtalksMakeItem(), and nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.tedtalksMakeLink().


Member Data Documentation

Definition at line 94 of file tedtalksXSL_api.py.

Definition at line 94 of file tedtalksXSL_api.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends