{"id":20079571,"url":"https://github.com/transpect/hub2bits","last_synced_at":"2026-03-19T13:30:16.219Z","repository":{"id":43138878,"uuid":"43825948","full_name":"transpect/hub2bits","owner":"transpect","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-27T16:04:32.000Z","size":1600,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-27T17:27:12.772Z","etag":null,"topics":["bits","bits-xml","jats","jats-xml"],"latest_commit_sha":null,"homepage":null,"language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/transpect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-10-07T15:34:38.000Z","updated_at":"2024-03-27T17:27:14.202Z","dependencies_parsed_at":"2023-10-02T07:52:38.356Z","dependency_job_id":"d15e5768-890d-4d3f-ad94-f17f3e6b17b5","html_url":"https://github.com/transpect/hub2bits","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fhub2bits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fhub2bits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fhub2bits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fhub2bits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transpect","download_url":"https://codeload.github.com/transpect/hub2bits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241509657,"owners_count":19974071,"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":["bits","bits-xml","jats","jats-xml"],"created_at":"2024-11-13T15:23:28.898Z","updated_at":"2026-02-10T10:34:02.964Z","avatar_url":"https://github.com/transpect.png","language":"XSLT","readme":"# hub2bits\n\nThis is a more or less generic yet organically grown Hub→JATS/BITS converter. \nIt was commissioned by the Hogrefe group of publishers for their [HoBoTS](https://hobots.hogrefe.com/)\nproject. This is just a library and depends on certain transpect-modules. For installation, please\nsee detailed instructions below.\n\n## requirements\n\nJava 1.7 (to run XML Calabash)\n\n## installation\n\nAs mentioned above, hub2bits is just a library. So we need to create a frontend project which\nincludes other needed modules and some infrastructure.\n\n### create directory for frontend project\n\n```\nmkdir hub2bits-frontend\ncd hub2bits-frontend\n\n```\n\n\n### get dependencies\n\n```\ngit clone git@github.com:transpect/calabash-frontend.git --recursive\ngit clone git@github.com:transpect/hub2bits.git\ngit clone git@github.com:transpect/cascade.git\ngit clone git@github.com:transpect/xproc-util.git\ngit clone git@github.com:transpect/xslt-util.git\n\n```\n\n### create frontend catalog\n\nCreate an XML catalog. Transpect operates with canonical URIs that typically starts\nwith `http://transpect.io/module-name/…`. The XML catalog is used by a catalog resolver\nto resolve the URIs to their respective file paths.\n\n```\nmkdir xmlcatalog\ntouch xmlcatalog/catalog.xml\n```\n\nEach module provide its own XML catalog. They are connected with nextCatalog statements in\nthe catalog of the frontend project. Just add the entries into xmlcatalog/catalog.xml:\n\n\n```\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003ccatalog xmlns=\"urn:oasis:names:tc:entity:xmlns:xml:catalog\"\u003e\n\n    \u003cnextCatalog catalog=\"../cascade/xmlcatalog/catalog.xml\"/\u003e\n    \u003cnextCatalog catalog=\"../hub2bits/xmlcatalog/catalog.xml\"/\u003e\n    \u003cnextCatalog catalog=\"../xproc-util/xmlcatalog/catalog.xml\"/\u003e\n    \u003cnextCatalog catalog=\"../xslt-util/xmlcatalog/catalog.xml\"/\u003e\n\n\u003c/catalog\u003e\n\n```\n\n### run the pipeline\n\n./calabash-frontend/calabash.bat -i source=myHub.xml -o result=myOutput.xml hub2bits/xpl/hub2bits.xpl\n\n### blame the developers (or create an issue/PR or make an override)\n\nIf you work for different customers, you might experience that there is no general-purpose solution\nwhich meet all their needs. We initally developed this module to meet the requirements of the\nHogrefe publishing group. But transpect provides ways to override the standard behaviour of a module.\nFeel free to read this [tutorial about configuration cascades](http://transpect.github.io/tutorial.html#dynamic-transformation-pipelines).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fhub2bits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftranspect%2Fhub2bits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fhub2bits/lists"}