I've checked in a (apparently) working version of the xml importer to
trunk. I changed one attribute name to be more informative
(propertyLabels--->labelTags) and updated the wiki to reflect the
change. I'll be continuing to fiddle with this importer, but feel free
to try it out and offer feedback in the meantime.
On 9/16/2010 2:03 PM, David Karger wrote:
XML importer currently broken but I'll. Check in a fix shortly
Sent from my iPhone
On Sep 16, 2010, at 1:42 PM, Arithmeticus<kalvesm...@gmail.com> wrote:
Hi Mike,
Under ex:orders, try inserting the two periods that should precede
"authors". If that doesn't work, back up and see if the sort function
will work on *any* of the fields, especially the one-placename ones.
My thanks, too, to David for pointing out the XML importer page.
Although it's not clearly written, it may help me reconsider a few
problems I'm encountering.
jk
On Sep 15, 12:44 pm, Michael Fitzgerald<mfitzg...@gmail.com> wrote:
Hmm - never had any problems getting the exhibit to display here (and
it still works for me right now). It does everything it should:
faceting, etc. It just doesn't sort.
Given RDF data of the form that Zotero spits out:
<bib:Book rdf:about="urn:isbn:9780826515322">
<dc:date>2006</dc:date>
<dc:identifier>ISBN 9780826515322</dc:identifier>
<dc:publisher>
<foaf:Organization>
<foaf:name>Vanderbilt University Press</foaf:name>
</foaf:Organization>
</dc:publisher>
<dc:title>A Shot In The Dark</dc:title>
<bib:authors>
<rdf:Seq>
<rdf:li>
<foaf:Person>
<foaf:givenname>Martin</foaf:givenname>
<foaf:surname>Hawkins</foaf:surname>
</foaf:Person>
</rdf:li>
</rdf:Seq>
</bib:authors>
<z:itemType>book</z:itemType>
</bib:Book>
Should this do the job?
<div ex:role="collection" ex:itemTypes="Book"></div>
<div ex:role="view" ex:orders="authors.surname, authors.givenname"
ex:directions="ascending, ascending" ex:showAll="true"</div>
The answer has to be no, since it doesn't..... But why?
Right now, the xml reader seems to introduce new complexity, but if
that's the only way to solve the problem, I'll have to deal with that.
Frustrating that the live example on the wiki which is about books
doesn't work.
Mike
On Wed, Sep 15, 2010 at 11:41 AM, David Karger<kar...@mit.edu> wrote:
Mike, when I try to examine the exhibit I get a "failed to load js file"
error---it's having trouble reading the results returned from babel.
in case it simplifies your pipeline, you might consider using the build-in
xml reader now part of trunk.simile-widgets.org . You should be able to set
it to parse your rdf-xml:
http://www.simile-widgets.org/wiki/Exhibit/XML_Importer
On 9/15/2010 9:53 AM, Michael Fitzgerald wrote:
I'm working on a simple book collection exhibit based on an RDF export
from Zotero. The problem I'm encountering is in getting the items to
sort alphabetically by author name. I've figured out how to get the
first name and last name to display in the lens and I've figured out
how to get last name to appear as a facet (would love to have that be
"last, first" combined instead, if that's possible). But when trying
to use those identical terms (authors.surname and authors.givenname)
in ex:orders, I get what just seems to be random order. I suspect it
might have something to do with nodes and is probably an easy fix. Any
assistance gratefully received.
Exhibit here:
http://lrdudc.wrlc.org/jazz/collections/stokes-books-rdf.html
RDF data here:
http://lrdudc.wrlc.org/jazz/collections/stokes-books.rdf
Thanks -
Mike
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.