[ckan-dev] CKAN Repeating - Templates?

Hendrik Bunke h.bunke at zbw.eu
Fri Apr 22 07:43:14 UTC 2016


Sorry, forgot the promised screenshot.

regards
hendrik

On 22 April 2016 at 09:21, Hendrik Bunke <h.bunke at zbw.eu> wrote:

> We've build something like that for journaldata.zbw.eu. Basically, author
> objects are stored as flat list items by the form, are then transformed to
> JSON objects by the validator and finally get stored as JSON strings in the
> package dict. The UI also allows to add as many authors as you like. By
> simply adding an ORCID- or GND-ID the approbiate API is called and author
> metadata fields get filled in automatically. (you'll get the idea with the
> attached screenshot).
>
> Code will be on github soon. It's integrated in an extension that provides
> a metadata scheme for da|ra and enables DOI registration of datasets and
> ressources. Might be a good idea to separate the author relevant code and
> publish it as solitary extension.
>
> regards
> hendrik
>
>
> On 20 April 2016 at 16:37, Harald von Waldow <harald.vonwaldow at eawag.ch>
> wrote:
>
>> Hi Tim,
>>
>> I see the problem very clearly but don't have a complete solution to
>> that yet. In my mind there are two parts to it:
>>
>> 1) The user interface, and
>> 2) Properly storing structured metadata. I.e. you want to store a list
>> of objects, whwere each list element represents a contributor with
>> attributes name, ORCID, ...
>>
>> Incidentally I have written a little blog-post about that problem:
>> https://ckan4rdm.wordpress.com/2016/03/04/list-of-authors/
>>
>> <advertisement>
>> A new blog to revive the ckan4rdm community:
>> https://ckan4rdm.wordpress.com/
>> </advertisement>
>>
>> Cheers,
>> Harald
>>
>> On 2016-04-12 10:13, Timothy Giles wrote:
>> > Hi all,
>> >
>> >
>> >
>> > We want to use Repeating to generate a functionality that would:
>> >
>> >
>> >
>> > 1.       For (example) Contributors:
>> >
>> > a.       Type of Contributor (selection list box)
>> >
>> > b.       Internal ID (text field that looks up and inserts values to c,
>> > d and e)
>> >
>> > c.       Name (text)
>> >
>> > d.       ORC ID (html link)
>> >
>> > e.       Affiliation (text)
>> >
>> >
>> >
>> > We would then have the (+) Plus Button functionality, to repeat this
>> > ‘block’ allowing multiple contributors to be recorded.
>> >
>> >
>> >
>> > I see a note in the repeating code mentioning it would be better in
>> > future to use templates. Question of the day is – what are these
>> templates?
>> >
>> >
>> >
>> > Is anyone using repeating at the moment to generate similar
>> > functionality? We don’t want to reinvent the wheel! Unless it is
>> > necessary ofc.
>> >
>> >
>> >
>> > Thanks in advance
>> >
>> >
>> >
>> > Tim
>> >
>> >
>> >
>> > _______________________________________________
>> > ckan-dev mailing list
>> > ckan-dev at lists.okfn.org
>> > https://lists.okfn.org/mailman/listinfo/ckan-dev
>> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>> >
>>
>> --
>> Harald von Waldow
>> Eawag
>> ICT Services
>> Ueberlandstrasse 133
>> 8600 Duebendorf
>> http://www.eawag.ch
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>
>
> --
> Dr. Hendrik Bunke
> ZBW - Leibniz Information Centre for Economics
> --Innovative Information Systems and Publishing Technologies--
> Tel.: +49 40 42834 454 (Hamburg) OR +49 421 7940430 (homeoffice)
> http://zbw.eu
>
>


-- 
Dr. Hendrik Bunke
ZBW - Leibniz Information Centre for Economics
--Innovative Information Systems and Publishing Technologies--
Tel.: +49 40 42834 454 (Hamburg) OR +49 421 7940430 (homeoffice)
http://zbw.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160422/fa6e4819/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: author_ui.png
Type: image/png
Size: 40480 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160422/fa6e4819/attachment-0003.png>


More information about the ckan-dev mailing list