Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Apr 2014, 22:07
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Is there a good scripting tutorial for beginners?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
circularL7

Joined: 02 Feb 2013
Posts: 112

PostPosted: Sun 28 Apr 2013, 01:57    Post subject:  Is there a good scripting tutorial for beginners?  

Hey, all.

I want to write a script. (Actually, I want to write lots of scripts, but I should probably start with just one:) I download many web pages for off line reading. Frequently, the information that I want from a site is spread over multiple pages; a multi-page thread is an example of this. I would like my script to automatically download all the related pages of a chosen subject.

My first questions: it seems to me that this is a task that's suited to a browser add-on. Is that conclusion accurate?

Second question: can an add-on be written in bash?

Third question: if an add-on cannot be written in bash, can this task be performed by a separate bash script?


I suspect that this isn't an unusual idea and that I can find such a script/add-on. However, I need a first project.

I've played with the command line; I'm comfortable running programs from a terminal and modifying the file system from the terminal. (I appreciate the GUI now.) And, by the end of this coming week, I'll be comfortable compiling. I've also written lots of html for a couple simple websites if that matters.

Help me, please.
Back to top
View user's profile Send private message 
stu91


Joined: 06 Aug 2012
Posts: 144
Location: England. Dpup. Dell Inspiron 1501

PostPosted: Sun 28 Apr 2013, 09:19    Post subject:  

No idea about browser add-ons but maybe these scripts will be a good place to start with regards to downloading multi-page threads.
ThreadGet: http://www.murga-linux.com/puppy/viewtopic.php?t=62236
ThreadSaver: http://www.murga-linux.com/puppy/viewtopic.php?t=74404
Back to top
View user's profile Send private message 
circularL7

Joined: 02 Feb 2013
Posts: 112

PostPosted: Sun 28 Apr 2013, 10:14    Post subject:  

Thanks, Stu; those look interesting.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 4981
Location: Arizona, U.S.A.

PostPosted: Sun 28 Apr 2013, 13:52    Post subject:  

Hi circularL7; There are web site downloaders, but I don`t know of any specific ones.

Here`s a Bash tutorial: http://tldp.org/LDP/abs/html/

It`s a multi-page setup, a good test bed for any code you write.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: Mon 29 Apr 2013, 18:12    Post subject:  

To install the bash manual quickly I have made a pet package

http://www.murga-linux.com/puppy/viewtopic.php?t=80501

_____________________________________________________
Back to top
View user's profile Send private message 
circularL7

Joined: 02 Feb 2013
Posts: 112

PostPosted: Wed 01 May 2013, 16:55    Post subject:  

Very nice. Thank you.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0425s ][ Queries: 11 (0.0027s) ][ GZIP on ]