{"id":16009745,"url":"https://github.com/jorol/marc-parser-xml","last_synced_at":"2025-04-05T02:24:47.017Z","repository":{"id":56836273,"uuid":"50658956","full_name":"jorol/MARC-Parser-XML","owner":"jorol","description":"Parser for MARC XML records","archived":false,"fork":false,"pushed_at":"2018-02-14T16:49:14.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"devel","last_synced_at":"2025-02-10T10:45:03.368Z","etag":null,"topics":["code4lib"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jorol.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-29T11:38:00.000Z","updated_at":"2016-01-29T11:39:56.000Z","dependencies_parsed_at":"2022-09-06T22:02:17.246Z","dependency_job_id":null,"html_url":"https://github.com/jorol/MARC-Parser-XML","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorol%2FMARC-Parser-XML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorol%2FMARC-Parser-XML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorol%2FMARC-Parser-XML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorol%2FMARC-Parser-XML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jorol","download_url":"https://codeload.github.com/jorol/MARC-Parser-XML/tar.gz/refs/heads/devel","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247277604,"owners_count":20912552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code4lib"],"created_at":"2024-10-08T13:04:01.703Z","updated_at":"2025-04-05T02:24:46.871Z","avatar_url":"https://github.com/jorol.png","language":"Perl","readme":"# NAME\n\nMARC::Parser::XML - Parser for MARC XML records\n\n[![Build Status](https://travis-ci.org/jorol/MARC-Parser-XML.png)](https://travis-ci.org/jorol/MARC-Parser-XML)\n[![Coverage Status](https://coveralls.io/repos/github/jorol/MARC-Parser-XML/badge.png?branch=devel)](https://coveralls.io/github/jorol/MARC-Parser-XML?branch=devel)\n[![Kwalitee Score](http://cpants.cpanauthors.org/dist/MARC-Parser-XML.png)](http://cpants.cpanauthors.org/dist/MARC-Parser-XML)\n\n# SYNOPSIS\n\n    use MARC::Parser::XML;\n\n    my $parser = MARC::Parser::XML-\u003enew( 't/marc.xml' );\n\n    while ( my $record = $parser-\u003enext() ) { \n        # do something ...\n    }\n\n# DESCRIPTION\n\nMARC::Parser::XML is a lightweight, fault tolerant parser for MARC XML records. Tags, indicators and subfield codes are not validated against the MARC standard. The resulting data structure is optimized for usage with the Catmandu data tool kit.\n\n# MARC\n\nThe MARC record is parsed into an ARRAY of ARRAYs:\n\n    $record = [\n            [ 'LDR', undef, undef, '_', '00661nam  22002538a 4500' ],\n            [ '001', undef, undef, '_', 'fol05865967 ' ],\n            ...\n            [   '245', '1', '0', 'a', 'Programming Perl /',\n                'c', 'Larry Wall, Tom Christiansen \u0026 Jon Orwant.'\n            ],\n            ...\n        ];\n\n# METHODS\n\n## new($file|$fh|$xml)\n\n### Configuration\n\n- `file`\n\n    Path to file with MARC XML records.\n\n- `fh`\n\n    Open filehandle for MARC XML records.\n\n- `xml`\n\n    XML string.\n\n## next()\n\nReads the next record from MARC input.\n\n## \\_decode($record)\n\nDeserialize a raw MARC record to an ARRAY of ARRAYs.\n\n# AUTHOR\n\nJohann Rolschewski \u003cjorol@cpan.org\u003e\n\n# COPYRIGHT\n\nCopyright 2016- Johann Rolschewski\n\n# LICENSE\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n\n# SEE ALSO\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorol%2Fmarc-parser-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjorol%2Fmarc-parser-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorol%2Fmarc-parser-xml/lists"}