?

Log in

No account? Create an account
Scheherazade in Blue Jeans
freelance alchemist
Wherein I request assistance 
19th-Nov-2010 10:55 am
Hearth
One of the things I'll be doing for the next few months is a great big BARCC website update and overhaul!

There are things you can help me with! :)

* Anyone know how to program in JavaScript? We need this map to be pointed at, y'know, America, since that's where BARCC is. The page has a great big "DO NOT EDIT THIS PART IF YOU DON'T KNOW WHAT YOU'RE DOING" warning. I am certain that some of you have the skills. Halp?

* One of the suggestions made by an intern reviewing the site: a glossary. The problem with me (and my boss and really anyone here) doing this is that I will forget things that I should be including, just because they're such a normal part of my vocabulary. So I ask you this: What terms would you like to see defined? What words or phrases, when I go off on a tear about sexual violence, make you go "huh?" Please let me know!

And if you have any ideas for stuff that isn't on the website and ought to be, et cetera, let me know.

Thank you! :)
Comments 
19th-Nov-2010 05:26 pm (UTC)
OK. From poking at the site with Firebug (a tool to analysis, among other things, the Javascript in a site), this is a stone mess. If you look in the source, there's actually code for centering on what I'd assume is BARCC HQ. There's a file that's at http://www.barcc.org/assets/xml/map.xml for the markers on the side, but it's coming up as malformed XML, and isn't being loaded.

Aside from a party tonight, I'm more or less free this weekend; I'm on call for a work issue that hopefully won't pop up. If no one else pops up, you can comment, or send me an email, with the details of the site (CMS used, stuff like that). I'll work on building an example we can then graft onto this site; and if not, my example'll at least show how to make it work.

Or maybe someone else'll figure out an easier way (there are easier non-JS solutions to some of this, but not as Professional looking IMHO).
19th-Nov-2010 05:27 pm (UTC)
You rock like a rocking thing. CMS = Expression Engine.

EDIT: Also I must point out that that page way predates me. I did not code the mess!

Edited at 2010-11-19 05:29 pm (UTC)
19th-Nov-2010 05:40 pm (UTC)
Ah, OK.

I don't know EE at all, but a quick poke around the web pulls up this page, whose instructions seem to have powered this non-profit's working GMaps page with EE as their CMS.

Let me see what I can whip up, but that might be an option as well. :)
19th-Nov-2010 06:20 pm (UTC)
You rock.
I was hoping to flag down one of my friends here, but she's a bit of a flake since she fell in love.
19th-Nov-2010 06:44 pm (UTC)
http://www.barcc.org/assets/xml/map.xml has a blank line at the beginning that has to be removed before it will work at all. Once you fix that, let's see what happens next.

(In Safari, this causes an "Invalid XML file" alert popup. In Firefox, it seems to fail silently.)

Edited at 2010-11-19 06:53 pm (UTC)
19th-Nov-2010 06:17 pm (UTC) - Glossary suggestions
rape culture
rape kit
SANE

maybe the legal definitions of rape, incest, assault, stalking, harrassment... those often differ from what people have in their heads.

It's not strictly glossary material, but maybe links to and/or summaries of relevant MA laws?
19th-Nov-2010 06:21 pm (UTC) - Re: Glossary suggestions
See, I have no idea what SANE means.

I would absolutely do laws.
I would absolutely do rape culture.
Shocking to absolutely nobody who knows me, I'd put consent in there.
19th-Nov-2010 07:31 pm (UTC) - Re: Glossary suggestions
Perhaps consent and enthusiastic consent, going into "silence doesn't mean yes, only yes! means yes."

Defining victim-blaming would be good as well.
20th-Nov-2010 09:38 pm (UTC) - Re: Glossary suggestions
I would also suggest "PTSD" and "triggers", and maybe something about the use of "survivor" versus "victim".
19th-Nov-2010 09:30 pm (UTC)
An update:

I copied your page and the accompanying XML file to my own laptop's web server, then edited the XML file manually to remove the blank line at the beginning. Once I did that, the map centers and displays fine on both Firefox and Safari.

So all you need to do is to remove the blank line from the top of http://www.barcc.org/assets/xml/map.xml . If that file is being generated by a server program at your end, then that program needs to be fixed -- but that's no longer a Javascript problem, and I'd need to understand what that program is doing.

Edited at 2010-11-19 09:34 pm (UTC)
7th-Dec-2010 08:34 pm (UTC)
Hi, I'm posting another reply here because it doesn't look like anyone fixed the XML problem I identified last month. Is someone working on this?
This page was loaded Sep 25th 2017, 11:31 am GMT.