mysociety / jkan Goto Github PK
View Code? Open in Web Editor NEWA lightweight, backend-free open data portal, powered by Jekyll
Home Page: https://jkan.io
License: MIT License
A lightweight, backend-free open data portal, powered by Jekyll
Home Page: https://jkan.io
License: MIT License
Since we've dropped EveryPolitician data in there, it would be lovely to explicitly link to everypolitician.org because we provide lots of potentially useful information both about the data and how to use it (e.g., that we have libraries for working with it/keeping it up to date)... which isn't obvious just from grabbing the data itself.
"More information:" maybe? Or (less hinty-helpy) "Website:"
Suggestion/example:
(oops no www needed on URL there)
(spun out from #6 (comment))
The site currently requires JavaScript to show anything under
/datasets/
and much of /sources/
even though the pages consist of basic HTML, which is being generated by a static site generator that could therefore be generating actual HTML for all these pages. Yet the site is not using JavaScript to do things I would expect it to e.g. filtering the lists page without a server-side request โ each filter change causes a full page reload, which might as well then be loading the requested data.
The search could still work identically as an enhancement, that's exactly what JavaScript is for.
It makes the site slower (instead of just showing me the dataset or list, it shows an empty page that has to wait for the JS to download and fetch more data in order to show anything), it makes it less available - https://kryogenix.org/code/browser/why-availability/ - and it makes it less resilient - https://kryogenix.org/code/browser/everyonehasjs.html .
So that I'm not just a killjoy, I've pushed a branch that fixes all the individual /dataset/
pages and /source/
pages to actually have text on them, this was not much work (because in the first case it turns out the text was already there, it was just being hidden by default... ๐คทโโ๏ธ , in the second I copied a JS template into the HTML and it Just Worked). Some more effort must be put in to do the same with:
Databot set a lot of timestamps an hour later then next day set them back: b2fe6ea
Dunno if this signifies a bug or not.
The footer on data.mysociety.org currently refers to UKCOD.
Fortunately, this appears to be quite trivial to rectify, as the data is contained in /_includes/mysoc-footer.html
This site currently uses a stock JKAN theme (it's Bootstrap with a Bootswatch slapped over the top), and it should probably look something like our other Jekyll-powered sites.
Tasks to be completed before it is 'launched':
Add - Data & APIs Link to footer of:
Add this text 'APIs and datasets for other mySociety services can be found on our data portal - http://data.mysociety.org/' to:
Merge:
Write:
Review (@MyfanwyNixon):
Publish:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.