[humanities-dev] TEXTUS import questions

David Chiles dwalterc at gmail.com
Thu Jun 21 18:22:41 UTC 2012


Thanks for the help, again. 

Turns out I made a mistake. I left out the 'structure' metadata on the json file. It didn't any problems with that on import but did on listing all the files even the ones that had been working previously.

David 


On Monday, June 18, 2012 at 6:23 AM, Tom Oinn wrote:

> On 15 June 2012 19:48, David Chiles <dwalterc at gmail.com (mailto:dwalterc at gmail.com)> wrote:
> > Hi
> > 
> > I've been having a little trouble importing the json files I've created
> > which folllow json_import_format spec. What is working is I'm able through
> > the web interface upload a plain text file and then read and annotate it,
> > that all works fine. When I try using the importData function (from
> > dataStore-elastic.js) on a JSON file I don't get any errors back and I do
> > get an id returned. The problem is then when I go to look at the text and
> > annotations in the web interface there are no texts listed.
> > 
> > I'm guessing there's something simple I'm missing. Any help would be
> > appreciated.
> > 
> 
> 
> Simple, yes. Obvious, maybe not!
> 
> The 'list texts' page is not actually listing uploaded texts, it's
> listing structure nodes with depth 0. The wikisource import script
> will create such a node and populate it with the name and description
> of the text, this is what you see in the list. In the (near) future
> this list will display fragments of bibJSON associated with each node
> but to get things working just copy the form used by the
> import-wikisource.js script in the src/tools directory.
> 
> That should work, let me know if it doesn't!
> 
> Tom
> 
> -- 
> Tom Oinn
> +44 (0) 20 8123 5142 or Skype ID 'tomoinn'
> http://www.crypticsquid.com
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/humanities-dev/attachments/20120621/2fd30527/attachment.html>


More information about the humanities-dev mailing list