You are not logged in.

#1 2010-03-31 06:46:46

Nerd King
Member
From: Thailand
Registered: 2009-11-06
Posts: 37

Downloadable Arch Wiki

Just wondering, is there anywhere I can download a copy of the Arch Wiki? It'd be bloody handy on those occasions when I don't have a (working) net connection smile


Please be patient, I'm a n00b on Arch (only 2 years on Ubuntu) so I may say something stupid!
PS thank you to all those who contribute awesomeness to the AUR and the main packages, you guys have made my computer so much more fun to use!

Offline

#2 2010-03-31 06:49:52

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,416
Website

Re: Downloadable Arch Wiki

pacman -S arch-wiki-docs

Offline

#3 2010-03-31 07:08:51

Nerd King
Member
From: Thailand
Registered: 2009-11-06
Posts: 37

Re: Downloadable Arch Wiki

Excellent smile That's absolutely perfect. Thank you smile


Please be patient, I'm a n00b on Arch (only 2 years on Ubuntu) so I may say something stupid!
PS thank you to all those who contribute awesomeness to the AUR and the main packages, you guys have made my computer so much more fun to use!

Offline

#4 2010-04-06 06:44:38

YZMSQ
Member
From: Hangzhou,Zhejiang,China
Registered: 2009-11-18
Posts: 97

Re: Downloadable Arch Wiki

Allan wrote:

pacman -S arch-wiki-docs

Well,sounds great to me,while some of the articles are out-of-date.:rolleyes:


This is the way the world ends
Not with a bang but a whimper
                            -------T·S·Eliot

Offline

#5 2010-04-07 00:10:15

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: Downloadable Arch Wiki

Out of date in the package or on the wiki? You can use the PKGBUILD from ABS to get the latest wiki docs though this will take a while. I wonder how often the official package is updated to reflect wiki changes.

Offline

#6 2010-05-05 13:19:35

nixpunk
Member
Registered: 2009-11-23
Posts: 268

Re: Downloadable Arch Wiki

milomouse wrote:

I wonder how often the official package is updated to reflect wiki changes.

http://www.archlinux.org/packages/commu … wiki-docs/

Last Updated:      2010-04-14

Offline

#7 2010-06-21 20:04:22

oupsemma
Member
Registered: 2010-01-01
Posts: 70

Re: Downloadable Arch Wiki

I've been installing arch-wiki-docs from AUR, because it's nice to be able to access the wiki when you are in trouble and with no Internet connection, only how do you do to know which page is the one you want to refer to?
There are 2651 .html files labelled like 00000978.html and when opening one of them in Opera, hyperlinks do not work at all.
So, have you got to explore them all to find the ones you're interested in, or is there a more evident way of using this documentation.
I'd really would like to be able to take advantage of this offline wiki.

Offline

#8 2010-06-21 20:12:45

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Downloadable Arch Wiki

a version of the wiki in PDF format would be phenomenal... but not sure how it could be done in an automated and simple way... I would expect the links would work if they were relative vs being direct location links... I don't know exactly how you would alter the current links to be relative, but I know I have seen the option for creating relative links in KompoZer... when I say relative, I mean the link for beginner's guide would be ~/beginner.html vs http://wiki.archlinux.org/beginner.html (as an example, I know that is not the actual link)... I believe that would also solve the link issue posted by oupsemma because the link would be the same relative to the root folder the wiki was in (no matter what folder, ftp, http or block device it was located on)... and would make it completely universal. Including if a PDF conversion were possible via a batch script (I think)... In any event, it's something worth investigating...


Help grow the dev population... have your tech trained and certified!

Offline

#9 2010-06-21 20:56:08

oupsemma
Member
Registered: 2010-01-01
Posts: 70

Re: Downloadable Arch Wiki

Is a personal wiki needed, and tools to convert from html to MediaWiki (html2wiki) ?

Edit: there in fact are only some pages in which links are not working (though been not testing them all, phew!!),  especially pages which contain nearly only links; so it's a matter of daily use to find them.

Last edited by oupsemma (2010-06-21 22:02:41)

Offline

#10 2010-06-22 02:37:12

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Downloadable Arch Wiki

I wonder if the search function works for it when it's saved locally... hmm...

to answer your question, I'm not entirely sure of what is needed for the possible conversions I mentioned earlier... as far as I know, they are all theoretical.


Help grow the dev population... have your tech trained and certified!

Offline

#11 2010-06-22 04:05:01

Peanut
Member
From: Norway
Registered: 2009-05-24
Posts: 99

Re: Downloadable Arch Wiki

oupsemma wrote:

There are 2651 .html files labelled like 00000978.html and when opening one of them in Opera, hyperlinks do not work at all.

Check /usr/share/doc/arch-wiki/html/index.html, it contains the titles of the all those html files. Hyperlinks work fine for the version in the official repositories.

To implement a basic search function, you could also try something like this:

#!/bin/sh

cd /usr/share/doc/arch-wiki/html/
grep -i "$1" index.html | sed 's/.*HREF=.\(.*\.html\).*/\1/g' | xargs opera -newpage

Running /path/to/awiki lightweight in a terminal should then open all files containing the word "lightweight" in Opera.

Offline

#12 2010-06-22 05:37:21

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Downloadable Arch Wiki

that's an interesting way of doing that... but I was moreso hoping that the actual search box on the web page would work offline... probably asking too much though big_smile


Help grow the dev population... have your tech trained and certified!

Offline

#13 2010-06-22 09:38:29

oupsemma
Member
Registered: 2010-01-01
Posts: 70

Re: Downloadable Arch Wiki

Thanks a lot!
Following Peanut's advice, I've searched for the index.html file, which was the last one in the htlm folder of arch-wiki-docs , and links-clicking works nicely within it.
That's great because Arch Wiki is one of the best reference wiki (together with Gentoo's wiki (and for French-specific stuff, Ubuntu-fr.org documentation and LinuxPedia)).

Offline

#14 2010-06-22 22:50:34

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Downloadable Arch Wiki

so is the AUR package functional?  just wanna make sure... cause I'm about to install it today...


Help grow the dev population... have your tech trained and certified!

Offline

#15 2010-06-23 04:31:36

oupsemma
Member
Registered: 2010-01-01
Posts: 70

Re: Downloadable Arch Wiki

Yes, it truly works, and there are daily updates through AUR; so don't hesitate installing it.

Offline

#16 2010-06-23 05:47:13

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Downloadable Arch Wiki

for the record, I can't find the AUR version, I only see the official one... am I missing something? I'm even searching manually in the AUR pages on the site...


Help grow the dev population... have your tech trained and certified!

Offline

#17 2010-06-23 06:55:43

oupsemma
Member
Registered: 2010-01-01
Posts: 70

Re: Downloadable Arch Wiki

Oops! You're right, CPUnltd, it's in the official package database, not in AUR. (need some sleep...:rolleyes:).

Last edited by oupsemma (2010-06-23 06:56:18)

Offline

#18 2010-06-23 13:22:48

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: Downloadable Arch Wiki

but I thought there was one in AUR that was more up-to-date than the one in the official repos... i remember that statement being made earlier in this thread....


Help grow the dev population... have your tech trained and certified!

Offline

#19 2010-06-23 13:48:05

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: Downloadable Arch Wiki

Well, if it isn't in AUR, you can always grab the PKGBUILD from ABS or the websvn and makepkg wink
It should be updated as of the time of building.

Offline

#20 2010-07-20 13:49:00

Slizzered
Member
Registered: 2010-04-13
Posts: 12

Re: Downloadable Arch Wiki

Since searching the index.html isn't quite as successful as the real wiki-search, here is a small script to search through all the pages:

#!/bin/bash

cd /usr/share/doc/arch-wiki/html/

for i in $(grep -li $1 *)
do
    STRING=`grep -m1 -o 'wgTitle = "[[:print:]]\+"' $i`
    LEN=${#STRING}
    let LEN=LEN-12
    STRING=${STRING:11:LEN}
    LOCATION="/usr/share/doc/arch-wiki/html/$i"
    echo -e " \E[33m$STRING   \E[37m$LOCATION"
done

If searching is too slow for your needs, you can disable case insensivity by omitting the "i"-option in the beginning of the loop.

I also added some clickabilty according to
[wiki]Rxvt-unicode#Clickable_URLs[/wiki]
Together with a pattern to fit html-documents, the entry in my .Xdefaults-file looks like

URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: firefox
URxvt.matcher.button: 1
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-] 
URxvt.matcher.pattern.2: (\\/[-_\\w\\d]+)+\\.html

Offline

#21 2010-07-20 14:08:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,430

Re: Downloadable Arch Wiki

How often is the regular package updated? The current version is 20100621-1. About once-twice a month would be cool.

Offline

#22 2010-07-21 19:34:39

fturco
Member
Registered: 2010-07-12
Posts: 37

Re: Downloadable Arch Wiki

i started contributing to the wiki (minor edits for now), but i'm concerned about the absence of a proper way to obtain a snapshot of it for backup reasons. i looked at arch-wiki-docs package, but it's only a collection of html pages, with no source code, no discussions and no revisions. to reduce bandwidth usage, we can use bittorrent, just as with iso releases. what do you think?

Offline

#23 2010-07-22 08:26:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,430

Re: Downloadable Arch Wiki

@ fturco
If you're serous about it, you may want to post your proposal on the ML - that's where all the cool Arch High Priests hang out.

Last edited by karol (2010-07-22 08:27:05)

Offline

#24 2010-07-22 13:25:18

skodabenz
Banned
From: Tamilnadu, India
Registered: 2010-04-11
Posts: 382

Re: Downloadable Arch Wiki

Is there a way to download only the wiki articles in English using the arch-wiki-docs PKGBUILD?

Last edited by skodabenz (2010-07-22 13:27:34)


My new forum user/nick name is "the.ridikulus.rat" .

Offline

#25 2010-07-22 13:26:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,430

Re: Downloadable Arch Wiki

skodabenz wrote:

Is there a way to download only articles in English using the arch-wiki-docs PKGBUILD?

I doubt it, but maybe you can use grep to pick only the ones that end in '(English)'.

Offline

Board footer

Powered by FluxBB