|Subject:||I added a function to randomly...|
|Summary:||Package rating comment|
Gerry Danen rated this package as follows:
Gerry Danen - 2015-11-25 17:22:23
I added a function to randomly generate an author id from a list, if none is given.
private function randomAuthor()
// source of authors: http://www.tellmequotes.com/
$authors = array(
array(83, 'Mark Twain'),
array(185, 'Oscar Wilde'),
array(79, 'Lord Byron'),
mt_srand((double)microtime() * 1000000);
$rand = mt_rand(0, count($authors) - 1);
$get = $authors[$rand];
$authorId = $get;
Vivek moyal - 2015-11-26 05:00:08 - In reply to message 1 from Gerry Danen
Thank You sir i will help us to make it more better right now it is having 22900 approx authors
Gerry Danen - 2015-11-26 17:21:58 - In reply to message 2 from Vivek moyal
Wow, that is a lot of authors. :)
I appear to have run into an access limit. Is this limit reset eventually?
status = 3
alert = You reached the limit - 52
Vivek moyal - 2015-11-27 06:45:56 - In reply to message 3 from Gerry Danen
Sorry there was a limit of 52 for a single domain. right now its in testing mode but if you think that we should remove the limit than i will remove the limit.
By the way its a per day limit
Gerry Danen - 2015-11-27 20:09:49 - In reply to message 4 from Vivek moyal
It appears the number returned is variable. A few tries show these alerts:
"You reached the limit - 789"
"You reached the limit - 455"
"You reached the limit - 70"
"You reached the limit - 531"
Maybe the author id is returned? I don't think the limit is reset, because I have not been able to get a successful result.
I have a test set up at http://birds.gerrydanen.com/dailyAutoJobs/getQuote.php if you like to test.
By the way, my email is gdanen @ gmail . com if you like to communicate directly.