Antville 1.2 API Glitches
When I use the Metaweblog API the articles are posted with Comments "closed". However, in the preferences comments are "enabled". Is this a known bug?
Sorry: bump, see comments ...
When I use the Metaweblog API the articles are posted with Comments "closed". However, in the preferences comments are "enabled". Is this a known bug?
Sorry: bump, see comments ...
tobi Verwaltung
Not known to me, yet. I will take a look at it ASAP. Thanks for the hint.
tobi Verwaltung
Strange, the rewritten API code contains a
content.discussions
property that needs to be set to true for allowing comments.Moreover, it obviously was there all the time...
As I did not find any reference to this property in the RFC I suggest we should remove this little intruder from the code.
What do you think?
retrakker
Well, it worked before :) - and how could it be there all the time when the code was "rewritten"?
I checked and couldn't find a reference in the specs (if you can call Daves' drivel a spec) to it as well. If the API client doesn't set it explicitly it should honor the Preferences set in the blog settings?
tobi Verwaltung
Rewriting code does not imply that everything will be reïnvented. As you can see in the link the property was around for years.
But I indeed made a tiny mistake when adapting the code. This should be fixed now.
As the property itself does not exist in the spec, I guess it is some kind of generic extension that the spec somehow allows.
Because simply honoring the preferences to decide whether a story should have comments enabled or not would be inconsistent with the way this setting is obtained when you post from within Antville, I think we should leave everthing as it is now – given that it's working, of course.
Thus, please try again and let me know the result.
retrakker
Thanks Tobi, it works great now; tested with ScribeFire and Mars Edit. Cheers!