Thanks Mark, Yeah, discovered that the hard way. I guess reading documentation is at times important :-)
btw, do you have the staged demo(Sweden Europeana) instance running on a local machine? I am running into a js error "*TypeError: this.getRegistry().getID is not a function*" on *Line 369 of backstage.js*using the current github snapshot and I want to be sure its not me seeing things! Regards Kihara On Wed, Dec 14, 2011 at 5:59 PM, [email protected] <[email protected]> wrote: > On Wed, Dec 14, 2011 at 2:12 AM, Kihara Absolomon <[email protected]> > wrote: > > Hi all, > > > > Just to answer my question for the future guys who might have this > problem. > > > > It seems that exhibit requires the json file that contains the data to be > > kind of pre-processed. Since backstage is accessed via a jetty server and > > the actual application via another web server, the link to the data file > > should be a valid URL, either accessed via jetty or the application > server. > > > > In short, <link href='http://localhost/playground/avid/data.js' > > type='application/json' rel='exhibit/data' />". The link in red should > be a > > valid url. > > > > I hope this will save someone in the future > > Hi Kihara. What you've got there is a scripted exhibit - backstage is > not being used at all. > > When creating a staged exhibit, the exhibit data URL needs to be the > one returned in the Location header on the 201 response that results > from the POST request that uploads the data. > > Mark. > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
