Hi David
Thanks for that, actual I have to admit that I managed to find the file in the
Simile mailing list archive.
I had a play with it this morning and it works a treat.
Unfortunately using the hierarchical facets further emphasises the problems
with the collection counts. If you remember from previous discussions in order
to make both an artist and artwork views and facets interact correctly I have
to have a base collection and this dictates which item is used for the facet
count; in my case all counts relate to the number of artists. Thus if only one
artists has produced all the artworks tagged with "nature" subjects, then the
count for every node in the "nature" subtree is one, this is confusing as the
expectation would be for the counts to relate to the number of artworks.
At the moment I'm side-stepping the issue by removing the count from the facet.
Anyway as per usual thanks for all the good work.
N
----------------------------------------
> Date: Fri, 4 Jan 2008 00:07:54 -0500
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: Hierarchical facets
>
> Hi Neil,
>
> I'll keep it here for a while:
> http://dfhuynh.googlepages.com/hierarchical-facet.js
>
> David
>
> Neil Ireson wrote:
>> Dear all,
>>
>> My hotmail account blocked the js attachment, can someone make this
>> file available for download.
>>
>> thanks
>>
>> N
>>
>>> Date: Tue, 1 Jan 2008 22:38:41 -0500
>>> From: [EMAIL PROTECTED]
>>> To: [email protected]
>>> Subject: Re: Hierarchical facets
>>>
>>> Gudmundur A. Thorisson wrote:
>>>> [snip]
>>>>>> Comparing this with your photo example: it's as if you didn't have
>>>>>> any photos tagged with 'nature' directly, but would still like
>> to see
>>>>>> the 'nature' root node in your tree.
>>>>>>
>>>>> Correct. In the JSON file
>>>>>
>>>>> http://mire.environmentalchange.net/~webmaster/HierarchicalFacets/
>>>>> data.json
>>>>> the photo "Storm over the Chocolate Hills" is only tagged with
>> "hill",
>>>>> but it still counts toward "landscape" and "nature".
>>>>>
>>>> Right, but that´s only because you have several other photos tagged
>>>> with "nature".
>>>>
>>> Ah, I see what you mean now... That's a tricky bug! Thanks for catching
>>> it! I am attaching a new version of hierarchical-facet.js here. (For
>>> some reason certain email clients don't let those .js files through.
>> Let
>>> me know if the file doesn't make it across.)
>>>
>>> Using the new hierarchical-facet.js file, when I remove all other
>> photos
>>> tagged with "nature" and "landscape", "Storm over the Chocolate Hills"
>>> still shows up under "nature"->"landscape"->"hill". Let me know if it
>>> works for your own data.
>>>
>>> David
>>
>> ------------------------------------------------------------------------
>> Everything in one place. All new Windows Live!
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
_________________________________________________________________
Get Hotmail on your mobile, text MSN to 63463!
http://mobile.uk.msn.com/pc/mail.aspx
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general