Hi Jason,

What did you mean by getting caught? I'm not seeing any error message in 
my FireBug console. Have you changed your source code since?

(BTW, you should be able to split by commas. Maybe the error is elsewhere.)

David

Jason Stirnaman wrote:
> I'm trying to use a del.icio.us json feed with the Exhibit 2.0 branch. 
> The page is http://library.kumc.edu/test/resources.html  In exhibit.js,
> it seems to be getting caught at line 3212 which is the call to
> value.split():
> function (elmt, name, splitOn) {
>     try {
>         var value = elmt.getAttribute(name);
>         if (value == null) {
>             value = elmt.getAttribute("ex:" + name);
>         }
>         if (splitOn == null) {
>             return value;
>         }
>         var values = value.split(splitOn);
>         for (var i = 0; value = values[i]; i++) {
>             values[i] = value.trim();
>         }
>         return values;
>     } catch (e) {
>         return null;
>     }
> }
>
> I'm guessing this is because the tags in the feed are split with
> commas, not semicolons as Exhibit expects.  Can I set splitOn == ","? 
> If so, where is the proper place to do that?
>
> Thanks,
>
> Jason
>
> Jason Stirnaman
> OME/Biomedical & Digital Projects Librarian
> A.R. Dykes Library
> The University of Kansas Medical Center
> Kansas City, Kansas
> Work: 913-588-7319
> Email: [EMAIL PROTECTED]
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to