Re: Converting a Django site to flat HTML

2007-01-05 Thread goon
Rob Hudson wrote: wget -E --load-cookies /path/to/firefox/profiles/cookies.txt -r -k -l -r = recurse ...' I missed this with pycurl & have yet to find example that supports it :( Then I scanned the curl FAQ and found 3.15 [0] 3.15 Can I do recursive fetches with curl?

Re: Converting a Django site to flat HTML

2006-12-06 Thread Rob Hudson
Here's the wget flags I'm using to do something similar: wget -E --load-cookies /path/to/firefox/profiles/cookies.txt -r -k -l inf -N -p -E = use .html as extension -r = recurse -k = convert links -l inf = infinite depth -N = disable timestamping? -p = get page requisites Other than that, I

Re: Converting a Django site to flat HTML

2006-12-06 Thread James Mulholland
Hi, yes I looked at Curl but I was looking for a quick 'n' dirty way to do it, without worrying too much about the options on the command line. Since I'm coming to Python from Perl, I would also probably choose a Perl-ish way to do what you're accomplishing with Python modules. But, whatever :)

Re: Converting a Django site to flat HTML

2006-12-05 Thread goon
Hi James, I was pondering the same thing just the other day - trying to get flat pages from django site. Now at first I thought using *wget* would suffice, but I also needed to do other things with the files (archiving, uploading to ftp). So I needed some way of interacting with the static pages

Re: Converting a Django site to flat HTML

2006-12-02 Thread James Bennett
On 12/2/06, James Mulholland <[EMAIL PROTECTED]> wrote: > The solution is this: > > wget -m http://www.example.com/ Yeah, wget rocks ;) When I was freelancing I used to use that trick all the time; I'd build a site on my local computer using whatever dynamic/templating tools I wanted, and then

Re: Converting a Django site to flat HTML

2006-12-02 Thread [EMAIL PROTECTED]
try httrack :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Converting a Django site to flat HTML

2006-12-02 Thread James Mulholland
This might fail the obviousness test for some people, but it just saved me a shed-load of work. Basic problem is this: I pitched Django to a client a few weeks ago, and they seemed very happy with it and told me to go ahead. About a week into the project (ie, when I'd all but finished it ;) they