#20955 [Fbk]: Bad Language Setting in RSS news feed

From: Date: Fri, 13 Dec 2002 20:39:46 +0000
Subject: #20955 [Fbk]: Bad Language Setting in RSS news feed
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14147@lists.php.net to get a copy of this message
ID: 20955 Updated by: goba@php.net Reported By: llopez@xinergiaargentina.com Status: Feedback Bug Type: Website problem PHP Version: 4.3.0RC3 New Comment: OK, OK, I never said that those examples are not valid. You submitted a bug saying, that we "must" use the Dublin core module. As your English may not be correct, I assume now, you have not intended to say "must", but something like "would ideally". Well, I don't really think so, that we "need to bloat" the RSS file with "too much" meta information. What the other guys think about this? Previous Comments: ------------------------------------------------------------------------ [2002-12-13 07:01:53] llopez@xinergiaargentina.com No, it isn't necessary to include <dc:date>. However, at Syndic8.com we try to review feeds for information we think it's useful to readers & people, and including <dc:date> is one of this things. As you say, it's easier to parse with a regex based parser, but XML *it is not text* so there's no reason why you should use a regex parser, the best thing to do is parse the data with an XML parser. For example, a _valid_ RSS 1.0 feed may contain an item like this: <item rdf:about='http://example.org/article1.html'> <link>http://example.org/article1.html</link> <title>Example Article N. 1</title> </item> But this *is valid* too: <rss:item rdf:about='http://example.org/article1.html' xmlns:rss='http://purl.org/rss/1.0/'> <rss:link>http://example.org/article1.html</rss:link> <rss:title>Example Article N. 1</rss:title> </rss:item> And with this you regex parser won't work. Bye! inkel ps: any ideas about why I can't get the password I set for this bug report? ------------------------------------------------------------------------ [2002-12-13 01:42:37] goba@php.net We *must* add the language attribute???? The RSS validator on that page you qoute says our RSS is valid ;) AFAIK an RSS using no modules is absolutely valid (as well as it is easier to parse it for simple regexp based parsers). ------------------------------------------------------------------------ [2002-12-12 07:37:54] llopez@xinergiaargentina.com The RSS feed at http://www.php.net/news.rss doesn't specify correctly the language of the feed. You must use the Dublin Core module, which includes a <language> tag. The feed at syndic8.com is located here: http://www.syndic8.com/feedinfo.php?FeedID=20991 If you need help contact me and I'll be glad to help you, bye inkel PS: excuse my english, I'm from Argentina ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20955&edit=1

« previous php.mirrors (#14147) next »