List Info

Thread: feedvalidator warning - not fixed in ruby 1.8.6; fixed in ruby cvs snapshot (~20070921)




feedvalidator warning - not fixed in ruby 1.8.6; fixed in ruby cvs snapshot (~20070921)
user name
2007-09-21 17:51:39
hi samizdat-devel,

The feedvalidator:

   http://feedvalidator.org/

gives a warning about samizdat rss feeds because in
/usr/lib/ruby/rss/image.rb

this line
   IMAGE_URI = 'http:/
/web.resource.org/rss/1.0/modules/image/'

should be
   IMAGE_URI = 'http://purl.or
g/rss/1.0/modules/image/'


The second one (purl.org) redirects to the first one
(web.resource.org),
but if you read it carefully, you'll see that the content
recommends
using the purl.org address. The idea AFAIK is that the
purl.org is 
more "permanent".


You can also see this discussion:
http://groups.google.com
/group/feedvalidator-users/browse_thread/thread/d6c37c421ef5
b79e


This error still exists in ruby-1.8.6:
ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz


It has been corrected in the ruby snapshot i downloaded a
few minutes ago:
ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz



Debian unstable only has ruby-1.8.2 at the moment. This is a
bit worrying.
i would have thought that debian unstable was more
up-to-date than that...


i don't suggest any change in samizdat, since in the
loooooooong term,
the error will eventually disappear when the present ruby
snapshot
gets into stable debian, and this error is only annoying,
not major.


However, my personal suggestion is to hack your copy of
ruby/rss/image.rb with the correct URI if you want to get a
clean
result from feedvalidator.


cheers
boud


_______________________________________________
samizdat-devel mailing list
samizdat-develnongnu.org
http://lists.nongnu.org/mailman/listinfo/samizdat-devel

Re: feedvalidator warning - not fixed in ruby 1.8.6; fixed in ruby cvs snapshot (~20070921)
user name
2007-09-23 04:55:07
AFAIK Ruby 1.8.6
http://packages.debian.org/sid/ruby1.8



Debian unstable only has ruby-1.8.2 at the moment. This is a bit worrying.
i would have thought that debian unstable was more up-to-date than that...


--
http://antono.livejournal.com/
fixed in deb 1.9.0+20070910-1 Re: feedvalidator warning - not fixed in ruby 1.8.6
user name
2007-09-23 17:25:30
hi Antono

On Sun, 23 Sep 2007, Antono wrote:

> AFAIK Ruby 1.8.6
> http://package
s.debian.org/sid/ruby1.8

You're right. This seems to be a subtle problem with the
debian search function,
which gave me 1.8.2 in unstable when i searched on
"ruby", but 1.8.6 when
i searched on "ruby1.8". It did warn about the
search being too wide, but
i hadn't expected that to list an old ruby version under
"unstable".

boud wrote:
>> Debian unstable only has ruby-1.8.2 at the moment.
This is a bit worrying.
>> i would have thought that debian unstable was more
up-to-date than that...

i was clearly wrong in saying this.

i now have in an installation of unstable:

ii  ruby1.8                         1.8.6.36-3 
ii  ruby1.9                         1.9.0+20070910-1


grep "IMAGE_URI =" /usr/lib/ruby/1.?/rss/image.rb

/usr/lib/ruby/1.8/rss/image.rb:  IMAGE_URI = 'http:/
/web.resource.org/rss/1.0/modules/image/'
/usr/lib/ruby/1.9/rss/image.rb:  IMAGE_URI = 'http://purl.or
g/rss/1.0/modules/image/'

So the error is corrected in 1.9.0+20070910-1, while
1.8.6.36-3 remains
uncorrected.


cheers
boud


_______________________________________________
samizdat-devel mailing list
samizdat-develnongnu.org
http://lists.nongnu.org/mailman/listinfo/samizdat-devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )