Naviga Writer
6.3.3
6.3.3
  • Naviga Writer
  • Release notes
    • 6.3.3
    • 6.3.2
    • 6.3.1
    • 6.2.1
    • 6.2.0
    • 6.1.2
    • 6.1.1
    • 6.1.0
    • 6.0.0
    • 5.3.0
  • Introduction
    • Authoring
    • Developing
    • Publishing
    • User stories and reference cases
  • User Guide
    • Writer User Guide
      • The Content Area and Tabs
        • Help menu
        • Language menu
        • Article name
        • Writing teasers
        • Content area
        • Information
        • Search and replace words
        • History Button
        • Save and publish flow
        • Tabs
          • Meta Tab
            • Author
            • Channels
          • Integrations Tab
          • Image and Article search Tab
        • Locked article
      • Text management
      • Writer Keyboard Shortcuts
      • Personal Writer template
      • Channels to control access
      • Images User Guide
      • Common questions when starting using Writer
  • Admin Guide
    • Configuration files
    • Configurations Guide
    • Configuration of Writer templates
    • Publish Flow
      • Default configuration definitions
      • Starting part of the configuration
      • Publish flow config details
      • Configuration of calendarLocale
      • Preconditions for roles in the publish flow
    • Generic properties for Objects
      • Generic properties configuration
    • Image Services
      • Photo uploader
      • Binary Service Light
      • ImEngine
      • Imgix
    • Available Plugins
      • Naviga developed plugins
        • Plugins in earlier versions of Writer
      • Third-party plugins
  • Developer guide
    • Writer plugin development
      • Quickstart
      • Plugin overview
      • Creating an content object plugin
      • Validation and hooks
      • Interacting with external resources
    • Writer Plugin Building Blocks
      • Package
      • Component
      • Node
      • Converter
      • Events
    • Writer plugin style guide
      • CSS Guidelines
      • CSS variables, colors and fonts
      • UI Components
    • Tutorials
      • Popover & text analysis
      • Search & replace
      • Concept interaction
    • Infomaker NewsML
      • Overview
      • Document relations and types
      • Extensions XSD
      • NewsItem
      • ConceptItem
      • PlanningItem
      • Examples
        • NewsItem - Text
        • NewsItem - Picture
        • NewsItem - PDF
        • ConceptItem - Author
        • ConceptItem - Category
        • ConceptItem - Channel
        • ConceptItem - Content Profile
        • ConceptItem - Event
        • ConceptItem - Organisation
        • ConceptItem - Person
        • ConceptItem - Place (point)](point)](point)](point)](point)](point)](point)](point)](point)](point)]
        • ConceptItem - Place (polygon)](polygon)](polygon)](polygon)](polygon)](polygon)](polygon)](polygon)]
        • ConceptItem - Section
        • ConceptItem - Story
        • ConceptItem - Topic
        • PlanningItem
    • Media Enrichment
      • Images
  • API Reference
    • Writer Api
      • Api
      • Article
      • Browser
      • Concept
      • ConceptService
      • Document
      • Events
      • NewsItem
      • Router
      • Ui
      • Upload
      • User
      • settings
    • UI Components
      • UIAvatar
      • UIButton
      • UIByline
      • UICheckbox
      • UIChip
      • UIDatePicker
      • UIDatetimeFieldEditor
      • UIDropdown
      • UIFieldEditor
      • UIIconButton
      • UIInlineImage
      • UIPagination
      • UISelect
      • UITimePicker
      • UIToggle
      • UITooltip
      • UIInputText
      • UITextarea
Powered by GitBook
On this page

Was this helpful?

  1. Developer guide
  2. Infomaker NewsML
  3. Examples

NewsItem - Picture

<newsItem guid="c382c937-8511-5d48-9677-55658c2bbb32" xmlns="http://iptc.org/std/nar/2006-10-01/"
    conformance="power" standardversion="2.20" standard="NewsML-G2" version="1">
    <!-- 
        Catalog for ninat:, nprov:, irel:, cpnat:, drol:, etc... Mandatory.
    -->
    <catalogRef href="http://www.iptc.org/std/catalog/catalog.IPTC-G2-Standards_27.xml"/>
    <!-- 
        Catalog for infomaker extensions: imchn, imext etc...Mandatory.
    -->
    <catalogRef href="http://infomaker.se/spec/catalog/catalog.infomaker.g2.1_0.xml"/>
    <itemMeta>
        <!-- 
            Identifies the newsItem as an image. Mandatory.
        -->
        <itemClass qcode="ninat:picture"/>
        <!-- 
            When newsItem is first created, "versionCreated" and "firstCreated" must have identical timestamps.
            Mandatory.
        -->
        <versionCreated>2015-07-01T14:11:20Z</versionCreated>
        <firstCreated>2015-07-01T14:11:20Z</firstCreated>
        <!-- 
            The publishing status of the Item. If no pubStatus exists the picture is considered to be
            usable. Valid values stat:withheld, stat:usable and stat:canceled. Mandatory.
        -->
        <pubStatus qcode="stat:withheld"/>
        <!-- 
            The image filename. Note that "fileName" is optional. Writer uses imext:uri to identify image.
        -->
        <fileName>vApvJyM3pl2wpFpe0G2uBJxZfZc.jpeg</fileName>
        <!-- 
            Type image. Mandatory. 
        -->
        <itemMetaExtProperty type="imext:type" value="x-im/image"/>
        <!-- 
            Uniform resource identifier. Mandatory 
        -->
        <itemMetaExtProperty type="imext:uri" value="im://image/vApvJyM3pl2wpFpe0G2uBJxZfZc.jpeg"/>

        <!-- 
            Uniform resource locator. Note that imext:originalUrl is optional. Writer uses imext:uri to identify image. 
        -->
        <itemMetaExtProperty type="imext:originalUrl"
            value="http://s3.example-img.se/vApvJyM3pl2wpFpe0G2uBJxZfZc.jpeg"/>
        <!-- 
            Links (extension of NewsML standard).
        -->
        <links xmlns="http://www.infomaker.se/newsml/1.0">
            <!--
                External source (if any). The "xyz" is a placeholder for the
                real name of the source.
            -->
            <link rel="source" type="x-xyz/image" uri="xyz://image/2345836363"/>

            <!--
                Creator and updater referenced using IMID sub.
            -->
            <link rel="creator" type="x-imid/user" 
                uri="imid://user/sub/znY7U3CO134n26zv9gb44_jCzSp">
                <links>
                    <link rel="affiliation" title="naviga" type="x-imid/organisation"
                        uri="imid://organisation/naviga">
                        <links>
                            <link rel="affiliation" title="naviganews" type="x-imid/unit"
                                uri="imid://unit/naviganews"/>
                        </links>
                    </link>
                </links>
            </link>
            <link rel="updater" type="x-imid/user" 
                uri="imid://user/sub/znY7U3CO134n26zv9gb44_jCzSp">
                <links>
                    <link rel="affiliation" title="naviga" type="x-imid/organisation"
                        uri="imid://organisation/naviga">
                        <links>
                            <link rel="affiliation" title="naviganews" type="x-imid/unit"
                                uri="imid://unit/naviganews"/>
                        </links>
                    </link>
                </links>
            </link>
            <!-- 
                Photographer. 
                Exiftool mapping: xmp-dc:creator/iptc:by-line
            -->
            <link rel="author" type="x-im/author" uuid="bad4314c-7e33-11e5-8bcf-feff819cdc9f"
                title="Jane Doe"/>
            <!--
                Shared with IMID entities (optional).
            -->    
            <link rel="shared-with" type="x-imid/organisation" 
                uri="imid://organisation/company-x" title="Company X">
                <links>
                    <link rel="shared-with" type="x-imid/unit" 
                        uri="imid://unit/newspaper-z" title="Newspaper Z" />
                    <link rel="shared-with" type="x-imid/unit" 
                        uri="imid://unit/newspaper-q" title="Newspaper Q" />
                </links>
            </link>                       
        </links>
    </itemMeta>
    <contentMeta>
        <!-- 
            When newsItem is first created, "contentCreated" and "contentModified" must have identical timestamps.
            Mandatory.
        -->
        <contentCreated>2015-07-01T14:11:20Z</contentCreated>
        <contentModified>2015-07-01T14:11:20Z</contentModified>
        <!-- 
            Optional. A party (person or organisation) which originated, distributed, aggregated or supplied the content or provided some information 
            used to create or enhance the content. 
            Writer will not add this be default to pictures uploaded in writer. 
        -->
        <infoSource literal="MKT"/>        
        <!-- 
            Optional. An alternative identifier assigned to the content. 
        -->
        <altId>1234456</altId>
        <!-- 
            The "metadata" element contains metadata that are included in the article but not part of the content 
            itself.
        -->
        <metadata xmlns="http://www.infomaker.se/newsml/1.0">
            <object id="46f60ada63fd" type="x-im/image">
                <!-- 
                    Metadata for the image. Except for width and height these are optional.                    
                -->
                <data>
                    <width>1536</width>
                    <height>1024</height>
                    <!-- 
                        Caption-Abstract
                        Exiftool mapping: xmp-dc:description/iptc:caption-abstract
                    -->
                    <text>Maecenas at nisl in lorem egestas egestas.</text>
                    <!-- 
                        Date Created
                        Exiftool mapping: xmp-photoshop:datecreated/iptc:datecreated
                    -->
                    <photoDateTime>2015-07-01T14:11:20+02:00</photoDateTime>
                    <!--
                        Credit
                        Exiftool mapping: xmp-photoshop:credit/iptc:credit
                    -->
                    <credit>Company XYZ</credit>
                    <!--
                        Title
                        Exiftool mapping: xmp-dc:title/iptc:objectname
                    -->
                    <objectName>nebulosa.jpg</objectName>
                    <!-- 
                        Special Instructions
                        Exiftool mapping: xmp-photoshop:instructions/iptc:specialinstructions
                    -->
                    <instructions>Only use once</instructions>
                    <!-- 
                        Source
                        Exiftool mapping: xmp-photoshop:source/iptc:source
                    -->
                    <source>Mediahouse XYZ</source>
                    <!--
                        MIME Type
                    -->
                    <mimeType>image/jpeg</mimeType>    
                </data>
            </object>
        </metadata>
    </contentMeta>
</newsItem>
PreviousNewsItem - TextNextNewsItem - PDF

Last updated 5 years ago

Was this helpful?