Loading ...
Sorry, an error occurred while loading the content.

Re: specify city and country

Expand Messages
  • hamda
    ... but this is not specify city, it s not clear that paris is a city. it s just a name.
    Message 1 of 5 , Aug 25, 2010
    • 0 Attachment
      > A subject for a city could look like this:
      > <subject><name>Paris</name></subject>
      but this is not specify city, it's not clear that paris is a city.
      it's just a name.



      --- In newsml-g2@yahoogroups.com, "Michael Steidl \(IPTC\)" <mdirector@...> wrote:
      >
      > Hi Hamda
      >
      > First it depends on where you want to specify it: if you use a news item you
      > should use the subject property for this purpose.
      > A subject for the country e.g. France:
      > <subject qcode="iso3166-1a2:fr">
      > - the scheme alias "iso3166-1a2" comes from the IPTC G2 catalog (they can be
      > found in http://www.iptc.org/std/catalog/ ) and the alias represents the 2
      > letter ISO Country Codes - see also http://cvx.iptc.org/iso3166-1a2/
      >
      > A subject for a city could look like this:
      > <subject><name>Paris</name></subject>
      >
      > This all can be found in the G2 Implementation Guidelines, section 6.2.2.5,
      > download it from
      > http://www.iptc.org/std/NewsML-G2/2.4/documentation/IPTC-G2-Implementation-G
      > uide_2.zip
      >
      > Btw: you can also identify an event as such using EventsML-G2, in this case
      > the location of the event is specified in the eventDetails structure of a
      > Concept Item.
      >
      > Michael
      >
      > ==================================================
      > Sent by:
      > Michael Steidl
      > Managing Director of the IPTC <mdirector@...>
      > International Press Telecommunications Council - http://www.iptc.org/
      > Business office address:
      > 20 Garrick Street, London WC2E 9BT, United Kingdom
      > Registered in England, company no 101096
      >
      >
      >
      > -----Original Message-----
      > From: newsml-g2@yahoogroups.com [mailto:newsml-g2@yahoogroups.com] On Behalf
      > Of hamda
      > Sent: Wednesday, August 25, 2010 10:01 AM
      > To: newsml-g2@yahoogroups.com
      > Subject: [newsml-g2] specify city and country
      >
      > hello,
      > please how to specify city and country of the event?
      > what are the qcode to do that?
      > i found this http://cv.iptc.org/newscodes/worldregion
      > but this is not what i need.
      >
      > Thank you
      >
      >
      >
      > ------------------------------------
      >
      > Any member of this IPTC moderated Yahoo group must comply with the
      > Intellectual Property Policy of the IPTC, available at
      > http://www.iptc.org/goto/ipp. Any posting is assumed to be submitted under
      > the conditions of this IPTC IP Policy.
      > Yahoo! Groups Links
      >
    • Raphaël Troncy
      ... Use a URI! If you want to talk about Paris, the city in France , there are 50 sameAs URIs that identify it:
      Message 2 of 5 , Aug 25, 2010
      • 0 Attachment
        > > A subject for a city could look like this:
        > > <subject><name>Paris</name></subject>
        > but this is not specify city, it's not clear that paris is a city.
        > it's just a name.

        Use a URI! If you want to talk about "Paris, the city in France", there
        are 50 sameAs URIs that identify it:
        http://sameas.org/html?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FParis&x=0&y=0
        (pick one)

        Raphaël

        --
        Raphaël Troncy
        EURECOM, Multimedia Communications Department
        2229, route des Crêtes, 06560 Sophia Antipolis, France.
        e-mail: raphael.troncy@... & raphael.troncy@...
        Tel: +33 (0)4 - 9300 8242
        Fax: +33 (0)4 - 9000 8200
        Web: http://www.eurecom.fr/~troncy/
      • hamda
        But what i must exactly write in xml ? if not this Paris
        Message 3 of 5 , Aug 25, 2010
        • 0 Attachment
          But what i must exactly write in xml ?

          if not this <subject><name>Paris</name></subject>



          --- In newsml-g2@yahoogroups.com, Raphaël Troncy <raphael.troncy@...> wrote:
          >
          > > > A subject for a city could look like this:
          > > > <subject><name>Paris</name></subject>
          > > but this is not specify city, it's not clear that paris is a city.
          > > it's just a name.
          >
          > Use a URI! If you want to talk about "Paris, the city in France", there
          > are 50 sameAs URIs that identify it:
          > http://sameas.org/html?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FParis&x=0&y=0
          > (pick one)
          >
          > Raphaël
          >
          > --
          > Raphaël Troncy
          > EURECOM, Multimedia Communications Department
          > 2229, route des Crêtes, 06560 Sophia Antipolis, France.
          > e-mail: raphael.troncy@... & raphael.troncy@...
          > Tel: +33 (0)4 - 9300 8242
          > Fax: +33 (0)4 - 9000 8200
          > Web: http://www.eurecom.fr/~troncy/
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.