MythTV  master
Public Member Functions | Public Attributes | List of all members
nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions Class Reference
Inheritance diagram for nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions:
Inheritance graph
Collaboration diagram for nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions:
Collaboration graph

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


Detailed Description

Functions specific extending XPath

Definition at line 90 of file

Constructor & Destructor Documentation

◆ __init__()

def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.__init__ (   self)

Definition at line 93 of file

Member Function Documentation

◆ spitzerLinkGeneration()

def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerLinkGeneration (   self,

Start of XPath extension functions.

Generate a link for the site.
Call example: 'mnvXpath:spitzerLinkGeneration(normalize-space(link), $paraMeter)'
return the url link

Definition at line 106 of file

◆ spitzerThumbnailLink()

def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerThumbnailLink (   self,
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

◆ spitzerCheckIfDBItem()

def nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerCheckIfDBItem (   self,
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

Member Data Documentation

◆ functList


Definition at line 94 of file

◆ TextTail


◆ persistence


◆ htmlParser


Definition at line 97 of file

The documentation for this class was generated from the following file: