Author Topic: Exporting credits  (Read 5456 times)

0 Members and 1 Guest are viewing this topic.

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Exporting credits
« on: August 25, 2009, 08:10:00 am »
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: [Select]
<movie>
<credits>{%value=credits}</credits>
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: [Select]
%HEAD%
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
%HEAD%
<movie>
<title>{%value=title}</title>
    <rating>{%value=rating}</rating>
outputs:
Code: [Select]
<<<<<<<<<<<<<<<<<<<<<<<<<<<Blank line
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<<<<<<<<<<<<<<<<<<<<<<<<<<<Blank line
<movie>
<title>10,000 BC</title>
    <rating>0</rating>

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
« Last Edit: August 25, 2009, 08:34:14 am by rick.ca »
three fingered salutation