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

Support P7882 ft.dk politician identifier #27

Merged
merged 2 commits into from
Jan 21, 2022

Conversation

c960657
Copy link
Contributor

@c960657 c960657 commented Jan 8, 2022

Add support for the P7882 property.

The politician biographies exist in Danish and English on www.ft.dk and www.thedanishparliament.dk, respectively. The Accept-Language HTTP header is used to determine which version to link to.

The two sites handle non-ASCII characters in two different ways. See https://da.wikipedia.org/wiki/Modul:Ft.dk_link and https://en.wikipedia.org/wiki/Module:Ft.dk_link.

Copy link
Owner

@arthurpsmith arthurpsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for the delay looking at this - it's a bit complex but it seems ok to me. Will give it a try.

@arthurpsmith arthurpsmith merged commit 4faf96b into arthurpsmith:master Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants