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

1379Re: Where to store custom and dynamic properties in News Item?

Expand Messages
  • kopai_bate
    Aug 13, 2013
    • 0 Attachment
      Thank you Michael, I'm getting closer to validation now !

      --- In newsml-g2@yahoogroups.com, "Michael Steidl \(IPTC\)" <mdirector@...> wrote:
      >
      > Hi
      > The NewsML-G2 XML Schema includes
      > (http://www.iptc.org/std/NewsML-G2/2.12/specification/NewsML-G2_2.12-spec-Al
      > l-Power.xsd) multiple Extension Points which are defined as
      > <xs:any namespace="##other" processContents="lax" minOccurs="0"
      > maxOccurs="unbounded">
      > <xs:annotation>
      > <xs:documentation>Extension point for provider-defined
      > properties from other namespaces</xs:documentation>
      > </xs:annotation>
      > </xs:any>
      >
      > Which means:
      > - their purpose is to hold additional provider specific properties
      > - the names of these additional properties must be from another namespace =
      > not the nar: namespace
      >
      > Typically these Extension Points are placed as last child of elements which
      > act as wrapper of properties, e.g. rightsInfo, itemMeta, contentMeta,
      > partMeta.
      >
      > Regards,
      >
      > Michael
      >
      > Michael Steidl
      > Managing Director of the IPTC [mdirector@...]
      > International Press Telecommunications Council
      > Web: www.iptc.org - on Twitter @IPTC
      > Business office address:
      > 25 Southampton Buildings, London WC2A 1AL, United Kingdom
      > Registered in England, company no 101096
      >
      >
      >
      >
      > > -----Original Message-----
      > > From: newsml-g2@yahoogroups.com [mailto:newsml-
      > > g2@yahoogroups.com] On Behalf Of kopai_bate
      > > Sent: Thursday, August 08, 2013 5:46 PM
      > > To: newsml-g2@yahoogroups.com
      > > Subject: [newsml-g2] Where to store custom and dynamic properties in
      > > News Item?
      > >
      > >
      > > I'm developing a news system where the users may record arbitrary
      > > properties on the news items at any time. Each property has name, type
      > > and a value.
      > > The system is highly configurable and these properties may later be used
      > > by some plugin of the system or other software as long as it knows about
      > > the property, which is done through configuration.
      > >
      > > I couldn't find an appropriate place within the NewsML's schema to place
      > > those properties, QCCodes don't work because are too 'static'. I need to
      > > be able to ship the software and let the users define new properties and
      > > reconfigure the system.
      > >
      > > What I ended up doing is extending the NewsML schema with a new
      > > element
      > >
      > >
      > > Any better ideas? I'm really not an exprert in NewsML and am probably
      > > missing something.
      > >
      > > Thanks
      > >
      > >
      > >
      > >
      > > ------------------------------------
      > >
      > > 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
      > >
      > >
      > >
      >
    • Show all 3 messages in this topic