Data-Liberation-Front / data_kitten

Get dataset metadata in a consistent format - no matter what you throw at it
MIT License
15 stars 5 forks source link

CKAN descriptions are Markdown, not text. #66

Open rossjones opened 10 years ago

rossjones commented 10 years ago

When pulling from CKAN instances, the description is always treated as plain text, when it is actually markdown - https://github.com/theodi/data_kitten/blob/master/lib/data_kitten/publishing_formats/ckan.rb#L53

This shows up as an issue when generating certificates using this - it may be that the right thing to do is to fix there, rather than here.

danielgavrilov commented 9 years ago

Regarding implementation, CKAN API version 2 (but not 3) seems to provide a notes_rendered with rendered HTML which can be used temporarily (since data_kitten only parses packages with v2 right now).