- From: Pid <webmaster@neutralgrey.net>
- Date: Thu, 01 Dec 2005 21:24:41 +0000
- To: "'public-evangelist@w3.org' w3. org" <public-evangelist@w3.org>
You may even need to use an HTML Tidy type thing to convert bad to valid code. http://www.w3.org/People/Raggett/tidy/ There's a number of similar implementations available in various languages, that you may find useful. Karl Dubost wrote: > > > Le 05-12-01 à 00:11, sean at shapeable dot com a écrit : > >> Had a question, for those of us that like to use topic related feeds >> on our site. How are we to get our page valid when the feed pulls >> in characters and syntax that are not valid? I've found that even >> feeds from internet.com and yahoo.com will disallow validation >> through validator.w3.org due to strange characters and whatnot. The >> only solution I could think of is have something coded in the feed >> puller to validate it prior to allowing it written to the page >> displaying the feed(s). > > > I would say that you have to get the encoding information of the feed > you are pulling out, and then recode it in the encoding you serve. In > that matter I would encourage that you serve your web page in UTF-8, > that will be a lot easier if you have sources coming with multiple > different encodings. > > That would be interesting to look closer at what [reblog][1] does for > example. > > [1]: http://www.reblog.org/ > > -- Director pid@neutralgrey.net ng m: (+44|0)7976 411939 ng w: www.neutralgrey.net ----------------------------------------------------------------------- This message is copyright (c)2005 neutral grey ltd reg. in england: co.no.04927018 This message is intended only for the use of the individuals to which it is addressed and may contain information that is privileged and confidential. If you are not the intended recipient, you are hereby notified that you have received this transmission in error; any review, dissemination, distribution or copying of this transmission is prohibited. If you have received this communication in error, please notify us immediately by reply e-mail and delete this message and all of its attachments.
Received on Friday, 2 December 2005 01:50:06 UTC