nv_python_libs::xsltfunctions::mevio_api Namespace Reference


Classes

class  OutStreamEncoder
class  xpathFunctions

Functions

def mevioLinkGeneration
def mevioTitle
def mevioEpisode
def mevioCheckIfDBItem

Variables

string __title__ = "mevio_api - XPath and XSLT functions for the www.mevio.com RSS/HTML"
string __author__ = "R.D. Vaughan"
string __purpose__
string __version__ = "v0.1.1"
list __xpathClassList__ = ['xpathFunctions', ]
list __xsltExtentionList__ = []
string version = ''


Function Documentation

def nv_python_libs::xsltfunctions::mevio_api::mevioLinkGeneration (   self,
  context,
  arg 
)

Generate a link for the video.
Call example: 'mnvXpath:mevioLinkGeneration(string(link))'
return the url link

Definition at line 125 of file mevio_api.py.

def nv_python_libs::xsltfunctions::mevio_api::mevioTitle (   self,
  context,
  arg 
)

Parse the title string extract only the title text removing the redundant show name
Call example: 'mnvXpath:mevioTitle(./title/text())'
return the title text

Definition at line 149 of file mevio_api.py.

def nv_python_libs::xsltfunctions::mevio_api::mevioEpisode (   self,
  context,
  arg 
)

Parse the title string and extract an episode number
Call example: 'mnvXpath:mevioEpisode(./title/text())'
return an episode element

Definition at line 177 of file mevio_api.py.

def nv_python_libs::xsltfunctions::mevio_api::mevioCheckIfDBItem (   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:mevioCheckIfDBItem(title, description)'
return True if a match was found
return False if a match was not found

Definition at line 191 of file mevio_api.py.


Variable Documentation

string nv_python_libs::xsltfunctions::mevio_api::__title__ = "mevio_api - XPath and XSLT functions for the www.mevio.com RSS/HTML"

Definition at line 15 of file mevio_api.py.

Definition at line 16 of file mevio_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 mevio_api.py.

Definition at line 24 of file mevio_api.py.

Definition at line 31 of file mevio_api.py.

Definition at line 35 of file mevio_api.py.

Definition at line 80 of file mevio_api.py.


Generated on Mon Sep 6 06:39:54 2010 for MythTV by  doxygen 1.5.5