Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-15-2008, 07:44 AM
oguzaltu@gmail.com
 
Posts: n/a
Default printing part of a website (using wget?)

Hi,
I want to print a part of a website.
I got the sitemap of the relevant part with xenu's link sleuth.
Now I need to retrieve each link, and merge them into a single html
file.

I think that can be done with wget:
1- I want wget to retrieve all the links in an html file that resides
in my local computer. But I couldnt find an option for it.
2- I want it to store them in a single file, or rename them like
"001...","002...",... so that I can use "cat".

Do you know any tool that already does all this? Or the corresponding
wget options?

Thx.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-15-2008, 06:49 PM
seaPea
 
Posts: n/a
Default Re: printing part of a website (using wget?)

oguza...@gmail.com wrote:
> Hi,
> I want to print a part of a website.
> I got the sitemap of the relevant part with xenu's link sleuth.
> Now I need to retrieve each link, and merge them into a single html
> file.
>
> I think that can be done with wget:
> 1- I want wget to retrieve all the links in an html file that resides
> in my local computer. But I couldnt find an option for it.
> 2- I want it to store them in a single file, or rename them like
> "001...","002...",... so that I can use "cat".
>
> Do you know any tool that already does all this? Or the corresponding
> wget options?
>
> Thx.


--output-document option doesn't do want you want ?
"
--output-document=file
The documents will not be written to the appropriate files,
but all
will be concatenated together and written to file. If - is
used as
file, documents will be printed to standard output,
disabling link
conversion. (Use ./- to print to a file literally named
-.)

Note that a combination with -k is only well-defined for
download-
ing a single document.
"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:35 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.