[ def ] PAGE / CODE that contains all of the application specific sospep Function methods. Function methods return a 'data type' to the point in the page where are called from.
[ args ]
[returns]
[WHY]
] getFeedID(string bookname) -
] isUrl(string name_) - tests a string to see if it appears to be a url, ex starts with http, http, www, USEd to build a link if name.isUrl in Places
[WHERE called from]
] global - these functions can be called from anywhere in the application
[WHEN]
] you require the functionality of one of the methods
[EXAMPLE]
] sospepFunction.getFeedID(BK title)
] this function takes a string (name of the book) and returns a string ( script reference ) that generates the news feed
[HOW-TO]
]
[REFERENCE]
] sospepFunctions -
] sospepHelper - returns HTML blocks to the page where they are called from
developer implementation
[process]
[notes]
[by_date]
[2013-09-dd]
x] add function isUrl , takes string, returns t/f, checks for "http" or "www"
x] add www OR http,
] PRB with www - b/c w/out http (it) makes it a relative url
2013-09-13]
x] cut out 2 helpers(decodeXML,setParents) and moved to the sospepHelpers(aka myHelpers) file. This file now ONLY contains functions.
x] Edit pages containing ref to "sospepHelper" (orig name) and