|
MythTV
0.26-pre
|
Public Member Functions | |
| def | __init__ |
| def | spitzerLinkGeneration |
| Start of XPath extension functions. | |
| def | spitzerThumbnailLink |
| def | spitzerCheckIfDBItem |
Public Attributes | |
| functList | |
| TextTail | |
| persistence | |
| htmlParser | |
Functions specific extending XPath
Definition at line 90 of file spitzer_api.py.
Definition at line 93 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 106 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 149 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 160 of file spitzer_api.py.
Definition at line 93 of file spitzer_api.py.
Definition at line 93 of file spitzer_api.py.
Referenced by nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaLinkGeneration().
Definition at line 93 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().
Definition at line 93 of file spitzer_api.py.
1.7.6.1