Saving a copy of the GoW Wiki and all the tutorials on my PC

General debates and discussion about the Guild of Writers and Age creation

Saving a copy of the GoW Wiki and all the tutorials on my PC

Postby Jamey » Sat Feb 20, 2010 12:15 pm

Hey guys, I hope this is the right forum section to ask this.

I was wondering, is there any way I can save the Guild of Writers Wiki (and all the tutorials and pictures for making fan-created ages) offline on my hardrive? I have a laptop and I want to be able to follow these tutorials when creating ages even when I am somewhere that does not have Internet Access. I know I won't be able to see updates made to the Wiki when viewing it offline, but at least I'll have something temporary to work with. ;)

Any help would be highly appreciated!
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Saving a copy of the GoW Wiki and all the tutorials on my PC

Postby Christian Walther » Mon Feb 22, 2010 2:29 pm

Here’s the script I used to download the wiki excerpt contained in the PyPRP 1.6 release:

http://svn.guildofwriters.com/pyprp/contrib/CWalther/getwikiexcerpt.sh
Code: Select all
mkdir "Wiki Excerpt"
cd "Wiki Excerpt"
wget -nH -r -l 1 -E -k -p --reject "Guild_of_Writers_Wiki:*,index.php?*,Help:*,Main_Page,Special:*,Category:*,User:*,User_talk:*,Current_events,gowwiki.xml" http://guildofwriters.com/wiki/What%27s_New_in_PyPRP_1.6 http://guildofwriters.com/wiki/Installing_PyPRP
wget -nH -x http://guildofwriters.com/w/skins/common/shared.css http://guildofwriters.com/w/skins/writers/main.css http://guildofwriters.com/w/skins/writers/bullet.gif http://guildofwriters.com/w/skins/writers/corners_left.png http://guildofwriters.com/w/skins/writers/corners_right.png http://guildofwriters.com/w/skins/writers/external.png
perl -pi -e 's/@import "\/w\/skins\/([^?]+)\?97/@import "..\/w\/skins\/\1/g' wiki/*.html
perl -pi -e 's/\/w\/skins\/([^%]+)%3F97/\/w\/skins\/\1/g' wiki/*.html
for i in ajax.js commonPrint.css wikibits.js; do mv w/skins/common/$i\?97 w/skins/common/$i; done
rm -r wiki/Special\:*


I realize this probably won’t help you a lot unless you’re a Unix geek (and I think you’re not), but unfortunately I don’t have time to explain it in detail right now. If you aren’t afraid of working on the command line and figuring out how things work on your own, you can get wget for Windows here and its documentation here and try playing with it along the lines of what I did here. Getting the whole wiki should actually be easier, but you’d probably end up with a lot of junk you don’t want.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Saving a copy of the GoW Wiki and all the tutorials on my PC

Postby Aloys » Mon Feb 22, 2010 3:24 pm

Alternatively, you may want to use a 'website downloader' or 'offline browser'. I haven't used one iin a while, last one was 'Teleport Pro', I'm not sure what it's worht these days. 'Httrack' seems to get some feedback.
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Saving a copy of the GoW Wiki and all the tutorials on my PC

Postby ddb174 » Mon Feb 22, 2010 5:12 pm

Httrack is great, though you should make sure it is set to ignore pages with "?" as part of the path. (I made a wiki source downloader as part of Drizzle, but that is for backing up the source text rather than viewing offline.)
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: Saving a copy of the GoW Wiki and all the tutorials on my PC

Postby Jamey » Mon Feb 22, 2010 6:02 pm

ddb174 wrote:Httrack is great, though you should make sure it is set to ignore pages with "?" as part of the path. (I made a wiki source downloader as part of Drizzle, but that is for backing up the source text rather than viewing offline.)



I downloaded this, but how do you adjust the preferences to ignore pages with "?" as part of the path?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Saving a copy of the GoW Wiki and all the tutorials on my PC

Postby ddb174 » Tue Feb 23, 2010 10:42 am

I just tried it out with the defaults and it worked fine. So just go ahead and use it.
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: Saving a copy of the GoW Wiki and all the tutorials on my PC

Postby Jamey » Wed Feb 24, 2010 1:29 pm

Awesome! I was able to download the Wiki successfully! :D

Is there a way to run an update using Httrack, so that when I do get internet access, I can update my offline copy of it?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests