Need some help with function - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60) +--- Thread: Need some help with function (/showthread.php?tid=82650) |
Need some help with function - Gertt - 2010-10-06 Could anyone tell me what I'm doing wrong here? It either (forgot which one with this code, will confirm when I get home) displays "url" or "http://www.google.be/" as plot, but never "test". Code: <GetDetails dest="7"> - spiff - 2010-10-06 you seem to have misunderstood a bit. you can't chain within xml tags. each called function needs to return xml in the format <details>..</details>. the outputs you seek is Code: <details><url function="GoGoogle">..</url></details> from GetDetails Code: <details><plot>test</plot></details> from GoGoogle the outputs are processed additively. i.e. if a tag is set in both GetDetails and GoGoogle, the GoGoogle value takes precedence since it is processed last. |