English > Development

New Plugin: Awards recipients

(1/2) > >>

sultan:
Hi!

I am trying to write a new import plugin for this great piece of software called PVD. It works already quite well, but I have a little problem with the awards section. What is the expected XML-structure?  (I did not find anything in the samples or the forum.) Here is my current implementation, which does not work (but only the recipients part, the rest is ok):

<awards>
   <award>
      <year>1980</year>
      <event>Oscar</event>
      <cat>a legjobb vizuális effektusok</cat>
      <result>true</result>
      <recipients>
         <person>
            <name>Carlo Rambaldi</name>
            <url>http://www.filmkatalogus.hu/Carlo-Rambaldi--sz23280</url>
         </person>
         <person>
            <name>Denys Ayling</name>
            <url>http://www.filmkatalogus.hu/Denys-Ayling--sz23283</url>
         </person>
      </recipients>
   </award>
   <award>
      <year>1980</year>
      <event>Oscar</event>
      <cat>a legjobb látványtervezés</cat>
      <result>false</result>
      <recipients>
         <person>
            <name>Michael Seymour</name>
            <url>http://www.filmkatalogus.hu/Michael-Seymour--sz22008</url>
         </person>
         <person>
            <name>Ian Whittaker</name>
            <url>http://www.filmkatalogus.hu/Ian-Whittaker--sz22010</url>
         </person>
      </recipients>
   </award>
   <award>
      <year>1980</year>
      <event>Golden Globe</event>
      <cat>a legjobb eredeti filmzene</cat>
      <result>false</result>
      <recipients>
         <person>
            <name>Jerry Goldsmith</name>
            <url>http://www.filmkatalogus.hu/Jerry-Goldsmith--sz22274</url>
         </person>
      </recipients>
   </award>
</awards>


I would really appreciate some help in this case.

Thanx,
sultan

sultan:
Is nobody on this forum, who developed an import plugin for PVD and knows the expected xml-structure for the Awards section?

Ivek23:
It might be useful upload complete import plugin, then maybe someone could help solve the problem.

sultan:
My problem is, that I don't know, what XML structure PVD expects for awards. I know, that it is possible to set multiple fields (year, award type, won or not etc.). Almost everything works, but I can't add the persons behind the awards. So I would like to get some documentation on the XML structure, that PVD expects. I searched everywhere where I could, but didn't find anything on this subject.
It seems, tha only nostra could help, but he is away. :-(

Ivek23:

--- Quote ---It seems, tha only nostra could help, but he is away. :-(
--- End quote ---

Will have to wait on him.

Navigation

[0] Message Index

[#] Next page

Go to full version