Hi Friedrich,

Am 26.01.2011 11:49, schrieb Friedrich Strohmaier:
> [...]
>> Hmm, was mach ich falsch?
> was machste denn überhaupt? Ohne das kann man schlecht sehen, was Du
> falsch machst :o))

Ja, kann sein dass ich mich unklar ausgedrückt hab was ev daran liegt,
dass ich die letzten Nächte kaum Schlaf hatte...  s.u.

 [...]

> baseurl=relative

Das wars was ich wissen wollte.


>> Das ging doch mal mit *local* oder irr ich mich? 

Ich irrte mich...  ;-)


> http://devel.libreofficebox.org/StaticExporter/StaticExporter/StaticExportForm
> Wie kommste auf die?

local statt relative...
und den Browser benutzt statt der bash

Sieht eigentlich ganz gut aus der Export.

Da die Mail von Christian noch keinen archived tag hat hier mal der Text
vom 3.11., ev hilft dir das weiter (linkextract)

Aber hier die (skriptfähige) Vorgehensweise in manuellen Schritten

cloph@timon:~$ TEMPEXPORT=`mktemp -d boxexport.XXXXXX`
cloph@timon:~$ cd $TEMPEXPORT
cloph@timon:/tmp/boxexport.AL3882$ wget -q
"http://devel.libreofficebox.org/StaticExporter/export?baseurl=relative";
-O html.tar.gz
cloph@timon:/tmp/boxexport.AL3882$ tar -xzf html.tar.gz
cloph@timon:/tmp/boxexport.AL3882$ linkextract.pl html rsynclist.lst
Number of referenced files from assets: 730
Used theme(s):
         libox
now run the following command:
rsync -arv --dry-run --files-from=rsynclist.lst
/var/www/sites/prooo-box/devel/libo-box/cms/ html
If everything looks OK, remove the --dry-run and run again to actually
copy the files
cloph@timon:/tmp/boxexport.AL3882$ rsync -arv --dry-run
--files-from=rsynclist.lst
/var/www/sites/prooo-box/devel/libo-box/cms/ html
[... Ausgabe ist OK ...]
cloph@timon:/tmp/boxexport.AL3882$ rsync -arv
--files-from=rsynclist.lst
/var/www/sites/prooo-box/devel/libo-box/cms/ html
[... Dateien werden kopiert ...]
sent 1836024351 bytes  received 19104 bytes  17912619.07 bytes/sec
total size is 1835680037  speedup is 1.00
cloph@timon:/tmp/boxexport.AL3882$ du -sh html
1,8G    html

html hat dann alles, was man für die Seite braucht - also
rm -rf /pfad/zu/dvd/html
mv html /pfad/zu/dvd/

Danach cd ; rm -rf $TEMPEXPORT

Grüße
Erich

-- 
Informationen zur Abmeldung: E-Mail an discuss+h...@de.libreoffice.org
Listenarchiv: http://listarchives.libreoffice.org/de/discuss/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

Antwort per Email an