| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

Partigi API - Person Atom Element

Page history last edited by Fernando Blat 15 years ago

Go back to Partigi API Documentation

 

Person element refers to the people that has something to do with an item, i.e. if the item is a film, directors of the film are stored as people.

 

Schema

 

ptPerson = element atom:entry {
     atomCategory,
     atomUpdated,
     atomTitle,
     ptPerson:id,
     ptPerson:name,
     ptPerson:nicename
}

 

The table below details person schema: 

 

Element Property Description
entry atom:category Scheme: http://schemas.partigi.com/v1.0#kind
Term: http://schemas.partigi.com/v1.0#person
  atom:updated The last modification time of the item.
  atom:title The name of the person
  ptPerson:id The identfier of the person in Partigi
  ptPerson:name The name of the person in Partigi
  ptPerson:nicename The sanitized name.

 

 

An example

 

<entry xmlns:ptPerson="http://schemas.partigi.com/v1.0/ptPerson">
  <category scheme="http://schemas.partigi.com/v1.0#kind" term="http://schemas.partigi.com/v1.0#person"/>
  <id>http://www.partigi.com/people/mike-myers</id>
  <title>Mike Myers</title>
  <updated>2009-07-01T11:41:07Z</updated>
  <published>2009-06-18T09:04:00Z</published>
  <link type="text/html" rel="alternate" href="http://www.partigi.com/people/mike-myers"/>
  <link type="application/atom+xml" rel="self" href="http://www.partigi.com/api/v1/people/show.atom?id=mike-myers"/>
  <ptPerson:id>197</ptPerson:id>
  <ptPerson:name>Mike Myers</ptPerson:name>
  <ptPerson:nicename>mike-myers</ptPerson:nicename>
</entry>

 

 

Go back to Partigi API Documentation

Comments (0)

You don't have permission to comment on this page.