[openbiblio-dev] JS editor component for BibJSON?
Mark MacGillivray
mark at cottagelabs.com
Mon Aug 6 09:06:03 UTC 2012
check out jtedit and see if it helps you :
https://github.com/CottageLabs/jtedit
You may not want to use it as it stands, but the method it employs for
presenting data on the page may be informative. I found that trying to
present JSON in an editor was too restrictive when the JSON can have
multiple levels of complexity, so instead it displays a simple text box
with the JSON plus scans for input fields tagged with class .jtedit_blah,
and when they change it updates the JSON. That way, when you know your
complex JSON layout, you can design a page e.g. with lists, tables or
whatever, and drop jtedit in to handle the updates.
Mark
On Mon, Aug 6, 2012 at 9:56 AM, Peter Murray-Rust <pm286 at cam.ac.uk> wrote:
>
>
> On Mon, Aug 6, 2012 at 9:51 AM, Tom Oinn <tom.oinn at okfn.org> wrote:
>
>> I need a lightweight editor component that looks great and takes up
>> minimal amounts of screen real estate to create and modify bibJSON
>> objects. I haven't found one so am planning to spend the day writing
>> one, of use to anyone else? Going to do the renderer version as well
>> (compact presentation, no edits, understands all of the possible
>> fields).
>>
>> Sounds brilliant. Can't help technically but can send karma over the net.
> Doesn't matter if there is already something out there. IMO it is never a
> bad thing to have more than one (but less than five) offerings in a space
> like this.
>
>> --
>> Tom Oinn
>> +44 (0) 20 8123 5142 or Skype ID 'tomoinn'
>> http://www.crypticsquid.com
>>
>> _______________________________________________
>> openbiblio-dev mailing list
>> openbiblio-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/openbiblio-dev
>>
>
>
>
> --
> Peter Murray-Rust
> Reader in Molecular Informatics
> Unilever Centre, Dep. Of Chemistry
> University of Cambridge
> CB2 1EW, UK
> +44-1223-763069
>
> _______________________________________________
> openbiblio-dev mailing list
> openbiblio-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/openbiblio-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/openbiblio-dev/attachments/20120806/33a659dd/attachment.html>
More information about the openbiblio-dev
mailing list