samizdat-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMC-Tech] invalid code


From: Dmitry Borodaenko
Subject: Re: [IMC-Tech] invalid code
Date: Thu, 16 Nov 2006 01:38:52 +0000

On 11/13/06, boud <address@hidden> wrote:
samizdat:

(1) front page:

http://belarus.indymedia.org gets just one error:

required attribute "alt" not specified.
  ...us: Front Page"><img src="imc.png" /> <span style="vertical-ali...

This is included from site configuration. Added alt attribute for
Belarus and Ukraine IMCs.

provided that it's first filtered through these two ampersand escaping hacks:

| sed -e 's/\&feed/\&amp;feed/g' |sed -e 's/\& IMC Docs/\&amp; IMC Docs/g'

I remember doing it once before, but it seems I forgot about this and
put some more &'s in the code. Cleaned up again, will release updated
version soon.

The last one is from cities.xml, fixed cities.rb to HTML-escape
strings received from parsing it.

(2) an article:
http://validator.w3.org/check?uri=http%3A%2F%2Fbelarus.indymedia.org%2F7321

This has just one error - the same "required attribute "alt" not specified."
error.

Same thing, went with grep '&' through the code and cleaned it
everywhere. It was only a handful of places, majority of code already
did the right thing.

i expect these will be easy to fix in time for samizdat 0.6.0...

Just when I wanted to release it ;-) Btw, we're still missing some
translations updates...

--
Dmitry Borodaenko




reply via email to

[Prev in Thread] Current Thread [Next in Thread]