usgpo / link-service

The link service is used to create links to content and metadata on govinfo
Other
89 stars 41 forks source link

Support for volume number in the CFR link service parameters #5

Open peregrinator opened 5 years ago

peregrinator commented 5 years ago

We're attempting to use the link service to generate PDF urls for parts that span multiple volumes. Currently a volume parameter isn't support in the link service and we're wondering if that might be possible.

For example 50 CFR 17 spans 7 volumes (volumes 2-8). Currently the link service looks to return a look link to the last volume a part appears in - in this case volume 8 (https://www.govinfo.gov/content/pkg/CFR-2018-title50-vol8/pdf/CFR-2018-title50-vol8-part17.pdf).

Ideally this would also be supported for sections that span multiple volumes - 50 CFR 17.95 is a single section that spans 4 volumes for example.

Another possible approach might be to return links to each of the matching volumes in these cases so that the user doesn't need to know them.

Not sure how each of these would fit into the larger project but wanted to open the conversation. Thanks!