Last modified: 2012-10-01 08:05:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34814, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32814 - Semantic Result Formats RSS does not validate against W3C
Semantic Result Formats RSS does not validate against W3C
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-05 19:42 UTC by David
Modified: 2012-10-01 08:05 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description David 2011-12-05 19:42:19 UTC
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
Comment 1 David 2012-02-25 20:04:30 UTC
Still valid for REL_1_7 (r107761)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links