Hi Brad,
In your code, change
database.getSubjects("School", "type"),
to
database.getAllItems(),
Your data does not contain any item with "type" equal "School". That is
why it didn't work. The missing locale files were not the culprit.
David
Brad Clements wrote:
> I can't speak for Bruce, but I was trying to geo-locate addresses using
>
> http://simile.mit.edu/wiki/Exhibit/2.0/Map_View_Tutorial
>
>
> The page loads, the text area appears, I click the "Get Lat/Lng" button
> to process the addresses, but no output is written into the text area.
>
> I am using FF 2.x, and firebug, so I can see what files it tries to
> download.
>
> (I see it's also trying to download
> http://static.simile.mit.edu/exhibit/extensions-2.0/map/locales/en-US/map-locale.js)
>
> and failing
>
> See my test page
> http://www.communityenergyservices.org/wp-content/uploads/2007/gboh/house_explorer.htm
>
>
> David Huynh wrote:
>
>> When you get a 404 for that file, what happens to the whole web page?
>> How did you know you get a 404 for that file? Which browser(s) are you
>> using?
>>
>> Does this exhibit example work for you?
>> http://simile.mit.edu/exhibit/examples/presidents/presidents-2.html
>> It also tries to load the en-US locale.js file and the en locale file.
>>
>> David
>>
>> Brad Clements wrote:
>>
>>
>>> I never resolved it and had to move to a Python based geocoders package.
>>>
>>> however I had tried changing my browers's Locale Language from en-US to
>>> just 'en', and that changed the download path that was being attempted
>>> for locale.js, but even that file was not found.
>>>
>>>
>>>
>>> Bruce Robertson wrote:
>>>
>>>
>>>
>>>> I have seen no response to this, and I am experiencing the same problem.
>>>> There appears to be a missing file called by the API so timelines do not
>>>> work.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Following the instructions at
>>>>>
>>>>> http://simile.mit.edu/wiki/Exhibit/2.0/Map_View_Tutorial
>>>>>
>>>>> I get a 404 downloading
>>>>>
>>>>> http://static.simile.mit.edu/exhibit/api-2.0/locales/en-US/locale.js
>>>>>
>>>>> Suggestions?
>>>>>
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> General mailing list
>>>> [email protected]
>>>> http://simile.mit.edu/mailman/listinfo/general
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>
>>
>
>
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general