<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,8 +1,8 @@
 #!/usr/bin/env ruby
 
 require &quot;rubygems&quot;
-require &quot;rfeedparser&quot;
-require &quot;planetalinux&quot;
+require 'feed_validator'
+require File.join File.dirname(__FILE__), &quot;planetalinux&quot;
 
 require &quot;pp&quot;
 
@@ -10,30 +10,16 @@ PlanetaLinux.instances.each do |instance|
 	puts &quot;#{instance}:&quot;
 	PlanetaLinux.feeds_by_instance(instance).each_pair do |k, v|
 		v.each do |f|
-			Thread.new {
-				begin
-					fp = FeedParser.parse f
-				rescue
-					next
-				end
-
-				if k == &quot;active&quot;
-					if fp.bozo
-						puts &quot; '#{f}' seems to be an invalid feed and it's currently active&quot;
-					end
-				elsif k == &quot;inactive&quot;
-					unless fp.bozo
-						if fp.entries.size &gt; 0
-							puts &quot; '#{f}' is currently inactive but appears to be valid and it has entries&quot;
-						else
-							puts &quot; '#{f}' is currently inactive but appears to be valid but without entries&quot;
-						end
-					end
-				else
-					puts &quot;BUG ON PLANETLINUX.RB!&quot;
-					exit
-				end
-			}
+      # puts &quot;trying with #{f}&quot;
+      val = W3C::FeedValidator.new
+      begin
+        val.validate_url f
+        unless val.valid?
+          puts &quot; #{f} seems to be an invalid feed and it's currently #{k}&quot;
+        end
+      rescue REXML::ParseException
+        puts &quot; #{f} - timeout?&quot;
+      end
 		end
 	end
 end</diff>
      <filename>tools/feeds_report.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>eb97f89bbd6b9b833022472baede2a5fe91bb31d</id>
    </parent>
  </parents>
  <author>
    <name>David Moreno</name>
    <email>david@axiombox.com</email>
  </author>
  <url>http://github.com/damog/planetalinux/commit/9834b633cdbb586b1b16c1c638872929736635d9</url>
  <id>9834b633cdbb586b1b16c1c638872929736635d9</id>
  <committed-date>2009-08-01T03:44:16-07:00</committed-date>
  <authored-date>2009-08-01T03:44:16-07:00</authored-date>
  <message>using feed_validator</message>
  <tree>b404aef01f10c64e855743a1909e57440d70230b</tree>
  <committer>
    <name>David Moreno</name>
    <email>david@axiombox.com</email>
  </committer>
</commit>
