nv_python_libs::xsltfunctions::spitzer_api Namespace Reference

Classes

class  OutStreamEncoder
class  xpathFunctions

Functions

def spitzerLinkGeneration
def spitzerThumbnailLink
def spitzerCheckIfDBItem

Variables

string __title__ = "spitzer_api - XPath and XSLT functions for the www.spitzer.caltech.edu grabber"
string __author__ = "R.D. Vaughan"
string __purpose__
string __version__ = "v0.1.0"
list __xpathClassList__ = ['xpathFunctions', ]
list __xsltExtentionList__ = []
string version = ''

Function Documentation

def nv_python_libs::xsltfunctions::spitzer_api::spitzerLinkGeneration (   self,
  context,
  args 
)
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::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::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.


Variable Documentation

string nv_python_libs::xsltfunctions::spitzer_api::__title__ = "spitzer_api - XPath and XSLT functions for the www.spitzer.caltech.edu grabber"

Definition at line 15 of file spitzer_api.py.

Definition at line 16 of file spitzer_api.py.

Initial value:
'''
This python script is intended to perform a variety of utility functions
for the conversion of data to the MNV standard RSS output format.
See this link for the specifications:
http://www.mythtv.org/wiki/MythNetvision_Grabber_Script_Format
'''

Definition at line 17 of file spitzer_api.py.

Definition at line 24 of file spitzer_api.py.

Definition at line 29 of file spitzer_api.py.

Definition at line 33 of file spitzer_api.py.

Definition at line 78 of file spitzer_api.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sun Feb 12 06:42:33 2012 for MythTV by  doxygen 1.6.3