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

List of all members.

Public Member Functions

def __init__
def spitzerLinkGeneration
 Start of XPath extension functions.
def spitzerThumbnailLink
def spitzerCheckIfDBItem

Public Attributes

 functList
 TextTail
 persistence
 htmlParser

Detailed Description

Functions specific extending XPath

Definition at line 90 of file spitzer_api.py.


Constructor & Destructor Documentation

Definition at line 93 of file spitzer_api.py.


Member Function Documentation

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.

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.

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.


Member Data Documentation

Definition at line 93 of file spitzer_api.py.

Definition at line 93 of file spitzer_api.py.


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