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

List of all members.

Public Member Functions

def __init__
def pbsTitleSeriesEpisodeLink
 Start of XPath extension functions.
def pbsDuration
def pbsDownloadlink

Public Attributes

 functList
 seriesEpisodeRegex
 namespaces
 persistence

Detailed Description

Functions specific extending XPath

Definition at line 90 of file pbsXSL_api.py.


Constructor & Destructor Documentation

Definition at line 93 of file pbsXSL_api.py.


Member Function Documentation

Start of XPath extension functions.

Generate a link for the PBS site.
Call example: 'mnvXpath:pbsTitleSeriesEpisodeLink(normalize-space(./title),normalize-space(./link))/*'
return the title, link and season and episode number elements if any were in the title

Definition at line 118 of file pbsXSL_api.py.

Return the video duration in seconds
Call example: 'mnvXpath:pbsDuration(normalize-string(./dd/p[@class="info"]/span[@class="time"]))'
return the video duration

Definition at line 167 of file pbsXSL_api.py.

Return a previously created download link
Call example: 'mnvXpath:pbsDownloadlink(normalize-space(./link))'
return the url link

Definition at line 177 of file pbsXSL_api.py.


Member Data Documentation

Definition at line 93 of file pbsXSL_api.py.

Definition at line 93 of file pbsXSL_api.py.


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