i dont know if anyone has done any offline generation, but this seems like a
reasonable way to do it
not sure why its not working, dont know that much about wget either :)
do you have it set to follow redirects? because after a form submit there is
a redirect
-igor
On 2/14/07, Francisco Treacy <[EMAIL PROTECTED]> wrote:
> does wget keep the cookie for session tracking?
Yes, it does. I'm doing a
wget -erobots=off --post-data="username=(user)&password=(pass)"
--keep-session-cookies --save-cookies=cookies.txt
http://test.com/catalog/app/SignIn
I get SignIn + the cookie
(Cookie file:
test.com FALSE /catalog FALSE 0 JSESSIONID
C187A08FF6EAEF94920BE8A20B171AC9)
and then,
wget -erobots=off --post-data="username=(user)&password=(pass)"
--load-cookies=cookies.txt http://test.com/catalog/app/ProductView/id/22
...and it still downloads SignIn... (thus it isn't effectively signing in)
Extract of SignIn.html:
<input name="username" value="" type="text" size="30"/>
<input name="password" value="" type="password" size="30"/>
Don't really get what's going on...
Thanks for your help,
Francisco
ps: if there's a more wicket-oriented solution to generate offline html
pages, I would like to know it as well!
*
*
Date: Sun, 11 Feb 2007 14:08:16 -0800
From: "Igor Vaynberg"
Subject: Re: [Wicket-user] render to file?
To: wicket-user@lists.sourceforge.net
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
does wget keep the cookie for session tracking?
-igor
On 2/11/07, Francisco Treacy wrote:
>
> Hi all,
> Is there a possibility to render a Wicket page to a file instead to the
> browser?
>
> In fact, i need to make an 'HTML offline export' of all products stored
in
> database... how would you do to accomplish this, including stylesheets
and
> images?
> (i already tried wget but I'm having problems with image resources as
> catalog?x=JGqvQsW-QbuV1CaPUrSID*jhjA3cbcCp6VIF-CKlTgc when I check it
out in
> the browser).
>
> Any ideas very welcome. Thank you in advance,
>
> Francisco
>
------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
! Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo!
Questions/Réponses<http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user