Forskjeller

Her vises forskjeller mellom den valgte versjonen og den nåværende versjonen av dokumentet.

Lenk til denne sammenligningen

Begge sider forrige revisjon Forrige revisjon
Neste revisjon
Forrige revisjon
Neste revisjon Begge sider neste revisjon
drift:webflytting [2012-05-04]
hanche [Flytting av websider fra dokuwiki til Liferay]
drift:webflytting [2012-08-16]
hanche [Tips] Mac+es-versjon
Linje 42: Linje 42:
 |  37 | [[http://externalweb.math.ntnu.no/research/stat/seminar]]  | [[http://www.ntnu.edu/web/imf/statistics/seminar]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-23//| |  37 | [[http://externalweb.math.ntnu.no/research/stat/seminar]]  | [[http://www.ntnu.edu/web/imf/statistics/seminar]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-23//|
 |  38 | [[http://externalweb.math.ntnu.no/research/stat]]  | [[http://www.ntnu.edu/web/imf/statistics]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-23//| |  38 | [[http://externalweb.math.ntnu.no/research/stat]]  | [[http://www.ntnu.edu/web/imf/statistics]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-23//|
-|  39 | [[http://externalweb.math.ntnu.no/research/top/conf]]  | [[http://www.ntnu.edu/web/imf/topology/conf]] | | +|  39 | [[http://externalweb.math.ntnu.no/research/top/conf]]  | [[http://www.ntnu.edu/web/imf/topology/conf]] | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-05-29//
-|  40 | [[http://externalweb.math.ntnu.no/research/top/courses]]  | [[http://www.ntnu.edu/web/imf/topology/courses]]  | | +|  40 | [[http://externalweb.math.ntnu.no/research/top/courses]]  | [[http://www.ntnu.edu/web/imf/topology/courses]] --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-05-29//
-|  41 | [[http://externalweb.math.ntnu.no/research/top/proj]]  | [[http://www.ntnu.edu/web/imf/topology/proj]]  | | +|  41 | [[http://externalweb.math.ntnu.no/research/top/proj]]  | [[http://www.ntnu.edu/web/imf/topology/proj]] --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-05-29//
-|  42 | [[http://externalweb.math.ntnu.no/research/top/seminar/2011f]]  | [[http://www.ntnu.edu/web/imf/topology/seminar/2011f]]  | | +|  42 | [[http://externalweb.math.ntnu.no/research/top/seminar/2011f]]  | [[http://www.ntnu.edu/web/imf/topology/seminar/2011f]] --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-05-29//
-|  43 | [[http://externalweb.math.ntnu.no/research/top/seminar]]  | [[http://www.ntnu.edu/web/imf/topology/seminar]]  | | +|  43 | [[http://externalweb.math.ntnu.no/research/top/seminar]]  | [[http://www.ntnu.edu/web/imf/topology/seminar]] --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-05-29//
-|  44 | [[http://externalweb.math.ntnu.no/research/top]]  | [[http://www.ntnu.edu/web/imf/topology]]  | | +|  44 | [[http://externalweb.math.ntnu.no/research/top]]  | [[http://www.ntnu.edu/web/imf/topology]] --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-05-29//
-|  45 | [[http://externalweb.math.ntnu.no/studies]]  | [[http://www.ntnu.edu/web/imf/studies]]  | | +|  45 | [[http://externalweb.math.ntnu.no/studies]]  | [[http://www.ntnu.edu/web/imf/studies]] --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-05-29//
-|  46 | [[http://externalweb.math.ntnu.no]]  | [[http://www.ntnu.edu/web/imf]]  | |+|  46 | [[http://externalweb.math.ntnu.no]]  | [[http://www.ntnu.edu/web/imf]] --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-05-29//|
  
  
Linje 57: Linje 57:
 Legger man til ''?do=export_xhtmlbody'' bak URL-en i wiki, får man ren XHTML-kode. Legger man til ''?do=export_xhtmlbody'' bak URL-en i wiki, får man ren XHTML-kode.
  
-Fila 'sed':+Fila 'sed' (NB på Mac skal første linje være `#!/usr/bin/sed -nf`):
  
   #!/bin/sed -nf   #!/bin/sed -nf
Linje 70: Linje 70:
   s%</div>%%g   s%</div>%%g
   p   p
 +
 +Hvordan bruke fra (ba)sh:
  
   curl -so - "$(xsel -b)?do=export_xhtmlbody" | ./sed | xsel -i -b   curl -so - "$(xsel -b)?do=export_xhtmlbody" | ./sed | xsel -i -b
 +
 +Eller fra es:
 +
 +  fn fixit {curl -so - `pbpaste^'?do=export_xhtmlbody' | ./sed | pbcopy}
  
 ===== TODO ===== ===== TODO =====