Now, I am trying out BlogDesk…
Ok, inserting a link was easy… How about a graphic?
That was pretty easy… Now, how about some source code?
#============================================================================ def Exec(self): # We will try to catch everything and return a valid response. # if that is not possible, a 500 will be returned. try: self.Open() try: self.Log('Coaster: ScriptPath={0}'.format(self.Env.ScriptPath), LogLevel=4) ScriptPath = self.Env.ScriptPath ScriptPathParts = ScriptPath.split('/')[1+self.ImportStrip:] if not VALID_SCRIPT_PATH_MATCH(ScriptPath): XYZ return
Ok, let’s see how that works out…