An error occurred running phpBB Smartfeed


#1

Page 444 provides a sample of the XML that should be returned, but I am getting and error back in the first item (see logs at end)

I am using the following URL and it looks correct:

NSURL *url = [NSURL URLWithString: @"http://forums.bignerdranch.com/smartfeed.php?" @"limit=1_DAY&sort_by=standard&feed_type=RSS2.0&feed_sytle=COMPACT"];
Any thoughts or hints of what is going wrong? I have checked the Big Nerd Ranch web site for forum posts and errata, but I don’t see any reference to this? I also tried this URL in Firefox and it suggested that the feed_sytle is wrong, but no hint as to what is correct.

+++++++++++++++++

[code]xmlCheck = <?xml version="1.0" encoding="utf-8"?>

Big Nerd Ranch Books Forum for books written by Big Nerd Ranch http://forums.bignerdranch.com/smartfeed.php?limit=1_DAY&sort_by=standard&feed_type=RSS2.0&feed_sytle=COMPACT Sun, 25 Aug 2013 17:22:44 GMT FeedCreator 1.8.0-dev (info@mypapit.net) http://forums.bignerdranch.com/styles/prosilver/imageset/site_logo.gif Big Nerd Ranch Books http://forums.bignerdranch.com/smartfeed.php?limit=1_DAY&sort_by=standard&feed_type=RSS2.0&feed_sytle=COMPACT Forum for books written by Big Nerd Ranch en-GB Sun, 25 Aug 2013 17:22:44 GMT 60 An error occurred running phpBB Smartfeed http://forums.bignerdranch.com/smartfeed_url.php An error occurred running phpBB Smartfeed. As a result, no content can be returned. Use this error information as a guide to correcting the problem. Please note that you must use <a href="http://forums.bignerdranch.com/smartfeed_url.php">this program</a> to create a URL that can be used with phpBB Smartfeed. The error is: The style parameter is not one of the allowed values, or is absent. ward@bignerdranch.com (ward@bignerdranch.com) http://forums.bignerdranch.com/smartfeed_url.php [/code]

#2

I occurred to me that I should try the solution source that Big Nerd Ranch provides and it works. So I copied the line of code to create the NSURL into my code - that works. I compared character for character my line of code with BNR line of code and found:

feed_sytle instead of feed_style.

dyslexic typing. :blush: