IATI / IATI-Dashboard

A dashboard of various metrics, generated nightly from IATI data
http://dashboard.iatistandard.org
16 stars 20 forks source link

Add CSV redirects to publishingstats.iatistandard.org #564

Closed andylolz closed 4 years ago

andylolz commented 4 years ago

It looks like the relevant HTML pages have been redirected from dashboard.iatistandard.org to publishingstats.iatistandard.org. But CSV downloads haven’t been redirected, and the previous URLs now 404. For example: http://dashboard.iatistandard.org/timeliness_frequency.csv

Would it be possible to add those redirects, too? I guess this would mean adding […]\.(?:html|csv)$ or similar to one or more regexes.

I mention this because the aid transparency index methodology relies on the timeliness frequency statistics, and this change broke the import.

I appreciate this is not an official API, so there’s no requirement to maintain these URLs.

Thanks

andylolz commented 4 years ago

I feel like it’s always good to reference “Cool URIs don’t change”, as the seminal work on the subject.

samuele-mattiuzzo commented 4 years ago

We'll look at this, sensible suggestion indeed, thanks @andylolz

andylolz commented 4 years ago

Excellent – many thanks

Ocre42 commented 4 years ago

Redirects have been merged and updated in IATI-Websites as well.

andylolz commented 4 years ago

Excellent – thanks for resolving this so swiftly