MythTV
master
|
Public Member Functions | |
def | __init__ (self) |
def | spitzerLinkGeneration (self, context, *args) |
Start of XPath extension functions. More... | |
def | spitzerThumbnailLink (self, context, *args) |
def | spitzerCheckIfDBItem (self, context, *arg) |
Public Attributes | |
functList | |
TextTail | |
persistence | |
htmlParser | |
Functions specific extending XPath
Definition at line 88 of file spitzer_api.py.
def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.__init__ | ( | self | ) |
Definition at line 91 of file spitzer_api.py.
def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerLinkGeneration | ( | self, | |
context, | |||
* | args | ||
) |
Start of XPath extension functions.
Generate a link for the www.spitzer.caltech.edu site. Call example: 'mnvXpath:spitzerLinkGeneration(normalize-space(link), $paraMeter)' return the url link
Definition at line 104 of file spitzer_api.py.
def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerThumbnailLink | ( | self, | |
context, | |||
* | args | ||
) |
Verify that the thumbnail actually exists. If it does not then use the site image. Call example: 'mnvXpath:spitzerThumbnailLink('dummy')' return the thumbnail url
Definition at line 147 of file spitzer_api.py.
def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerCheckIfDBItem | ( | self, | |
context, | |||
* | arg | ||
) |
Use a unique key value pairing to find out if the 'internetcontentarticles' table already has a matching item. This is done to save accessing the Internet when not required. Call example: 'mnvXpath:spitzerCheckIfDBItem(title, author, description)' return True if a match was found return False if a match was not found
Definition at line 158 of file spitzer_api.py.
nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.functList |
Definition at line 92 of file spitzer_api.py.
nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.TextTail |
Definition at line 93 of file spitzer_api.py.
Referenced by nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaLinkGeneration().
nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.persistence |
Definition at line 94 of file spitzer_api.py.
Referenced by nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerLinkGeneration(), nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerThumbnailLink(), nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.tedtalksGetItem(), nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.tedtalksMakeItem(), nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.traileraddictsLinkGenerationClip(), nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.traileraddictsLinkGenerationMovie(), nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaIsCustomHTML(), nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaLinkGeneration(), and nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaThumbnailLink().
nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.htmlParser |
Definition at line 95 of file spitzer_api.py.