On Monday 21 May 2007 20:52, Peter Marsh wrote:
> Dan Zwell wrote:
> > Peter Marsh wrote:
> >> res =
> >> Net::HTTP.post_form(URI.parse('http://en.wikipedia.org/w/index.php?title
> >>=Special:Userlogin&returnto=Main_Page'),{'wpName'=>'username_not_this_one
> >>', 'wpPassword'=>'password_not_this_one'})
> >>     puts res.body
> >>
> >> My user & password were correct.
> >
> > On the main page, see the text where it says "Sign in / create account"?
> > Search the body for that text. It won't say that if the login was
> > successful.
> >
> > Dan
>
> That's the thing, I've tried that but I can't find 'sign in' 'sign out'
> or the my username, which usually appears in the top right. Also, I've
> tried looking at the pade via IE after I've run the code, and that says
> I'm not signed in as well.
>
> Any ideas?

I recomend using scrubyt - there was example how to log into site, and post 
comment - i guess it can be easly changed to wiki - but don't spam please :D

-- 
Marcin Raczkowski
---
Friends teach what you should know
Enemies Teach what you have to know