Skip to content

Instantly share code, notes, and snippets.

Created February 20, 2013 16:08
Show Gist options
  • Save anonymous/4996676 to your computer and use it in GitHub Desktop.
Save anonymous/4996676 to your computer and use it in GitHub Desktop.
{
"markup": "\n<?xml version=\"1.0\"?>\n<!--\n-->\n<!DOCTYPE nitf SYSTEM \"../dtd/nitf-3-2.dtd\">\n<nitf>\n<head>\n\t<title>Norfolk Weather and Tide Updates</title>\n\t<tobject tobject.type=\"news\">\n\t\t<tobject.property\n\t\t\ttobject.property.type=\"feature\"\n\t\t\t/>\n\t\t<tobject.subject\n\t\t\ttobject.subject.refnum=\"17000000\"\n\t\t\ttobject.subject.type=\"Weather\"\n\t\t\t/>\n\t\t<tobject.subject\n\t\t\ttobject.subject.refnum=\"17004000\"\n\t\t\ttobject.subject.matter=\"Statistics\"\n\t\t\t/>\n\t\t<tobject.subject\n\t\t\ttobject.subject.refnum=\"04001002\"\n\t\t\ttobject.subject.detail=\"Fishing Industry\"\n\t\t\t/>\n\t</tobject>\n\t<!-- this article is an update of a previous release -->\n\t<docdata\n\t\tmanagement-status=\"usable\"\n\t\tmanagement-doc-idref=\"iptc.321656141.a\"\n\t\tmanagement-idref-status=\"canceled\"\n\t\t>\n\t\t<!-- the document id, which should be unique per publisher -->\n\t\t<doc-id\n\t\t\tid-string=\"iptc.321656141.b\"\n\t\t\t/>\n\t\t<!-- event location: where events in this document took place -->\n\t\t<evloc\n\t\t\tcity=\"Norfolk\"\n\t\t\tstate-prov=\"VA\"\n\t\t\tiso-cc=\"US\"\n\t\t\t/>\n\t\t<!-- delivery list: which agencies moved this article -->\n\t\t<del-list>\n\t\t\t<from-src\n\t\t\t\tsrc-name=\"iptc.org\"\n\t\t\t\tlevel-number=\"1\"\n\t\t\t\t/>\n\t\t\t<from-src\n\t\t\t\tsrc-name=\"xmlteam.com\"\n\t\t\t\tlevel-number=\"2\"\n\t\t\t\t/>\n\t\t</del-list>\n\t\t<!-- urgency of 1 = most urgent -->\n\t\t<urgency\n\t\t\ted-urg=\"3\"\n\t\t\t/>\n\t\t<!-- fixture: a consistent name for this type of article -->\n\t\t<fixture\n\t\t\tfix-id=\"tide-update\"\n\t\t\t/>\n\t\t<!-- date.issue: when the document was sent to a receiver -->\n\t\t<date.issue\n\t\t\tnorm=\"20020225T143000-0500\"\n\t\t\t/>\n\t\t<!-- date.release: when the receiver may publish that content. \n\t\tused in conjunction with management-status attribute of docdata -->\n\t\t<date.release\n\t\t\tnorm=\"20020226T093000-0500\"\n\t\t\t/>\n\t\t<!-- date.expire: when the publisher no longer wants the receiver to publish the article -->\n\t\t<date.expire\n\t\t\tnorm=\"20120226T093000-0500\"\n\t\t\t/>\n\t\t<!-- doc-scope: regions that may be interested in the article -->\n\t\t<doc-scope\n\t\t\tscope=\"Midlantic States\"\n\t\t\t/>\n\t\t<!-- series: indicates whether this document is part of an ongoing series. \n\t\tGenerally not used when du-key is also used. -->\n\t\t<series\n\t\t\tseries.name=\"Tide Forecasts\"\n\t\t\tseries.part=\"5\"\n\t\t\tseries.totalpart=\"0\"\n\t\t\t/>\n\t\t<!-- dynamic use key -->\n\t\t<du-key\n\t\t\tkey=\"ongoing-winter-tide-updates\"\n\t\t\tgeneration=\"14\"\n\t\t\tversion=\"1\"\n\t\t\t/>\n\t\t<!-- ed-msg: a message for editors -->\n\t\t<ed-msg\n\t\t\tinfo=\"Today begins an expanded format of this popular column.\"\n\t\t\tmsg-type=\"announcement\"\n\t\t\t/>\n\t\t<doc.copyright\n\t\t\tyear=\"2002\"\n\t\t\tholder=\"International Press Telecommunications Council\"\n\t\t\t/>\n\n\t\t<doc.rights\n\t\t\towner=\"International Press Telecommunications Council\"\n\t\t\tlimitations=\"online\"\n\t\t\t/>\n\n\t\t<key-list>\n\t\t\t<keyword key=\"fishing\"/>\n\t\t\t<keyword key=\"lures\"/>\n\t\t\t<keyword key=\"tides\"/>\n\t\t</key-list>\n\n\t\t<identified-content>\n\t\t\t<location\n\t\t\t\tlocation-code=\"23602\"\n\t\t\t\tcode-source=\"zipcodes.usps.gov\"\n\t\t\t\t>\n\t\t\t</location>\n\t\t</identified-content>\n\t</docdata>\n\t<pubdata\n\t\ttype=\"web\"\n\t\tname=\"nitf.org\"\n\t\tdate.publication=\"20020226T000000-0500\"\n\t\tvolume=\"XIX\"\n\t\tnumber=\"3\"\n\t\tissue=\"2\"\n\t\tex-ref=\"http://www.iptc.org/getEdition/volume=XIX/number=3/issue=2/doc-id=iptc.321656141.b\"\n\t\t/>\n\t<revision-history\n\t\tname=\"Alan Karben\"\n\t\tfunction=\"writer-author\"\n\t\tnorm=\"20020220T090000-0500\"\n\t\tcomment=\"Original creation of story.\"\n\t\t/>\n\t<revision-history\n\t\tname=\"Stewart Kilometers\"\n\t\tfunction=\"editor\"\n\t\tnorm=\"20020222T110000-0500\"\n\t\tcomment=\"Punched up the copy.\"\n\t\t/>\n</head>\n<body>\n\t<body.head>\n\t\t<hedline>\n\t\t\t<hl1>Weather and Tide Updates for Norfolk</hl1>\n\t\t\t<hl2>A sample, fictitious NITF article</hl2>\n\t\t</hedline>\n\t\t<note noteclass=\"editorsnote\" type=\"npa\"><body.content><p>This sample article was created completely from scratch in order to\n\t\tillustrate various features of NITF.\n\t\tParts of it are somewhat contrived, in order to illustrate as much\n\t\tof the DTD as possible.</p></body.content></note>\n\t\t<byline>\n\t\t\tBy <person>Alan Karben</person>\n\t\t\t<byttl>NITF Network News Online</byttl>\n\t\t</byline>\n\t\t<distributor>\n\t\t\t<org idsrc=\"OTC:BB\" value=\"XML\">XML Team Solutions, Inc.</org>\n\t\t</distributor>\n\t\t<dateline>\n\t\t\t<location>\n\t\t\t\t<city city-code=\"newportnews\">Newport News</city>, \n\t\t\t\t<state state-code=\"va\">VA</state>\n\t\t\t</location>\n\t\t</dateline>\n\t\t<abstract>\n\t\t\t<p>Superb weather in Norfolk today. Tides coming in and out as per usual.\n\t\t\t</p>\n\t\t</abstract>\n\t</body.head>\n\t<body.content>\n\t\t<media media-type=\"image\" style=\"align:right\">\n\t\t\t<media-reference\n\t\t\t\tmime-type=\"image/jpeg\"\n\t\t\t\tsource=\"high-tide.jpg\"\n\t\t\t\talternate-text=\"The tides are high.\"\n\t\t\t\theight=\"185\"\n\t\t\t\twidth=\"278\"\n\t\t\t\t>\n\t\t\t</media-reference>\n\t\t\t<media-caption>\n\t\t\t\tThe tides, captured on film late yesterday.\n\t\t\t</media-caption>\n\t\t\t<media-producer>\n\t\t\t\tKarben\n\t\t\t</media-producer>\n\t\t</media>\n\t\t<p xml:lang=\"en-US\">The weather was superb today in Norfolk, Virginia. Made me want to take\n\t\tout my boat, manufactured by the <org value=\"acm\" idsrc=\"iptc.org\">Acme Boat Company</org>.</p>\n\t\t<p>Tides in Norfolk are running normal today. This weeks article highlights many of\n\t\tthis week's fishing issues, and also presents a reference table of tide times.</p>\n\t\t<hl2>The Tides are High</hl2>\n\t\t<p>As can be seen from the table below, the shores of Oceanview again present the\n\t\tbrightest spots for fishermen and sandcastle-builders alike.</p>\n\t\t<nitf-table>\n\t\t\t<nitf-table-metadata>\n\t\t\t\t<nitf-table-summary>\n\t\t\t\t\t<p>This is a table filled with weather data, good for fishermen\n\t\t\t\t\tliving in Norfolk, Virginia.</p>\n\t\t\t\t</nitf-table-summary>\n\t\t\t\t<nitf-col value=\"beach\"/>\n\t\t\t\t<nitf-col value=\"day-high\"/>\n\t\t\t\t<nitf-col value=\"day-low\"/>\n\t\t\t\t<nitf-col occurrences=\"2\" value=\"tide-time\"/>\n\t\t\t\t<nitf-colgroup occurrences=\"3\" value=\"three-day-forecast\">\n\t\t\t\t\t<nitf-col value=\"day-high\"/>\n\t\t\t\t\t<nitf-col value=\"day-low\"/>\n\t\t\t\t</nitf-colgroup>\n\t\t\t</nitf-table-metadata>\n\n\t\t\t<table border=\"1\">\n\t\t\t\t<tr>\n\t\t\t\t\t<!-- beach -->\n\t\t\t\t\t<th></th>\n\n\t\t\t\t\t<!-- day high and low -->\n\t\t\t\t\t<th colspan=\"2\">today</th>\n\n\t\t\t\t\t<!-- tide times -->\n\t\t\t\t\t<th colspan=\"2\">tide</th>\n\n\t\t\t\t\t<!-- forecast tomorrow -->\n\t\t\t\t\t<th colspan=\"2\">tomorrow</th>\n\n\t\t\t\t\t<!-- forecast the next day -->\n\t\t\t\t\t<th colspan=\"2\">next day</th>\n\n\t\t\t\t\t<!-- forecast the day after that -->\n\t\t\t\t\t<th colspan=\"2\">third day</th>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<!-- beach -->\n\t\t\t\t\t<th>beach</th>\n\n\t\t\t\t\t<!-- day high and low -->\n\t\t\t\t\t<th>high</th>\n\t\t\t\t\t<th>low</th>\n\n\t\t\t\t\t<!-- tide times -->\n\t\t\t\t\t<th>in</th>\n\t\t\t\t\t<th>out</th>\n\n\t\t\t\t\t<!-- forecast tomorrow -->\n\t\t\t\t\t<th>high</th>\n\t\t\t\t\t<th>low</th>\n\n\t\t\t\t\t<!-- forecast the next day -->\n\t\t\t\t\t<th>high</th>\n\t\t\t\t\t<th>low</th>\n\n\t\t\t\t\t<!-- forecast the day after that -->\n\t\t\t\t\t<th>high</th>\n\t\t\t\t\t<th>low</th>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<!-- beach -->\n\t\t\t\t\t<td>Sunset</td>\n\n\t\t\t\t\t<!-- day high and low -->\n\t\t\t\t\t<td>30</td>\n\t\t\t\t\t<td>14</td>\n\n\t\t\t\t\t<!-- tide times -->\n\t\t\t\t\t<td>09:23</td>\n\t\t\t\t\t<td>18:51</td>\n\n\t\t\t\t\t<!-- forecast tomorrow -->\n\t\t\t\t\t<td>28</td>\n\t\t\t\t\t<td>11</td>\n\n\t\t\t\t\t<!-- forecast the next day -->\n\t\t\t\t\t<td>31</td>\n\t\t\t\t\t<td>12</td>\n\n\t\t\t\t\t<!-- forecast the day after that -->\n\t\t\t\t\t<td>33</td>\n\t\t\t\t\t<td>9</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<!-- beach -->\n\t\t\t\t\t<td>Oceanview</td>\n\n\t\t\t\t\t<!-- day high and low -->\n\t\t\t\t\t<td>31</td>\n\t\t\t\t\t<td>15</td>\n\n\t\t\t\t\t<!-- tide times -->\n\t\t\t\t\t<td>09:25</td>\n\t\t\t\t\t<td>18:56</td>\n\n\t\t\t\t\t<!-- forecast tomorrow -->\n\t\t\t\t\t<td>26</td>\n\t\t\t\t\t<td>11</td>\n\n\t\t\t\t\t<!-- forecast the next day -->\n\t\t\t\t\t<td>31</td>\n\t\t\t\t\t<td>11</td>\n\n\t\t\t\t\t<!-- forecast the day after that -->\n\t\t\t\t\t<td>31</td>\n\t\t\t\t\t<td>9</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<!-- beach -->\n\t\t\t\t\t<td>Shellfish</td>\n\n\t\t\t\t\t<!-- day high and low -->\n\t\t\t\t\t<td>29</td>\n\t\t\t\t\t<td>15</td>\n\n\t\t\t\t\t<!-- tide times -->\n\t\t\t\t\t<td>09:25</td>\n\t\t\t\t\t<td>18:53</td>\n\n\t\t\t\t\t<!-- forecast tomorrow -->\n\t\t\t\t\t<td>26</td>\n\t\t\t\t\t<td>9</td>\n\n\t\t\t\t\t<!-- forecast the next day -->\n\t\t\t\t\t<td>29</td>\n\t\t\t\t\t<td>11</td>\n\n\t\t\t\t\t<!-- forecast the day after that -->\n\t\t\t\t\t<td>30</td>\n\t\t\t\t\t<td>11</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t</nitf-table>\n\t\t<p>Based on these tide tables, I believe you can see that this weekend stands to be\n\t\tan excellent one for small- or large-scale fishing exhibitions.</p>\n\t\t<block>\n\t\t\t<hl2>Local Nooks</hl2>\n\t\t\t<p>There are many local nooks that fishing fans may want to keep a special eye one.\n\t\t\t</p>\n\t\t\t<ul>\n\t\t\t<li><em>Deer Creek:</em> This area has proven to be a bass-lover's haven. Wilt Monthaven reports\n\t\t\tthat examples of bass over 30 inches long have been reeled-in by both the casual\n\t\t\tand the professional angler.</li>\n\t\t\t<li><em>Fox Run:</em> A bit more difficult, logistically, to navigate. However, the reports\n\t\t\tof Sturgeon in this area have put it on the fishing map for the first time\n\t\t\tsince 1996.</li>\n\t\t\t<li><em>Pheasant Hollow:</em> If you don't mind the crowds, this old favorite has come through\n\t\t\tthis year. More fish than you can shake a stick at. Or a rod at.</li>\n\t\t\t</ul>\n\t\t</block>\n\t\t<p>Happy fishing everybody!</p>\n\t</body.content>\n\t<body.end>\n\t\t<tagline>Stewart Klometers contributed to this article.</tagline>\n\t</body.end>\n</body>\n</nitf>\n"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment