Simile/Exhibit uses 'URI' not 'URL' as the key - Patch Attached.

dman - October 13, 2008 - 13:09
Project:Exhibit
Version:6.x-1.x-dev
Component:Data sources
Category:bug report
Priority:normal
Assigned:jhuckabee
Status:needs review
Description

Howdy.
I got this up and running pretty well (after all sorts of issues trying to use an rdf.module feed instead of this alternative one :-\ ) and I'm starting to play.
Currently I still can't find the common ground between rdf.module and package and this ... although I thought they were going to mash up together!

Anyway - I could set up a timeline OK (pic attached) and that is cool.

BUT I found that the entries were making up odd (unworking placeholder) 'uri' values, and not using the actual 'url' values the feed was giving them.

On investigation, it seems that the feeds Exhibit expects key on 'uri' not 'url'. Swapping that across made everything fit swell again.

This occured in both timeline and tile view - and is a factor of the JSON, not the UI.
I changed it in all the places that made sense. Patch attached. Does no more than swap uri for url in the feedback arrays.

AttachmentSize
exhibit-uri_problem_before.png24.08 KB
exhibit-uri_problem_after.png19.95 KB
exhibit-uri_not_url.patch3.71 KB
exhibit-timeline_demo.png49.5 KB

#1

jhuckabee - March 2, 2009 - 20:45
Assigned to:Anonymous» jhuckabee

Thanks for the patch, makes sense. I will look it over, test, and verify.

 
 

Drupal is a registered trademark of Dries Buytaert.