From: Gavin McKenzie (ntlk_at_gavinmckenzie.fastmail.fm)
Date: Sat Mar 06 2004 - 12:36:13 PST
At one point today I successfully had LiveJournal functionality added
into nBlog...but only for a few minutes...
Here's the problem that shows my lack of experience; consider this:
--- start here ---
local prefs := base:PreferencesLoad();
local newFrame := {}
newFrame.username := prefs.username;
newFrame.password := prefs.password;
params := [
newFrame,
];
print(params);
--- end here ---
The output from the print() is:
[{userName: "joe", password: "blow"}]
Note how in the print output we see "userName" (capital N) and in the
code it says clearly "newFrame.username := ...".
Unfortunately, the LiveJournal XML-RPC interface is rather picky about
getting "username" instead of "userName".
Any help is greatly appreciated.
Gavin.
-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries Official Newton FAQ: http://www.chuma.org/newton/faq/ WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/
This archive was generated by hypermail 2.1.5 : Sat Mar 06 2004 - 14:30:01 PST