Showing posts with label browsers. Show all posts
Showing posts with label browsers. Show all posts

Saturday, 9 June 2012

Browser support in Oracc 2

Much of the development on Oracc2 over the last day or so has been porting projects to the new infrastructure and fixing some bugs in the lemmatizer. One change visible to web users, though, is that browser support has been improved.

O2 now has support for Safari, Chrome and Opera, in addition to FireFox. This support is not extensively tested, but basic functionality seems good. Of the three, Opera support is initially less robust than the two webkit-based browsers (Safari/Chrome).

It is possible that O2 will not support officially support Internet Explorer, which has a way of always requiring extra work to make basic things function. I hope that between FireFox, Safari and Chrome, with a possible option on Opera, people will have enough choice to be able to enjoy using Oracc.

Tuesday, 17 August 2010

If your project page loses its styling ...

There is a problem with the redirection the Oracc server currently does that
I can't fix for the moment, but there is a straightforward solution.

The problem only affects projects whose pages contains relative links.
In such pages, you will see a different behaviour depending on whether you
ask for:

http://oracc.museum.upenn.edu/dcclt/

or

http://oracc.museum.upenn.edu/dcclt

The first version, with the trailing /, works correctly; the second fails to find
styling, images and any other relative links.

The solution is to specify the URL base explicitly in the home page (and
any other pages this problem affects). This is quite straightforward: just
add the <base> tag to the <head> part of the page; in the href
attribute, give the path with trailing slash. Here is what the header of
the DCCLT home page now looks like:

<head>
<base href="http://oracc.museum.upenn.edu/dcclt/"/>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii" />
<link rel="stylesheet" type="text/css" href="dcclt.css" />
<title>DCCLT - Digital Corpus of Cuneiform Lexical Texts</title>
</head>

I have already fixed this in several projects (HBTIN, SAA, DCCLT), but
I haven't checked all projects to see if they need the fix.