Naviga Writer
8.1.7
8.1.7
  • Naviga Writer
  • Release notes
    • 8.1.7
    • 8.1.6
    • 8.1.5
    • 8.1.4
    • 8.1.3
    • 8.1.2
    • 8.1.1
    • 8.1
    • 8.0
    • 7.2
    • 7.1.0
    • 7.0.0
    • 6.5.x
    • 6.5.0
    • 6.4.1
    • 6.4.0
    • 6.3.5
    • 6.3.4
    • 6.3.3
    • 6.3.2
    • 6.3.1
    • 6.2.2
    • 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
    • History
  • User Guide
    • Writer User Guide
      • Create a new article
      • Top bar
        • Setting menu
        • Article name
        • Search and replace words
        • Version history of an article
          • List of versions
          • Changes in each version
          • Restore to an older version
        • Locked article
        • Active Users
        • Copy article url
        • Save and publish flow
        • History Button
      • Content area
        • Image gallery
        • Embed map
        • Table
        • Teaser
        • Content part
        • HTML embed
        • Upload image
        • Upload PDF
        • Textstyles
        • Lists
        • Special character
        • Marker tool
      • Right Sidebar
        • Meta
          • Author
          • Channels
        • Integrations
        • Image and Article search
      • Bottom bar
        • Article information
        • Edit metadata on linked images
        • Article size
        • Text information
        • Language menu
      • Images User Guide
        • Upload images
        • Metadata of the image
        • Cropping images
        • Download
      • Personal Writer Template
      • Writer Keyboard Shortcuts
      • Text Management
      • Common questions when starting using Writer
  • Admin Guide
    • Configuration Files
    • Configurations Guide
      • Right Sidebar
      • Text Information
      • Content menu
    • Article Templates Configuration
    • Byline configuration
    • Language Configuration
    • Publish Flow
      • Default configuration definitions
      • Publish flow config details
      • Preconditions for roles in the publish flow
    • Generic Properties
      • Configuration
    • Image Services
      • ImEngine
      • Imgix
    • Plugins
      • Naviga developed plugins
        • Plugins in earlier versions of Writer
      • Deprecated Plugins
      • Third-party plugins
  • Developer guide
    • Upgrade Guides
      • 8.0 - Image/PDF upload changes
      • 8.0 - Opening an Article
    • Writer Plugin Development
      • Quickstart
      • Type Definitions (beta)
      • Plugin overview
      • Creating a 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
      • Integrating External Spell Checking
    • Infomaker NewsML
      • Overview
      • Important: About inline notes
      • 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)
        • ConceptItem - Place (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
      • History
      • Settings
    • UI Components
      • UIAvatar
      • UIButton
      • UIByline
      • UICheckbox
      • UIChip
      • UIDatePicker
      • UIDatetimeFieldEditor
      • UIDropdown
      • UIFieldEditor
      • UIIconButton
      • UIInlineImage
      • UIPagination
      • UISelect
      • UITimePicker
      • UIToggle
      • UITooltip
      • UIInputText
      • UITextarea
      • UIButtonGroup
      • UIConceptSearch
      • UIDateTimePicker
      • UIInputSearch
      • UIIcon
      • UIPill
      • UISpinner
      • UIButtonList
      • UIIconBadge
      • UIIconButtonMenu
      • UIInputPassword
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

Was this helpful?