473,411 Members | 1,880 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Unknown Entities and Atom/Rss-Feeds: HowTo?

S.T
Hi!

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
http://www.w3.org/TR/REC-html40/sgml...es.html#h-24.2 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:
http://my.opera.com/sas1010/xml/atom/album/104384/ 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?

Thanks

S.T.

Dec 18 '06 #1
0 1662

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tom Chrisna | last post by:
Hi, I am quite new to RSS / XML but created a newsletter, based on RSS 2.0. Our newsfeed (http://www.marihuana.at/news/hanfnews.xml) was working great until our last update, a few days ago. ...
3
by: luc wastiaux | last post by:
Hello, I have a website with image galleries and users can post comments for the pictures. I want to make the comments available over an RSS-type feed so that I can check what comments have been...
2
by: Just close your eyes and see | last post by:
Hello All can any one help me where is the windows atom table and how to navigate it, and how to add and delete values from it thx
15
by: Brady Love | last post by:
I am currently working an an app that will post and edit blogs on blogger. Right now I have it so I can recive a list of the blogs and the content of those blogs using Atomizer. This is my first...
2
by: jacob.saxberg | last post by:
Do you know of a .NET app that can parse RSS and ATOM feeds? I'm looking for something like www.feedparser.org Thanks, Jacob
5
by: A.Martini | last post by:
Hello, I have to parse an xml file which has entities like &8220; ” and apostrophes ('). I have created a parser and I parse the xml but the xml_parse function convert entities and apostrophes to...
6
by: clintonG | last post by:
Can anybody make sense of this crazy and inconsistent results? // IE7 Feed Reading View disabled displays this raw XML <?xml version="1.0" encoding="utf-8" ?> <!-- AT&T HTML entities & XML...
2
by: | last post by:
I've written an app to parse an XML RSS feed. Some of the content in that RSS feed has entities properly encoded for XML, e.g.: UW&apos;s Hawes To Enter NBA Draft High school&apos;s...
7
by: js | last post by:
Hi, I'm looking for RSS/ATOM generator I can use in Python. I searched on pypi and the other places but I couldn't find any options on this. (I found many parsers, though) Is there any de-fact...
10
by: bhass | last post by:
From my other post I am making a simple program that creates an RSS feed with Python. Now when I run my program so far, I get errors. It says "something is not defined". The word something is...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.