[Slackbuilds-users] SBo rss feed broken

Kevin Pulo kev at pulo.com.au
Thu Jun 23 01:32:11 UTC 2011


The RSS feed on the Slackbuilds website is currently broken.  There are
date-related php warnings being emitted at various points, resulting in invalid
xml.

$ wget -q -O - http://slackbuilds.org/rss/ChangeLog.rss | head -10

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /rss/slackbuilds.php on line 3
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>SlackBuilds.org</title>
  <description>SlackBuilds ChangeLog</description>
  <link>http://www.slackbuilds.org/</link>
  <atom:link href="http://slackbuilds.org/rss/ChangeLog.rss" rel="self" type="application/rss+xml" />
  <language>en-us</language>
$ wget -q -O - http://slackbuilds.org/rss/ChangeLog.rss | grep Warning | sort | uniq
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /rss/slackbuilds.php on line 3
Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /rss/slackbuilds.php on line 57
$ 

Kev

-- 
Kevin Pulo
kev at pulo.com.au
http://www.kev.pulo.com.au/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20110623/ab41402b/attachment.asc>


More information about the SlackBuilds-users mailing list