Title: Collection Partial Lists · Issue #3 · swordapp/JavaClient2.0 · GitHub
Open Graph Title: Collection Partial Lists · Issue #3 · swordapp/JavaClient2.0
X Title: Collection Partial Lists · Issue #3 · swordapp/JavaClient2.0
Description: In Atom-Pub its possible to get partitial lists of collections, the swordv2 spec contains no statement that its forbidden to use partial lists, so i have to assume that its okay to use them. (http://www.ietf.org/rfc/rfc5023.txt -> 10.1. ...
Open Graph Description: In Atom-Pub its possible to get partitial lists of collections, the swordv2 spec contains no statement that its forbidden to use partial lists, so i have to assume that its okay to use them. (http:...
X Description: In Atom-Pub its possible to get partitial lists of collections, the swordv2 spec contains no statement that its forbidden to use partial lists, so i have to assume that its okay to use them. (http:...
Opengraph URL: https://github.com/swordapp/JavaClient2.0/issues/3
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Collection Partial Lists","articleBody":"In Atom-Pub its possible to get partitial lists of collections, the swordv2 spec contains no statement that its forbidden to use partial lists, so i have to assume that its okay to use them.\n(http://www.ietf.org/rfc/rfc5023.txt -> 10.1. Collection Partial Lists)\n\nMy Col-IRI looks like this:\n\n```\nGET http://localhost:8291/sword2/col/DefaultModsCollection/\n...\n\u003c?xml version=\"1.0\"?>\n\u003cfeed xmlns=\"http://www.w3.org/2005/Atom\">\n \u003clink href=\"http://localhost:8291/sword2/col/DefaultModsCollection/1\" rel=\"first\"/>\n \u003clink href=\"http://localhost:8291/sword2/col/DefaultModsCollection/2\" rel=\"next\"/>\n \u003clink href=\"http://localhost:8291/sword2/col/DefaultModsCollection/2\" rel=\"last\"/>\n\u003cgenerator uri=\"http://www.swordapp.org/\" version=\"2.0\"/>\n \u003centry xmlns:app=\"http://www.w3.org/2007/app\">\n \u003cid>mods_00000001\u003c/id>\n ....\n \u003c/entry>\n \u003centry xmlns:app=\"http://www.w3.org/2007/app\">\n \u003cid>mods_00000002\u003c/id>\n ...\n \u003c/entry>\n\u003c/feed>\n```\n\nFor testing i have a limit of 2 entrys.\nIf i make a second request:\n\n```\nGET http://localhost:8291/sword2/col/DefaultModsCollection/2\n...\n\u003c?xml version=\"1.0\"?>\n\u003cfeed xmlns=\"http://www.w3.org/2005/Atom\">\n \u003clink href=\"http://localhost:8291/sword2/col/DefaultModsCollection/1\" rel=\"first\"/>\n \u003clink href=\"http://localhost:8291/sword2/col/DefaultModsCollection/2\" rel=\"last\"/>\n \u003cgenerator uri=\"http://www.swordapp.org/\" version=\"2.0\"/>\n \u003centry xmlns:app=\"http://www.w3.org/2007/app\">\n \u003cid>mods_00000003\u003c/id>\n ...\n \u003c/entry>\n \u003centry xmlns:app=\"http://www.w3.org/2007/app\">\n \u003cid>mods_00000004\u003c/id>\n ...\n \u003c/entry>\n\u003c/feed>\n```\n\nIf i now try to list the collection, then i only get mods_00000001 and mods_00000002. The API only respects the current document and ignores the next link.\n\n```\n// col = http://localhost:8291/sword2/col/DefaultModsCollection\nfinal CollectionEntries collectionEntries = client.listCollection(col);\n collectionEntries.getEntries().forEach(e-> {\n System.out.println(e.getTitle() + \"[\" + e.getId() + \"]\");\n });\n```\n\nShould the API handle this or should the user of JavaClient handle this ?\nIs it unusual to do this in SwordV2 ?\n","author":{"url":"https://github.com/sebhofmann","@type":"Person","name":"sebhofmann"},"datePublished":"2015-09-10T08:30:56Z","url":"https://github.com/swordapp/JavaClient2.0/issues/3"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ad1bfde8-e8cb-3042-7381-d87cd2eb00db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E43E:3CB8BE:48FB25:65455A:6B0091A4 |
| html-safe-nonce | 40201f07016686fd346677f6cc7aade2bf4a9254e0562fe7dbc8c9ef9ca4fdc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDNFOjNDQjhCRTo0OEZCMjU6NjU0NTVBOjZCMDA5MUE0IiwidmlzaXRvcl9pZCI6IjMyODQ1NzkzNDIzNzc1ODcxMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 638f9f4df5badb690eb9b7b0b8211ad654ff220883adadfca3ff2ed2751aec36 |
| hovercard-subject-tag | issue:105758824 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/swordapp/JavaClient2.0/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b30b60bc03d8972e0bead5a9eee7fb01acdd2c9d3057219441310af4a03c7be2/swordapp/JavaClient2.0/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b30b60bc03d8972e0bead5a9eee7fb01acdd2c9d3057219441310af4a03c7be2/swordapp/JavaClient2.0/issues/3 |
| og:image:alt | In Atom-Pub its possible to get partitial lists of collections, the swordv2 spec contains no statement that its forbidden to use partial lists, so i have to assume that its okay to use them. (http:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sebhofmann |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-preview |
| go-import | github.com/swordapp/JavaClient2.0 git https://github.com/swordapp/JavaClient2.0.git |
| octolytics-dimension-user_id | 1606751 |
| octolytics-dimension-user_login | swordapp |
| octolytics-dimension-repository_id | 4051272 |
| octolytics-dimension-repository_nwo | swordapp/JavaClient2.0 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4051272 |
| octolytics-dimension-repository_network_root_nwo | swordapp/JavaClient2.0 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width