https://bugzilla.wikimedia.org/show_bug.cgi?id=32814

       Web browser: ---
             Bug #: 32814
           Summary: Semantic Result Formats RSS does not validate against
                    W3C
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticResultFormats
        AssignedTo: jeroen_ded...@yahoo.com
        ReportedBy: da...@hackerspace.lu
                CC: wikibugs-l@lists.wikimedia.org, yaro...@gmail.com
    Classification: Unclassified


Since our feed of events produced by Semantic Result Formats is not being
displayed by a browser [0], I checked the RSS feed with the W3C validator [1].

The issue seems to be script tags in the RSS feed that are inserted by the Maps
extension:

"""
line 200, column 853: XML parsing error: <unknown>:200:853:
mismatched tag

In addition, interoperability with the widest range of feed readers
could be improved by implementing the following recommendations.

line 103, column 0: description should not contain script tag

line 129, column 0: description should not contain relative URL
references: /w/images/thumb/1/10/Event.png/40px-Event.png (3
occurrences)
"""

Would it be possible to strip all script tags from the RSS output and
also convert relative into absolute URLs?

[0]
http://www.hackerspace.lu/wiki/Special:Ask/-5B-5BCategory:Event-5D-5D-20-5B-5BStartDate::%2B-5D-5D-20-5B-5BStartDate::-3E2011-2D10-2D18-5D-5D/mainlabel%3D/order%3DDESC/sort%3DStartDate/format%3Drss/title%3Dsyn2cat-20event-20feed/description%3DEvents-20from-20hackerspace.lu/limit%3D10

[1]
http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.hackerspace.lu%2Fwiki%2FSpecial%3AAsk%2F-5B-5BCategory%3AEvent-5D-5D-20-5B-5BStartDate%3A%3A%252B-5D-5D-20-5B-5BStartDate%3A%3A-3E2011-2D10-2D18-5D-5D%2Fmainlabel%253D%2Forder%253DDESC%2Fsort%253DStartDate%2Fformat%253Drss%2Ftitle%253Dsyn2cat-20event-20feed%2Fdescription%253DEvents-20from-20hackerspace.lu%2Flimit%253D10

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to