You are not logged in.
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
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
pacman -S arch-wiki-docs
Offline
Excellent That's absolutely perfect. Thank you
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
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
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
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
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
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
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
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
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
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
Help grow the dev population... have your tech trained and certified!
Offline
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
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
Yes, it truly works, and there are daily updates through AUR; so don't hesitate installing it.
Offline
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
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
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
Well, if it isn't in AUR, you can always grab the PKGBUILD from ABS or the websvn and makepkg
It should be updated as of the time of building.
Offline
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
How often is the regular package updated? The current version is 20100621-1. About once-twice a month would be cool.
Offline
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
@ 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
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
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