Re: [web2py] Offline Access to web2py manual?

2011-11-11 Thread Johann Spies
On 10 November 2011 18:11, ~redShadow~ redsha...@hackzine.org wrote:


 Sure, I was complaining for lack of *wget* documentation, not web2py :)
 (although yeah, maybe I should email wget authors about that..)


'man wget'  is quite good.

Did you try http://www.gnu.org/software/wget/manual/ ?

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: [web2py] Offline Access to web2py manual?

2011-11-11 Thread ~redShadow~
On Fri, 2011-11-11 at 10:05 +0200, Johann Spies wrote: 
 'man wget'  is quite good.
 
 Did you try http://www.gnu.org/software/wget/manual/ ?

Yup.. just found out that ``--html-extension`` got renamed into:

-E,  --adjust-extension
save HTML/CSS documents with proper extensions.

That's why I didn't find it in the manpage of the new wget, doesn't
explain why I didn't find it originally.
Anyways, thanks to who suggested use of that option, absolutely needed
when creating mirror of any dynamically-served website.

-- 
Samuele ~redShadow~ Santi

 redshadow[at]hackzine.org - redshadowhack[at]gmail.com

  Blog: http://hackzine.org

  GPG Key signature:
   050D 3E9F 6E0B 44CE C008 D1FC 166C 3C7E EB26 4933

/me recommends:
Squadra Informatica - http://www.squadrainformatica.com

 - Proud ThinkPad T-Series owner
 - Registered Linux-User: #440008
  * GENTOO User since 1199142000 (2008-01-01)
  * former DEBIAN SID user

  Software is like sex: it's better when it's free!
  -- Linus Torvalds



signature.asc
Description: This is a digitally signed message part


Re: [web2py] Offline Access to web2py manual?

2011-11-10 Thread BrendanC
Bruno,
Exactly what I was looking for - many thanks! This is the sort of thing 
that should be documented rather than hidden.

BTW - Where/how did you come up with that syntax? 

Thx much,
BrendanC


Re: [web2py] Offline Access to web2py manual?

2011-11-10 Thread Bruno Rocha
Someone posted it here in this list, I just favorited here for future use.

On Thu, Nov 10, 2011 at 6:33 AM, BrendanC bren...@gmail.com wrote:

 Bruno,
 Exactly what I was looking for - many thanks! This is the sort of thing
 that should be documented rather than hidden.

 BTW - Where/how did you come up with that syntax?

 Thx much,
 BrendanC




-- 

Bruno Rocha
[http://rochacbruno.com.br]


Re: [web2py] Offline Access to web2py manual?

2011-11-10 Thread ~redShadow~
On Wed, 2011-11-09 at 23:23 -0200, Bruno Rocha wrote:
 On *UNix terminal
 
 wget --recursive -l 1 --no-clobber --page-requisites --html-extension
 --convert-links --restrict-file-names=windows
 --domains web2py.com --no-parent http://www.web2py.com/book

This works great (somebody posted it on reply to my question some time
ago); what does the trick (and I was missing before) is the
``--html-extension`` parameter. Maybe also ``--adjust-extension`` works
the same way, but try: ``wget --help | grep html-extension``.. (returns
nothing to me). Why are always the more useful things undocumented??

-- 
Samuele ~redShadow~ Santi

 redshadow[at]hackzine.org - redshadowhack[at]gmail.com

  Blog: http://hackzine.org

  GPG Key signature:
   050D 3E9F 6E0B 44CE C008 D1FC 166C 3C7E EB26 4933

/me recommends:
Squadra Informatica - http://www.squadrainformatica.com

 - Proud ThinkPad T-Series owner
 - Registered Linux-User: #440008
  * GENTOO User since 1199142000 (2008-01-01)
  * former DEBIAN SID user

  Software is like sex: it's better when it's free!
  -- Linus Torvalds



signature.asc
Description: This is a digitally signed message part


Re: [web2py] Offline Access to web2py manual?

2011-11-10 Thread Anthony
On Thursday, November 10, 2011 6:58:44 AM UTC-5, Samuele Santi wrote:

 Why are always the more useful things undocumented??

This is not any kind of official web2py method -- it's a general method 
available in Linux for copying the content of websites (and there are other 
methods). We can't document every conceivable topic about programming and 
the internet. ;-)


Re: [web2py] Offline Access to web2py manual?

2011-11-10 Thread Johann Spies
 wget --recursive -l 1 --no-clobber --page-requisites --html-extension
 --convert-links --restrict-file-names=windows --domains web2py.com
  --no-parent http://www.web2py.com/book


You can add --mirror as an extra option.  In that case it will skip files
that are already on your computer and just bring in the changed files.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: [web2py] Offline Access to web2py manual?

2011-11-10 Thread ~redShadow~
On Thu, 2011-11-10 at 04:03 -0800, Anthony wrote:
 On Thursday, November 10, 2011 6:58:44 AM UTC-5, Samuele Santi wrote:
 Why are always the more useful things undocumented??
 
 This is not any kind of official web2py method -- it's a general
 method available in Linux for copying the content of websites (and
 there are other methods). We can't document every conceivable topic
 about programming and the internet. ;-)

Sure, I was complaining for lack of *wget* documentation, not web2py :)
(although yeah, maybe I should email wget authors about that..)

-- 
Samuele ~redShadow~ Santi

 redshadow[at]hackzine.org - redshadowhack[at]gmail.com

  Blog: http://hackzine.org

  GPG Key signature:
   050D 3E9F 6E0B 44CE C008 D1FC 166C 3C7E EB26 4933

/me recommends:
Squadra Informatica - http://www.squadrainformatica.com

 - Proud ThinkPad T-Series owner
 - Registered Linux-User: #440008
  * GENTOO User since 1199142000 (2008-01-01)
  * former DEBIAN SID user

  Software is like sex: it's better when it's free!
  -- Linus Torvalds



signature.asc
Description: This is a digitally signed message part


Re: [web2py] Offline Access to web2py manual?

2011-11-09 Thread Bruno Rocha
On *UNix terminal

wget --recursive -l 1 --no-clobber --page-requisites --html-extension
--convert-links --restrict-file-names=windows --domains web2py.com
 --no-parent http://www.web2py.com/book

On Wed, Nov 9, 2011 at 9:21 PM, BrendanC bren...@gmail.com wrote:

 I don't mind buying the updated docs once they are available. (I'm
 thinking of some sort of local website copy).Meanwhile if there anyway to
 capture a local version of the manual for browsing that I can access when I
 don't have online access?

 I know there is a pdf doc available, but afaik it's pretty out of date.

 TIA,
 BrendanC




-- 

Bruno Rocha
[http://rochacbruno.com.br]