2010-11-30, 20:03
Hi,
i don't understand very well how custom function work...and for this my question below.
I would make similar code:
how can i make the first step GetImdbIdFromFilmTitle and retrive ImdbId and save it in a buffer for reuse later.
Which destBuffer should be use? and what must return from function (<details>something</details>)...??
I'm confused...and my english is not good, sorry.
Thanks!
i don't understand very well how custom function work...and for this my question below.
I would make similar code:
Code:
// this is my function
ImdbId = GetImdbIdFromFilmTitle ( "film title" )
// use ImdbId in common function in imdb addons
rating = GetIMDBRatingById ( "ImdbId")
plot = GetIMDBPlotById( "ImdbId")
[...]
how can i make the first step GetImdbIdFromFilmTitle and retrive ImdbId and save it in a buffer for reuse later.
Code:
<RegExp input="$$1" output="<chain function="GetImdbIdFromFilmTitle">\1</chain>" dest="5+">
<expression >regex_for_get_title</expression>
</RegExp>
Which destBuffer should be use? and what must return from function (<details>something</details>)...??
I'm confused...and my english is not good, sorry.
Thanks!