Re: Using Feeds That Invalidate Page

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/


-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
*** Be Strict To Be Cool ***

Received on Thursday, 1 December 2005 19:21:18 UTC