Opened 11 years ago

Last modified 6 years ago

#695 new Bug/Something is broken

http://blogs.mayfirst.org homepage does not validate

Reported by: Daniel Kahn Gillmor Owned by: Jamie McClelland
Priority: Low Component: Tech
Keywords: blogs.mayfirst.org validation Cc:
Sensitive: no

Description

If you feed http://blogs.dev.mayfirst.org into the W3C markup validator, there are a number of errors.

It's probably worth cleaning those up so that the site renders more predictably across browsers.

Change History (9)

comment:1 Changed 11 years ago by alfredo

I'm not able to sftp into the blogs site to get this done. Can I get pointed please? It's letting ajl in (and nobody else) but ajl doesn't own anything in there. Should I shift ownership or is there another fix?

BTW, Drupal calls strict html standards but many of its basic functions violate those, including its form statements (e.g. edit-form). It's known to return validation errors out of the box. But I'll clean up as much as I can when I can get in there.

comment:2 Changed 11 years ago by Daniel Kahn Gillmor

If the goal is to modify code on the site, the workflow would normally be to test and validate code locally, commit it to revision control, and then trigger an update on the remote site. I'm not sure if blogs on peltier is set up for that fully, though.

comment:3 Changed 11 years ago by Jamie McClelland

Hi Alfredo - can you fix this on your local copy? You should be able to access your site at http://blogs.fidel/. And the code is in ~/projects/blogs.

Before starting, you should update the source with:

cd ~/projects/blogs
./sync
svn update

Once you have made the fix, type:

cd ~/projects/blogs
svn commit

Let me know when you are done and I can push the changes to the live site.

comment:4 Changed 11 years ago by alfredo

Okay. Good. I can certainly do that. And you guys can answer my question and deal with the problem I'm raising here.

I want sftp access to the sites I'm working on. There are many reasons why we should always have sftp to our sites -- all of them -- and there are many reasons why I do what I do. While these may not be correct or even productive in your opinion, and while I may be transitioning these methods to the ones you prefer (subversion for example), I have very specific deadlines, several important projects that are critical to this organization and limited time and resources.

While I'm certainly not the technologist either of you is, I'm an adult who makes decisions based on many factors including time, schedule and the relative political importance of the projects I'm working on. Given that, I think the correct "protocol" is to respond to what I'm asking and then suggest the correct way to do it or, at the very least, to inquire as to why I'm making the choice I'm making rather than assume that I'm wrong!

We can't start acting as if requests that don't comply with the best was to do things in our opinions are to be ignored or answered by an explanation of the right way to do them. If these posts strike me as patronizing and unsupportive, imagine how members who aren't technologists might respond.

Now please answer the question I asked?

comment:5 Changed 11 years ago by Jamie McClelland

Hi Alfredo,

You do have root on peltier (and, as per our policy you have root on all of our servers). So you can get it with:

ssh root@peltier.mayfirst.org

I think Daniel and my posts were in response to your question:

Should I shift ownership or is there another fix?

With the answer being "there's another fix" :).

I honestly did not read your post as: give me sftp access - I read it in the context of how do I fix this ticket, so I really didn't mean to ignore your request (or I would have pointed out your root access from the beginning).

comment:6 Changed 11 years ago by Daniel Kahn Gillmor

So this is looking a lot better, but there are still a couple things that could be fixed up. I looked up the source for the site, but i couldn't find anything in the source that related to the errors the validator picks up on. So maybe there's something in the DB that might be causing them? I'm not sure how to pitch in here.

comment:7 Changed 11 years ago by Daniel Kahn Gillmor

Keywords: blogs.mayfirst.org added; blogs.dev.mayfirst.org removed

comment:8 Changed 6 years ago by Daniel Kahn Gillmor

Summary: blogs.dev.mayfirst.org homepage does not validatehttp://blogs.mayfirst.org homepage does not validate

It looks to me like https://blogs.mayfirst.org/ still fails to validate as xhtml. The simplest thing to start with would probably be to use lower-cased tags (e.g. <p> instead of <P>). Then revisit the validator and see what complaints remain.

comment:9 Changed 6 years ago by Jamie McClelland

Priority: MediumLow

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.