[linux] Wget - download PHP stranok

Jaroslav Matej matej na vsld.tuzvo.sk
Úterý Leden 27 08:08:43 CET 2004


Peter Mann wrote:

>On Mon, Jan 26, 2004 at 02:08:36PM +0100, Jaroslav Matej wrote:
>  
>
>>Da sa s WGETom alebo s inym programom stiahnut WWW stranka (komplet cele 
>>sidlo na offline vyuzitie), ktora je generovana cez PHP, prip. ine 
>>skript.jaz., a sucasne stiahnute jednotlive stranky ulozit ako 
>>jednoduche HTML, t.j. jednoduche mena suborov (bez *.php?...) ?
>>    
>>
>
>man wget:
>
>       --convert-links
>

To som skusal a funguje, ja som ale myslel toto:
nahradit linku (napr. v relativnom tvare) na stranke s tvarom 
"kontakty.php?a=JKGJKGHJGHJ&b=EEEEOPIOP"
na jednoduchy subor napr. "kontakty-001.html".

MJ
--

>           After the download is complete, convert the links in the document 
>	   to make them suitable for local viewing.  This affects not only
>	   the visible hyperlinks, but any part of the document that links to
>	   external content, such as embedded images, links to style sheets,
>	   hyperlinks to non-HTML content, etc.
>
>ale skus namiesto wget aj httrack
>
>  
>





Další informace o konferenci linux