Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

determine mimetype of resources for a dataset #5083

Open
1 task
rshewitt opened this issue Feb 12, 2025 · 1 comment
Open
1 task

determine mimetype of resources for a dataset #5083

rshewitt opened this issue Feb 12, 2025 · 1 comment
Labels
H2.0/Harvest-Transform Transform Logic for Harvesting 2.0

Comments

@rshewitt
Copy link
Contributor

User Story

In order to determine the type of resource or download a dataset offers, datagov wants to add functionality to determine mimetypes of distribution URLs.

datagov wants to add functionality t

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN a dcatus distribution
    AND a "downloadURL" for that distribution
    WHEN the function is called
    THEN the mimetype is determined

Background

  • navigate to the downloads & resources portion of a dataset page. the mimetype ("format" in ckan) determines what's displayed in the UI ( e.g. a resource is a .csv file so the icon is a csv doc and the button allows the user to download that doc )

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

@Bagesary Bagesary moved this to 📥 Queue in data.gov team board Feb 13, 2025
@rshewitt rshewitt added the H2.0/Harvest-Transform Transform Logic for Harvesting 2.0 label Feb 18, 2025
@tdlowden tdlowden moved this from 📥 Queue to 📟 Sprint Backlog [7] in data.gov team board Feb 27, 2025
@tdlowden
Copy link
Member

Estimate: 1 day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
H2.0/Harvest-Transform Transform Logic for Harvesting 2.0
Projects
Status: 📟 Sprint Backlog [7]
Development

No branches or pull requests

2 participants