### XOOPS WhatsNew Module

#### HTML Entity

HTML entity like as &copy; or &#169; has restricted use in W3C,
in order to be dependent on WEB browser.
( &copy; and &#169; 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
&#169: | o | o | o | recomended | x | Garbled characters
&amp;#169: | x | x | o |  | o |
&copy; | x | x | x |  | x | parse error
&amp;copy; | 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 &amp;#169 or &amp;copy; .
x means that HTML entity is deleted.
it was used as following, since the escape as specification,
&amp; &lt; &gt; &quot; &apos;

#### Specification

Extensible Markup Language (XML) 1.0

$Id: entity.html,v 1.3 2005/10/22 08:25:19 ohwada Exp $
Back to index