On 02/06/2009 04:40 PM, Davide Alberani wrote: > I know; the "problem" _may_ be fixed using the helpers.makeModCGILinks > function to create a function used to "correct" the output for some > specific strings. > The created function (used directly or passed to the imdb.IMDb instance > with the defaultModFunct parameter) will be automatically used over a > subset of strings known to contain references to Movies/Persons/Characters. > > Cool and over-complicated: that's the way I like it! ;-) >
I can't say that I really understand all of this :-) But I get the impression that there is be a better way to achieve what I was aiming at and it could also be used for links to movies/persons/characters in plots or similar fields. In that case, I should vote for reverting the patch and doing it right even if it might take time to implement. > - by default, if no defaultModFunct is passed to imdb.IMDb, the > string is returned with the "special marking" removed. So that's what modFunct is! It's always been a mystery to me when I saw it in the code :-) -- Turgut ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel