]> git.wh0rd.org Git - tt-rss.git/commitdiff
Add type="rss" on subscription list <outline> nodes
authorJordi De Groof <jordi.degroof@gmail.com>
Fri, 16 Aug 2013 17:10:43 +0000 (19:10 +0200)
committerJordi De Groof <jordi.degroof@gmail.com>
Fri, 16 Aug 2013 17:10:43 +0000 (19:10 +0200)
See http://feedvalidator.org/docs/warning/MissingOutlineType.html

classes/opml.php

index e9a07bb5274a3edd8b2f0bc6da83d1f702241da9..0a64272a3dfb2a680a1badaef7748adc7ea7efb4 100644 (file)
@@ -97,7 +97,7 @@ class Opml extends Handler_Protected {
                                $html_url_qpart = "";
                        }
 
-                       $out .= "<outline text=\"$title\" xmlUrl=\"$url\" $html_url_qpart/>\n";
+                       $out .= "<outline type=\"rss\" text=\"$title\" xmlUrl=\"$url\" $html_url_qpart/>\n";
                }
 
                if ($cat_title) $out .= "</outline>\n";