[wp-trac] [WordPress Trac] #8017: invalid feed enclosure for audio
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 31 00:04:58 GMT 2008
#8017: invalid feed enclosure for audio
---------------------+------------------------------------------------------
Reporter: hailin | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Keywords:
---------------------+------------------------------------------------------
in wp-includes/feed/, function rss_enclosure() generates enclosure tag
with type= multiple values. Eg:
<enclosure
url="http://www.fileden.com/files/2008/4/7/1855511/Music/B52s%20-%20B52s%20-%2002%20-%2052%20Girls.mp3"
length="5176006" type="audio/mpeg mpga mp2 mp3" />
This fails feed validation service, such as:
http://validator.w3.org/feed/check.cgi
The proposed fix is always to use the first entry out of the list.
--
Ticket URL: <http://trac.wordpress.org/ticket/8017>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list