Closed michelhabib closed 11 years ago
I beleive this function hasn't been completed or tested - I don't think Haidy has touched it yet, I was just sketching it in before the pw_query function was complete.
I can look at finishing that today, as it hasn't yet been signed to Haidy.
Phong
On Wednesday, October 2, 2013, michelhabib wrote:
Phong, i am trying to use some functions through Ajax, namely pw_live_feed. Did you work on that function? or is Haidy supposed to complete it? I am not getting expected results. and getting the following warnings multiple times.
! ) Warning: Invalid argument supplied for foreach() in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_posts.php on line 406
Warning: array_slice() expects parameter 1 to be array, object given in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_feeds.php on line 23
[image: pw_live_feed]https://f.cloud.github.com/assets/296637/1253087/c9e30086-2b5c-11e3-9004-9fd292aed0c8.jpg
— Reply to this email directly or view it on GitHubhttps://github.com/phongmedia/postworld/issues/24 .
Hi Michel Also, if you want you can write the pw_live_feed function if it's holding you back to not have it. All the documentation is in /php/README.md
It is up to you. Otherwise, I will do it today.
On Wednesday, October 2, 2013, phong wrote:
I beleive this function hasn't been completed or tested - I don't think Haidy has touched it yet, I was just sketching it in before the pw_query function was complete.
I can look at finishing that today, as it hasn't yet been signed to Haidy.
Phong
On Wednesday, October 2, 2013, michelhabib wrote:
Phong, i am trying to use some functions through Ajax, namely pw_live_feed. Did you work on that function? or is Haidy supposed to complete it? I am not getting expected results. and getting the following warnings multiple times.
! ) Warning: Invalid argument supplied for foreach() in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_posts.php on line 406
Warning: array_slice() expects parameter 1 to be array, object given in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_feeds.php on line 23
[image: pw_live_feed]https://f.cloud.github.com/assets/296637/1253087/c9e30086-2b5c-11e3-9004-9fd292aed0c8.jpg
— Reply to this email directly or view it on GitHubhttps://github.com/phongmedia/postworld/issues/24 .
Since we're on the same topic, what about:- pw_get_templates pw_get_feed pw_register_feed pw_get_feed pw_cache_feed Are any of them ready? Should i give Haidy a priority for these functions to help with the AngularJS part?
Haidy is helping me out with this one now, i think we just need to see where we are with the rest and then plan for them.
Fixed : function pw_live_feed ( $args ) and pw_feed_outline ( $pw_query_args )
Commit: 07f99968f2c14f7d05764738b0eb9e3f740f4445
Great, thanks - yes of course, Haidy can prioritize all the PHP functions which are helpers for the Angular JS systems.
On Wed, Oct 2, 2013 at 9:11 AM, hmikhail notifications@github.com wrote:
Fixed : function pw_live_feed ( $args ) and pw_feed_outline ( $pw_query_args )
Commit: 07f9996https://github.com/phongmedia/postworld/commit/07f99968f2c14f7d05764738b0eb9e3f740f4445
— Reply to this email directly or view it on GitHubhttps://github.com/phongmedia/postworld/issues/24#issuecomment-25552037 .
Phong, i am trying to use some functions through Ajax, namely pw_live_feed. Did you work on that function? or is Haidy supposed to complete it? I am not getting expected results. and getting the following warnings multiple times.
! ) Warning: Invalid argument supplied for foreach() in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_posts.php on line 406
Warning: array_slice() expects parameter 1 to be array, object given in D:\wamp\www\wordpress\wp-content\plugins\postworld\php\postworld_feeds.php on line 23