-
Notifications
You must be signed in to change notification settings - Fork 0
CWRC Writer with Dropal #91
Comments
Hello @WisDro You're getting that error because you're trying to perform the search from a different domain name. See: https://en.wikipedia.org/wiki/Same-origin_policy for more info. |
Hello @ajmacdonald can you tell me how to solve this error?what should I do exactly? |
If your site isn't on the server http://apps.testing.cwrc.ca then you can't make calls to http://apps.testing.cwrc.ca/islandora/cwrc_entities/v1/search/person?query=aaa&limit=100&page=0 without triggering the Cross-Origin Request Blocked error. If you want to perform entity searches, you have to change these URLs to a search backend on your own server: https://github.com/cwrc/CWRC-Writer/blob/development/src/js/writerConfig.js#L4 |
Put another way: the default search configuration is private to the in-house version of CWRC-Writer. If you want to use search, you'll have to recreate that functionality. |
how to recreate it ? Sorry that I have many questions, but I have no experience, und want this Project für my work to do . |
I'm sorry to say this but creating a backend search program is not trivial and if you have no experience it is probably not a good project to start with. |
Ok .. Thank you very much :) Von meinem iPhone gesendet
|
Hello again , another question .
what interest me now , is to bring the Tags Button to working . how should I realise this? |
Hello. I've simplified the basic example so that you should have a starting point to work from. Please update from the CWRC-Writer development branch and see if this works for you: https://github.com/cwrc/CWRC-Writer/blob/development/src/basic.htm |
I have now another new error message . when I click on tags , I get this message : " TypeError: w.schemaManager.schemaJSON is null " what is it exactly , and how can I solve this? still a small question . |
The Problem is in this funktion : function _getDefinition(name) { |
The tags button is trying to read the schema to determine what tags to show you, but you haven't loaded a schema yet, so you're getting that error. |
should I substitute for the variable docUrl? |
Dear WisDro, As you have discovered installing CWRC-Writer is quite complicated as it is designed to be modular and has to interact with a number of systems. Unfortunately we’re not in a position to provide ongoing support for CWRC-Writer at this point. We simply don’t have the staff resources. However, the very good news is that we’re currently in the process of producing much fuller technical documentation of CWRC and how to install it on a range of platforms. We’re also going to create a light-weight version that will be much easier to download and install. This grant-funded work is already underway and will be progressing quickly over the next year. If you’d like us to take your stack into account in this process, please fill out the survey you will find here: https://docs.google.com/forms/d/1tJpB1qKGMy30xtPMIpvJBUSVm33i9XUY0mS18-pRhfE/viewform https://docs.google.com/forms/d/1tJpB1qKGMy30xtPMIpvJBUSVm33i9XUY0mS18-pRhfE/viewform With all best wishes, Susan Brown Visiting Professor Professor susan.brown@ualberta.ca mailto:susan.brown@ualberta.ca sbrown@uoguelph.ca mailto:sbrown@uoguelph.ca http://orlando.cambridge.org http://orlando.cambridge.org/ http://www.ualberta.ca/ORLANDO http://www.ualberta.ca/ORLANDO http://www.cwrc.ca http://www.cwrc.ca/
|
Dear SusanBrown , I have understood from your last message that you are working on a new version (light-weight version ) . And I'm intressed, when will the new version be released? Best regards, |
I’m the developer working on the new version. Could you tell us a bit about how you’d like to use CWRC-Writer? Or, if you’ve filled out the survey to which Susan referred you in her earlier email, could you let me know which of the responses is yours (i.e., which email address you used to submit the survey)? We could then better tell you when the pieces you need will be available. We would also very much appreciate any suggestions you might have for our documentation. Thank you for your interest, james
|
Hi, That said, it would be best for us to have a ready-to-use Drupal 8 module :) , but a js library and some documentation on how to integrate it in one's own environment would also be great! Regards |
Hi Martin and WisDro, This sounds great, and we have other partners looking to install it in a plain Drupal (non-Islandora) environment, so we’d be happy to work with you on this. We’re not likely to be able to develop a drupal module per se, but we’re definitely working towards documenting easy download and setup as well as a light-weight standalone version that might interest you. I don’t believe that you have filled out the survey here for projects wishing to partner with us to install CWRC-Writer in their own stacks. If you could do so quickly, that would be helpful, since we are about to gear up this week and it will ensure that you’re on our radar and our contact list: Susan On Nov 21, 2016, at 3:59 AM, mnscholz <notifications@github.commailto:notifications@github.com> wrote: Hi, That said, it would be best for us to have a ready-to-use Drupal 8 module :) , but a js library and some documentation on how to integrate it in one's own environment would also be great! Regards — |
Dear Susan, I just filled out the survey. I wasn't always that sure what to fill in in the sections about data and annotations, as we don't have TEI support atm... But you can ask me if you have further questions :) A lightweight standalone version would already be a great starting point for us. Once we have that we could also contribute to a Drupal module and share it with the community. Regards |
Dear Susan , i have sent you an email and to the service email , Because i want to start with the installation the new version , So i think you should send us the new version , or Tell us how to start with the installation . would be very nice if you answer as sonn as possible to avoid losing Time . Regards |
I'm trying to let CWRC writer working on Drupal , if I want to write a comment and to use any available Tag in CWRC ,
1.
for example Tag Person to use ,then I get an message :
Object { readyState: 0, getResponseHeader: .ajax/N.getResponseHeader(), getAllResponseHeaders: .ajax/N.getAllResponseHeaders(), setRequestHeader: .ajax/N.setRequestHeader(), overrideMimeType: .ajax/N.overrideMimeType(), statusCode: .ajax/N.statusCode(), abort: .ajax/N.abort(), state: .Deferred/r.state(), always: .Deferred/r.always(), then: .Deferred/r.then(), 11 more… } cD.js:2340:25
What means the message exactly ?
1.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://apps.testing.cwrc.ca/islandora/cwrc_entities/v1/search/person?query=aaa&limit=100&page=0. (Reason: CORS header 'Access-Control-Allow-Origin' missing).
I got the Massage previously , and I don't know , who to solve it !!
can anyone help me ?
Thank you very much
The text was updated successfully, but these errors were encountered: