XOOPS WhatsNew Module
HTML Entity
HTML entity like as © or © has restricted use in W3C,
in order to be dependent on WEB browser.
( © and © are also expresses copyright sign © )
the following results having become, when checking at FEED Validator of W3C.
|
RSS |
RDF |
ATOM |
title |
title |
x |
title |
x |
title |
# |
summary |
description |
o |
description |
o |
summary |
# |
module name |
category |
o |
dc:subject |
o |
dc:subject |
o |
o usable x unusable
# specify type="text/html"
Form of HTML entity
The result when setting four form as title tag
|
result of FEED Validator |
PHP parser (*) |
|
RSS |
RDF |
ATOM |
W3C |
©: |
o |
o |
o |
recomended |
x |
Garbled characters |
&#169: |
x |
x |
o |
|
o |
|
© |
x |
x |
x |
|
x |
parse error |
© |
x |
x |
o |
recomended |
o |
|
* based on XML parser function of PHP
In Microsoft IE browser and Firefox browser,
It seems that neither of the form becomes an error.
Implemention
It implement as the following,
in consideration of result of W3C and PHP parser.
|
RSS |
RDF |
ATOM |
title |
title |
x |
title |
x |
title |
o |
summary |
description |
o |
description |
o |
summary |
o |
module name |
category |
o |
dc:subject |
o |
dc:subject |
o |
o means that HTML entity is changed to form like &#169 or ©
.
x means that HTML entity is deleted.
it was used as following, since the escape as specification,
& < > " '
Specification
Extensible Markup Language (XML) 1.0
$Id: entity.html,v 1.3 2005/10/22 08:25:19 ohwada Exp $
Back to index