nv_python_libs::xsltfunctions::tedtalksXSL_api Namespace Reference

Classes

class  OutStreamEncoder
class  xpathFunctions

Functions

def tedtalksMakeItem
def tedtalksGetItem
def tedtalksMakeLink
def tedtalksTitleRSS
def stripSubstring
def parameterArgs

Variables

string __title__ = "tedtalksXSL_api - XPath and XSLT functions for the TedTalks RSS/HTML"
string __author__ = "R.D. Vaughan"
string __purpose__
string __version__ = "v0.1.1"
list __xpathClassList__ = ['xpathFunctions', ]
list __xsltExtentionList__ = []
string version = ''

Function Documentation

def nv_python_libs::xsltfunctions::tedtalksXSL_api::tedtalksMakeItem (   self,
  context,
  arg 
)
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.

def nv_python_libs::xsltfunctions::tedtalksXSL_api::tedtalksGetItem (   self,
  context,
  arg 
)
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.

def nv_python_libs::xsltfunctions::tedtalksXSL_api::tedtalksMakeLink (   self,
  context,
  arg 
)
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.

def nv_python_libs::xsltfunctions::tedtalksXSL_api::tedtalksTitleRSS (   self,
  context,
  arg 
)
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::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.

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

Definition at line 247 of file tedtalksXSL_api.py.


Variable Documentation

string nv_python_libs::xsltfunctions::tedtalksXSL_api::__title__ = "tedtalksXSL_api - XPath and XSLT functions for the TedTalks RSS/HTML"

Definition at line 15 of file tedtalksXSL_api.py.

Definition at line 16 of file tedtalksXSL_api.py.

Initial value:
'''
This python script is intended to perform a variety of utility functions
for the conversion of data to the MNV standard RSS output format.
See this link for the specifications:
http://www.mythtv.org/wiki/MythNetvision_Grabber_Script_Format
'''

Definition at line 17 of file tedtalksXSL_api.py.

Definition at line 24 of file tedtalksXSL_api.py.

Definition at line 30 of file tedtalksXSL_api.py.

Definition at line 34 of file tedtalksXSL_api.py.

Definition at line 79 of file tedtalksXSL_api.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sat Feb 11 06:42:33 2012 for MythTV by  doxygen 1.6.3