Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Unknown Entities and Atom/Rss-Feeds: HowTo?

Thread Tools

Unknown Entities and Atom/Rss-Feeds: HowTo?

Posts: n/a

I've spend this weekend trying and coding a php-based atom- and
rss-feed writer. I don't know if this is the right place for my
questions. However, since both feeds are based on xml, maybe someone
can help.

I understand that I have to replace all unknown entities, such as
"ä". I wonder what's the common way to do so. For XML-Documents,
I'd prefer to make use of an external DTD, say, referring to Having
looked up some typical atom feed on the web, I realized that they DO
NOT include external DTD, and still, they work fine with characters
that are being declared as "unknown entities" in my documents. E.g.
typical german entities in opera's atom feed: actually DO work,
but mine don't ((((

I wondered if I am to replace all entities by they corresponding codes
( Ä by Ä ) using my php-code, but this cannot be the
appropiate way, can it?

So what is your experience? Any suggestions?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Federal Reserve has printed and handed out nearly $2 trillion of U.S. currency to unknown entities. Fritz Wuehler Computer Support 5 03-28-2010 06:43 PM
Assign an unknown value to an unknown variable Vincent Arnoux Ruby 1 08-11-2006 06:12 PM
JDOM and external entities Tom Java 0 09-09-2005 11:27 PM
XSL and java.xml.transform - spaces vanish, not able to use entities Angus Parvis Java 0 08-26-2004 04:59 PM
HTML::Entities::encode() returning wrong(?) entities Jim Higson Perl Misc 3 07-25-2004 09:13 PM