Open WisDro opened 8 years ago
Hello @WisDro You have to configure CWRC-Writer if you want to use these search functions. The URLs are set here: https://github.com/cwrc/CWRC-Writer/blob/development/src/js/writerConfig.js Also see: https://github.com/cwrc/CWRC-Writer#configuration
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 I have already configured , and that Problem is not dissolved .should I do something else to it?
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
Am 11.05.2016 um 22:17 schrieb Andrew notifications@github.com:
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.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub
Hello again , the problem of Original Source Error I have not solved yet , but I have another question . WriterConfig.js is not loaded , and therefore, the error could be caused . which may be the reason that is not loaded ?
another question if I choose the Tags button , I get so in the console --> In unknown tag
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 . how can I get the .rng file for Tags button ?
The Problem is in this funktion :
function _getDefinition(name) { var defs = w.schemaManager.schemaJSON.grammar.define; for (var i = 0, len = defs.length; i < len; i++) { var d = defs[i]; if (d['@name'] == name) return d; } return null; }
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. You have to load a document first, then CWRC-Writer will determine the associated schema, load it and produce the JSON version.
should I substitute for the variable docUrl? or how to load the file exactly?
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
Susan Brown Director, Orlando Project; Project Leader, Canadian Writing Research Collaboratory
Visiting Professor Professor
English and Film Studies School of English and Theatre Studies
University of Alberta University of Guelph
Edmonton, Alberta T6G 2E5 Guelph, Ontario N1G 2W1 Canada
780-492-7803 519-824-4120 x53266
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/
On Jun 24, 2016, at 4:18 AM, WisDro notifications@github.com wrote:
should I substitute for the variable docUrl? or how to load the file exactly?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cwrc/CWRC-Dialogs/issues/91#issuecomment-228285433, or mute the thread https://github.com/notifications/unsubscribe/AAhUoHxvXACmkQlMl7UuZCCJNOkUaNfMks5qO5LJgaJpZM4IHKx7.
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, WisDro
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
On Nov 14, 2016, at 9:48 AM, WisDro notifications@github.com wrote:
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, WisDro
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cwrc/CWRC-Dialogs/issues/91#issuecomment-260291401, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhZXa9D9cCx40aDRTKM7eohLuEI6O7yks5q-C5fgaJpZM4IHKx7.
Hi, I'm a colleague of WisDro and one of the main developers here at the WissKI project, in which we want to use CWRC-Writer. So I try to answer your question: We would like to use the CWRC-Writer in our own Drupal 8-based environment as a way to store/edit TEI-encoded texts. I.e. we are primarily interested in using the JS editor component for doing "simple" TEI markup. In a second step we may want to use the named entity/relations dialogs, especially weaving RDF into TEI... We are not so much interested in the text versioning and management environment as our research focus is not so much on texts, but on other CH objects. (I attended the tutorial in Krakow and was amazed to learn that there is a whole research environment around the editor!)
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 Martin
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: http://goo.gl/forms/KlwhSxoCwvJhDf7w1
Susan
On Nov 21, 2016, at 3:59 AM, mnscholz notifications@github.com<mailto:notifications@github.com> wrote:
Hi, I'm a colleague of WisDro and one of the main developers here at the WissKI project, in which we want to use CWRC-Writer. So I try to answer your question: We would like to use the CWRC-Writer in our own Drupal 8-based environment as a way to store/edit TEI-encoded texts. I.e. we are primarily interested in using the JS editor component for doing "simple" TEI markup. In a second step we may want to use the named entity/relations dialogs, especially weaving RDF into TEI... We are not so much interested in the text versioning and management environment as our research focus is not so much on texts, but on other CH objects. (I attended the tutorial in Krakow and was amazed to learn that there is a whole research environment around the editor!)
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 Martin
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/cwrc/CWRC-Dialogs/issues/91#issuecomment-261880490, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAhUoDuM3e_xCuC53IVZgGd_wYMrOaznks5rAV1wgaJpZM4IHKx7.
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. Actually, WisDro and I could spend some time on that in the first months of 2017. Do you think there will be a first release of the standalone library that we could work with till end of 2016 / start of 2017?
Regards Martin
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 WisDro
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 ?
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