Re: Demo next week
- From: Colin Walters <walters redhat com>
- To: yarrr-list gnome org
- Subject: Re: Demo next week
- Date: Mon, 23 May 2005 20:46:39 -0400
On Fri, 2005-05-20 at 19:00 -0400, Jonathan Blandford wrote:
> Hi guys,
>
> We seem to be working somewhat at cross purposes, by putting work into
> both the wiki and the main view. I'd like to see us getting yarrr
> working in a wiki by GUADEC (next Thursday), so we have something to
> demonstrate.
I got pretty far on this today, but then ran into a brick wall. The
problem appears to be JavaScript's "same origin" policy; essentially the
JavaScript running inside the wiki domain (localhost:80/wiki) can't
directly urlopen content at localhost:8080/yarrr. A temporary
workaround might be to install mod_jk or whatever to have Apache forward
requests to Tomcat.
Anyways I committed all the code. Take a look at mediawiki/yarrr.php to
see my current approach. I was just trying to get the initialization
working, after that is going it should be pretty trivial to stick in the
HTML we want and let the JavaScript do the rest.
If you want to pick up where I left off, just install yarrr.php into
your Mediawiki extensions/ directory, then add
include("extensions/yarrr.php") to LocalSettings.php. Finally just
start editing a page and type in <yarrr>blah</yarrr> (the internal
contents don't yet matter).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]