Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter itotallyjustmadethisup

    (@itotallyjustmadethisup)

    I’m going to put this thread down as resolved.

    The final verdict: I couldn’t find a suitable way to convert the entire site to flat html for serving on a server that doesn’t support php or mysql.

    There was some hope in wget and httrack but they weren’t 100% effective.

    Thread Starter itotallyjustmadethisup

    (@itotallyjustmadethisup)

    @ wes

    Hrm… you could always try having the site actually hosted on WordPress.com (or some other external blogging site), with your index on the school’s server set up so that it displays the external page (and you could use your school space for images and other files and whatnot).

    Any input on doing this? Can I really just completely pull in another site wholesale transparently this way?

    @ otto42, dd32

    Get your college to add support for this century’s technology.

    *throws hands up in air* You’re not kidding. The school (to their great credit) is outstanding at funding university clubs. Quite literally to the tune of +$100,000 a year in aggregate. Then they turn around and _require_ us to host our websites on a server that probably runs DOS.

    Thread Starter itotallyjustmadethisup

    (@itotallyjustmadethisup)

    The final wget incarnation was ultimately unsuccessful

    wget --html-extension --recursive --page-requisites --mirror <site-location>

    Although this was successful in downloading all the requisite HTML pages it did not grab up the images found in the themes/default/images folder.

    I suspect this has something to do with the internal workings of wget and the fact that these images are referenced in the HTML as

    #page { background: url("http://<your_site>/wp-content/themes/default/images/kubrickbg.jpg") repeat-y top; border: none; }

    Also, I looked into httrack but unfortunately it seemed to generate some spurious files that I wouldn’t want to upload to the simple server. For example two files named ‘new java.net.URL(window.location.html’ and ‘GET.html’ which are simply non-existent files on the local installation and thus show only 404 responses.

    wget seems to offer the best route but I can’t seem to get it to see the linked images somehow. Sure I could specifically copy over the folder but ideally this should be a fairly simple fix that others could implement in the future.

    Perhaps some input on how to get wget to recognize the image links? Or maybe another program that would do what I’m trying to?

    Thanks all.

    Thread Starter itotallyjustmadethisup

    (@itotallyjustmadethisup)

    wget is a good recommendation – it was a route I was actually looking into. I had the best luck with:

    wget --html-extension --recursive --page-requisites <site-location>

    Unfortunately it will generate a flat html-ified version of the site where all the links are set to my local machine.

    I’m going to see if I can pipe this through sed to clean it up and make it work. I’ll post back.

    Thread Starter itotallyjustmadethisup

    (@itotallyjustmadethisup)

    I looked into wp-cache and staticize but they’re not going to fit my needs.

    Namely the server I’m trying to transfer all my files to (as flat HTML files) doesn’t support php. So the output files with .php endings won’t work.

    Any other input would be greatly appreciated 🙂

    Take care.

Viewing 5 replies - 1 through 5 (of 5 total)