473,769 Members | 5,072 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1690

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

Similar topics

0
1503
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. Who can tell me, what is wrong or what has happend to the namespace http://backend.userland.com/blogChannelModule ?
3
2035
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 posted. I would like to include a thumbnail of the picture being commented in the feed data. What feed type should I choose ? RSS 0.9x, 1.0, 2.0 or Atom ? thanks. --
2
2655
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
2342
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 program where I am accessing data over the net.When I go to retrieve the list of blogs my program acts like it is locked up/frozen for a few seconds and then when it is done it goes back to normal. Does anyone know how I would get rid of the...
2
1155
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
2647
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 question marks (?) I am sure about that because I read the xml source in a string and I can see what happens before and after xml_parse. I am missing something?
6
10169
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 <elementsare displayed --> <rss version="2.0"> <channel> <title>AT&T HTML entities & XML <elementsare displayed</title> .... <description>
2
1940
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 &apos;No-shush&apos; to retire My app reads the content using XmlDocument/XmlNodeList and then commits selected pieces to my DB. I want to know the best/easiest/most reliable/most complete way to translate
7
4578
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 standard RSS/ATOM generator? (especially, I'd like to create Atom's) Do I have to do it myself from scratch? Thanks in advance.
10
2388
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 replaced by the name of the function I'm trying to use. my article function when ran, comes up with "article is not defined" etc. Here's my code: What is wrong with it? #!/usr/bin/env python import ftplib import getpass def mainfeed(): ...
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9996
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6674
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3963
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.