English > Scripts and Templates
Exporting credits
(1/1)
			CAD:
			
			Sorry to be a pain.....
i have a couple more things i need to figure out and need help. pls ....
No 1. 
im trying to export credits.
--- Code:  ---<movie>
<credits>{%value=credits}</credits>
--- End code ---
is not returning a result.
What I am trying to achieve is 
<credits>
containing <writers> <composers> <producers>
</credits>
From what ive read, grouptemplate would be best option to achieve this, but i don't understand how it works.
i've been trying to find an example without success.
NB i can't even get {%value=credits} from main.ptm to return data.
Can someone pls pls provide an example of grouptemplate i can use and how "credits" works.
No 2.
Under tools/plugins/IMDB - Configure button. There is custom field for top 250 rank:
What is this? How does it work? - i would like to export top250 value as well, if possible pls.
Also when exporting. plugin seems to put linefeeds in. Is there a way so this doesn't happen??
--- Code:  ---%HEAD%
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
%HEAD%
<movie>
<title>{%value=title}</title>
    <rating>{%value=rating}</rating>
--- End code ---
outputs:
--- Code:  ---<<<<<<<<<<<<<<<<<<<<<<<<<<<Blank line
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<<<<<<<<<<<<<<<<<<<<<<<<<<<Blank line
<movie>
<title>10,000 BC</title>
    <rating>0</rating>
--- End code ---
Actor export 
%HEAD%<actor>%HEAD%
<name>{%param=name}</name>
<role>{%param=role}</role>
%FOOT%</actor>%FOOT%
gives:
<actor>
   <name>Steven Strait</name>
   <role>D'Leh</role>
<<<<<<<<<<<<<<<<<<<<<<<<<<<Blank line
   <name>Camilla Belle</name>
   <role>Evolet</role>
<<<<<<<<<<<<<<<<<<<<<<<<<<<Blank line
   <name>Cliff Curtis</name>
   <role>Tic'Tic</role>
</actor>
:) :) Sorry to be such a pain and ask so many questions. :) :)
tks again
		
Navigation
[0] Message Index
Go to full version