{"id":16778135,"url":"https://github.com/dgf/dm4-csv","last_synced_at":"2025-09-14T23:53:59.120Z","repository":{"id":7320035,"uuid":"8638706","full_name":"dgf/dm4-csv","owner":"dgf","description":"DeepaMehta 4 CSV Importer","archived":false,"fork":false,"pushed_at":"2018-06-20T08:12:07.000Z","size":176,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T19:25:51.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-07T23:12:18.000Z","updated_at":"2014-01-03T19:52:52.000Z","dependencies_parsed_at":"2022-07-19T12:54:44.735Z","dependency_job_id":null,"html_url":"https://github.com/dgf/dm4-csv","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dgf/dm4-csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fdm4-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fdm4-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fdm4-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fdm4-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgf","download_url":"https://codeload.github.com/dgf/dm4-csv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fdm4-csv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275185249,"owners_count":25419916,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T07:26:59.256Z","updated_at":"2025-09-14T23:53:59.093Z","avatar_url":"https://github.com/dgf.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepaMehta 4 CSV Importer\n\nsimple CSV importer to update flat topic compositions\n\n![screenshot](https://github.com/dgf/dm4-csv/raw/master/screenshot.png)\n\nLimitations:\n\n * delimiter: ```|``` (default)\n * data type: Text\n\n\n## Requirements\n\n * [DeepaMehta 4](http://github.com/jri/deepamehta) 4.1.3-SNAPSHOT\n * Write access to dm4.filerepo.path (see DM4 config file)\n\n\n## Usage\n\nthe plugin adds an *Import CSV* action for topic types\n\n\n### import some topics from a CSV file\n\nto create some *Note* topics use a CSV file like the following:\n\n```\ncsv.example | dm4.notes.title | dm4.notes.text\none         | check this      | with content\ntwo         | check this too  | and with another content\n```\n\nupload the file with the *Import CSV* action of the *Note* topic type\n\nan import of some *Web Resource* topics could look like this:\n\n```\ndeep.web | dm4.webbrowser.url        | dm4.webbrowser.web_resource_description\nsite     | http://www.deepamehta.de  | \u003ch1\u003eDeepaMehta\u003c/h1\u003e\u003cp class=\"slogan\"\u003eCope With Complexity\u003c/p\u003e\ndemo     | http://demo.deepamehta.de | \u003ch1\u003eDemo Server\u003c/h1\u003e\u003cp\u003etry it now\u003c/p\u003e\nci       | http://ci.deepamehta.de   | \u003ch1\u003eContinuous Integration\u003c/h1\u003e\u003cp\u003efresh nightly builds\u003c/p\u003e\n```\n\n\n### update existing topics\n\nto update all instances of a topic type just import the modified CSV file again,\nbut be aware of these rules:\n\n * existing topic is updated by a URI match\n * row without a matching topic URI creates a new topic instance\n * existing topic instance with a type URI and no actual row match is deleted\n\n\n### CSV Format Description\n\n * topic URI prefix as the first entry (row: 0, col: 0)\n * all direct child topics are the remaining header columns\n * one topic per row with topic URI suffix in the first column\n\n## Development\n\nclone this repo and install the plugin before starting the runner\n\n    git clone https://github.com/dgf/dm4-csv\n    cd dm4-csv\n    mvn install\n    mvn pax:run\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgf%2Fdm4-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgf%2Fdm4-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgf%2Fdm4-csv/lists"}