|
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 73 of file spitzer_api.py.
| def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.__init__ | ( | self | ) |
Definition at line 76 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 143 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 89 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 132 of file spitzer_api.py.
| nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.functList |
Definition at line 77 of file spitzer_api.py.
| nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.htmlParser |
Definition at line 80 of file spitzer_api.py.
| nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.persistence |
Definition at line 79 of file spitzer_api.py.
Referenced by nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvIsCustomHTML(), nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvLinkGeneration(), nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.pbsDownloadlink(), nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.pbsTitleSeriesEpisodeLink(), 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.TextTail |
Definition at line 78 of file spitzer_api.py.
Referenced by nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaLinkGeneration().