Socket
Book a DemoInstallSign in
Socket

monkeyhelper-nitfy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monkeyhelper-nitfy

bundlerRubygems
Version
0.0.1
Version published
Maintainers
1
Created
Source

= nitfy

A NITF document parser (http://www.nitf.org/).

= Usage

#!/usr/bin/ruby

require 'rubygems' require 'nitfy'

xml_string = File.read(ARGV[0]) doc = Nitfy::Document.parse(xml_string, :single => true)

Head

puts doc.head.metas.first.name puts doc.head.keylist.keywords.first.key

Body

puts doc.body.head.title puts doc.body.head.headline.hl1 puts doc.body.content

== Copyright

Copyright (c) 2009 robl. See LICENSE for details.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts