Templates

Articles

Mimetype for articles

application/vnd.iptc.g2.newsitem+xml.article // {1}
  1. The mimetype for an article

Assignments

Mimetype for assignments

application/vnd.iptc.g2.planningitem+xml.assignment // {1}
  1. The mimetype for an assignment

Assignment xml template

<planning xmlns="http://iptc.org/std/nar/2006-10-01/" standard="NewsML-G2" standardversion="2.26" guid="" conformance="power">
    <itemClass qcode="ninat:text"/>
    <headline></headline>
    <description role="nrpdesc:intern"/>
    <planningExtProperty type="imext:status" value="imext:draft"/>
    <planningExtProperty type="nrpdate:start" value=""/>
    <planningExtProperty type="nrpdate:end" value=""/>
    <planningExtProperty type="nrpdate:created" value=""/>
    <planningExtProperty type="nrpdate:modified" value=""/>
    <links xmlns="http://www.infomaker.se/newsml/1.0"></links>
</planning>
  • The template opens up to set cetain values as default values i.e itemClass qcode could be changed to what item that should be default when creating new ones (see assignment types)

Planning items

Mimetype for planning items

application/vnd.iptc.g2.planningitem+xml // {1}
  1. The mimetype for an planning items

PlanningItems xml template

<planningItem xmlns="http://iptc.org/std/nar/2006-10-01/" standard="NewsML-G2" standardversion="2.26" guid="" conformance="power">
    <catalogRef href="http://www.iptc.org/std/catalog/catalog.IPTC-G2-Standards_30.xml"/>
    <catalogRef href="http://infomaker.se/spec/catalog/catalog.infomaker.g2.1_0.xml"/>

    <rightsInfo>
        <copyrightHolder>
            <name>__ORG_NAME__</name>
        </copyrightHolder>
    </rightsInfo>

    <itemMeta>
        <itemClass qcode="plinat:newscoverage"/>
        <provider literal="Newsroom Planner"/>
        <firstCreated></firstCreated>
        <versionCreated></versionCreated>
        <pubStatus qcode="imext:draft"/>
        <itemMetaExtProperty type="nrpdate:start" value="" why="nrpwhy:datetime"/>
        <itemMetaExtProperty type="nrpdate:end" value="" why="nrpwhy:datetime"/>
        <itemMetaExtProperty type="nrpdate:created" value=""/>
        <itemMetaExtProperty type="nrpdate:modified" value=""/>
        <itemMetaExtProperty type="imext:type" value="x-im/newscoverage"/>
        <links xmlns="http://www.infomaker.se/newsml/1.0"></links>
    </itemMeta>

    <contentMeta>
        <urgency>1</urgency>
        <contentCreated />
        <contentModified />
        <headline></headline>
        <slugline></slugline>
        <description role="nrpdesc:intern"/>
        <description role="nrpdesc:extern"/>
        <contentMetaExtProperty type="nrp:sector" literal="Domestic" value="domestic"/>
    </contentMeta>

    <newsCoverageSet>
    </newsCoverageSet>
</planningItem>
  • The template opens up to set cetain values as default values i.e the default sector a item should belong to (this needs to be configured correctly in order for newly created items to get a sector)

Event

Mimetype for event

application/vnd.iptc.g2.conceptitem+xml.event // {1}
  1. The mimetype for an event

Event xml template

<conceptItem xmlns="http://iptc.org/std/nar/2006-10-01/" standard="NewsML-G2" standardversion="2.26" guid="" conformance="power">
    <catalogRef href="http://www.iptc.org/std/catalog/catalog.IPTC-G2-Standards_30.xml"/>
    <catalogRef href="http://infomaker.se/spec/catalog/catalog.infomaker.g2.1_0.xml"/>

    <rightsInfo>
        <copyrightHolder>
            <name>__ORG_NAME__</name>
        </copyrightHolder>
    </rightsInfo>

    <itemMeta>
        <itemClass qcode="cinat:concept"/>
        <provider literal="Newsroom Planner"/>
        <firstCreated></firstCreated>
        <versionCreated></versionCreated>
        <pubStatus qcode="imext:draft"/>
        <itemMetaExtProperty type="imext:type" value="x-im/event"/>
        <itemMetaExtProperty type="nrpdate:start" value="" why="nrpwhy:datetime"/>
        <itemMetaExtProperty type="nrpdate:end" value="" why="nrpwhy:datetime"/>
        <itemMetaExtProperty type="nrpdate:created" value=""/>
        <itemMetaExtProperty type="nrpdate:modified" value=""/>
        <links xmlns="http://www.infomaker.se/newsml/1.0"></links>
    </itemMeta>

    <contentMeta>
        <contentCreated></contentCreated>
        <contentModified></contentModified>
        <description role="nrpdesc:extern"/>
        <contentMetaExtProperty type="nrp:sector" literal="Domestic" value="domestic"/>
        <links xmlns="http://www.infomaker.se/newsml/1.0"></links>
    </contentMeta>

    <concept>
        <conceptId uri="im://event/" creator=""/>
        <type qcode="cpnat:event"/>
        <name></name>
        <metadata xmlns="http://www.infomaker.se/newsml/1.0">
            <object id="d1e25" type="x-im/event-details">
                <data>
                    <registration/>
                </data>
            </object>
        </metadata>
    </concept>
</conceptItem>
  • The template opens up to set cetain values as default values i.e the default sector a item should belong to (this needs to be configured correctly in order for newly created items to get a sector)

Last updated