# gitweb atom feeds broken (on repo.or.cz only?)

7 messages from 2009-09-27 to 2009-10-14. Participants: Sebastian Pipping, Tay Ray Chuan, Petr Baudis.
Thread: https://gitlist.dev/t/21073

## Sebastian Pipping, 2009-09-27 17:35

Subject: gitweb atom feeds broken (on repo.or.cz only?)
Message-ID: <4ABFA258.8020301@hartwork.org>
URL: https://gitlist.dev/e/4ABFA258.8020301%40hartwork.org

```
hello git list, hello petr!


i noticed that the atom feeds generated by repo.or.cz's gitweb (e.g.
[1]) show no content in firefox 3.5.2.  this seems to be due to invalid
xml in it as shown by running [1] through feedvalidator, results at [2].

their rss neighbors seemed not to be affected where i looked.
a fix would be cool still, as the atom feeds contain more detailed content.

sorry for the noise in case repo.or.cz runs customized atom generation.



sebastian


[1] http://repo.or.cz/w/dottout.git?a=atom
[2]
http://feedvalidator.org/check.cgi?url=http%3A%2F%2Frepo.or.cz%2Fw%2Fdottout.git%3Fa%3Datom

```

## Tay Ray Chuan, 2009-09-28 07:23

Subject: Re: gitweb atom feeds broken (on repo.or.cz only?)
Message-ID: <be6fef0d0909280023x46522d91oc786feef23cb226a@mail.gmail.com>
URL: https://gitlist.dev/e/be6fef0d0909280023x46522d91oc786feef23cb226a%40mail.gmail.com
In-Reply-To: <4ABFA258.8020301@hartwork.org>

```
Hi,

On Mon, Sep 28, 2009 at 1:35 AM, Sebastian Pipping
<webmaster@hartwork.org> wrote:
> i noticed that the atom feeds generated by repo.or.cz's gitweb (e.g.
> [1]) show no content in firefox 3.5.2.  this seems to be due to invalid
> xml in it as shown by running [1] through feedvalidator, results at [2].

it's a case of a misspelled tag. In the <author> tag <B> is closed by a </b>.

-- 
Cheers,
Ray Chuan

```

## Sebastian Pipping, 2009-09-28 14:44

Subject: Re: gitweb atom feeds broken (on repo.or.cz only?)
Message-ID: <4AC0CBBE.7020603@hartwork.org>
URL: https://gitlist.dev/e/4AC0CBBE.7020603%40hartwork.org
In-Reply-To: <be6fef0d0909280023x46522d91oc786feef23cb226a@mail.gmail.com>

```
Tay Ray Chuan wrote:
>> i noticed that the atom feeds generated by repo.or.cz's gitweb (e.g.
>> [1]) show no content in firefox 3.5.2.  this seems to be due to invalid
>> xml in it as shown by running [1] through feedvalidator, results at [2].
> 
> it's a case of a misspelled tag. In the <author> tag <B> is closed by a </b>.

It's actually a bit more, I just checked against the Relax NG schema of
Atom v11 from RFC 4287.

Neither <span> nor <b>/<B> are allowed inside <name>, and the '\n' isn't
either.  This is what we get:

=============================================================================
<author><name>&#x61;&#x6E;drea<!-- @
-->&#64;dot&#x74;out<span><B>&#46;</b></span>com</name></author>\n<icon>/git-favicon.png</icon>
=============================================================================


This would be valid:

=============================================================================
<author>
  <name>and&#x72;ea<!-- @ -->&#64;&#x64;ottout&#46;com</name>
</author>
<icon>/git-favicon.png</icon>
=============================================================================


Petr, is the e-mail crippling a repo.or.cz-only thing?



Sebastian

```

## Sebastian Pipping, 2009-10-13 12:14

Subject: Re: gitweb atom feeds broken (on repo.or.cz only?)
Message-ID: <4AD46F38.30100@hartwork.org>
URL: https://gitlist.dev/e/4AD46F38.30100%40hartwork.org
In-Reply-To: <4AC0CBBE.7020603@hartwork.org>

```
Petr, any news on this one?

I just check and it still seems broken.



Sebastian

```

## Petr Baudis, 2009-10-14 14:17

Subject: Re: gitweb atom feeds broken (on repo.or.cz only?)
Message-ID: <20091014141744.GO6695@machine.or.cz>
URL: https://gitlist.dev/e/20091014141744.GO6695%40machine.or.cz
In-Reply-To: <4AD46F38.30100@hartwork.org>

```
On Tue, Oct 13, 2009 at 02:14:48PM +0200, Sebastian Pipping wrote:
> Petr, any news on this one?
> 
> I just check and it still seems broken.

Fixed, it's a HTML::Email::Obfuscate bug.

-- 
				Petr "Pasky" Baudis
A lot of people have my books on their bookshelves.
That's the problem, they need to read them. -- Don Knuth

```

## Sebastian Pipping, 2009-10-14 14:35

Subject: Re: gitweb atom feeds broken (on repo.or.cz only?)
Message-ID: <4AD5E1A5.7020909@hartwork.org>
URL: https://gitlist.dev/e/4AD5E1A5.7020909%40hartwork.org
In-Reply-To: <20091014141744.GO6695@machine.or.cz>

```
Petr Baudis wrote:
> On Tue, Oct 13, 2009 at 02:14:48PM +0200, Sebastian Pipping wrote:
>> Petr, any news on this one?
>>
>> I just check and it still seems broken.
> 
> Fixed, it's a HTML::Email::Obfuscate bug.

Though the feed works in Firefox now I wouldn't call it fixed, yet,

As I elaborated earlier in this thread the Atom you generate is not
valid.  I cannot put it better than feedvalidator:

http://feedvalidator.org/check.cgi?url=http%3A%2F%2Frepo.or.cz%2Fw%2Fdottout.git%3Fa%3Datom

Please fix that, too.



Sebastian

```

## Petr Baudis, 2009-10-14 14:40

Subject: Re: gitweb atom feeds broken (on repo.or.cz only?)
Message-ID: <20091014144050.GP6695@machine.or.cz>
URL: https://gitlist.dev/e/20091014144050.GP6695%40machine.or.cz
In-Reply-To: <4AD5E1A5.7020909@hartwork.org>

```
On Wed, Oct 14, 2009 at 04:35:17PM +0200, Sebastian Pipping wrote:
> Petr Baudis wrote:
> > On Tue, Oct 13, 2009 at 02:14:48PM +0200, Sebastian Pipping wrote:
> >> Petr, any news on this one?
> >>
> >> I just check and it still seems broken.
> > 
> > Fixed, it's a HTML::Email::Obfuscate bug.
> 
> Though the feed works in Firefox now I wouldn't call it fixed, yet,
> 
> As I elaborated earlier in this thread the Atom you generate is not
> valid.  I cannot put it better than feedvalidator:
> 
> http://feedvalidator.org/check.cgi?url=http%3A%2F%2Frepo.or.cz%2Fw%2Fdottout.git%3Fa%3Datom
> 
> Please fix that, too.

I'm sorry, I don't have time for fixing that. Feel free to send me a
patch.

Kind regards,

-- 
				Petr "Pasky" Baudis
A lot of people have my books on their bookshelves.
That's the problem, they need to read them. -- Don Knuth

```
