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-04-23]
martstr [Flytting av websider fra dokuwiki til Liferay]
drift:webflytting [2012-08-16]
hanche [Tips] Mac+es-versjon
Linje 17: Linje 17:
 |  12 | [[http://eksternweb.math.ntnu.no/historie]]  | [[http://www.ntnu.no/web/imf/historie]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-10//| |  12 | [[http://eksternweb.math.ntnu.no/historie]]  | [[http://www.ntnu.no/web/imf/historie]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-10//|
 |  13 | [[http://eksternweb.math.ntnu.no/kontakt]]  | [[http://www.ntnu.no/web/imf/kontakt]]  | (gjort før 10. april. Harald?)| |  13 | [[http://eksternweb.math.ntnu.no/kontakt]]  | [[http://www.ntnu.no/web/imf/kontakt]]  | (gjort før 10. april. Harald?)|
-|  14 | [[http://eksternweb.math.ntnu.no/matematikkdagen/notter]]  | [[http://www.ntnu.no/web/imf/matematikkdagen/notter]]  | Kanskje ikke nødvendig?  +|  14 | [[http://eksternweb.math.ntnu.no/matematikkdagen/notter]]  | [[http://www.ntnu.no/web/imf/matematikkdagen/notter]]  | Kanskje ikke nødvendig? Nei. 
-|  15 | [[http://eksternweb.math.ntnu.no/matematikkdagen/reisestipend]]  | [[http://www.ntnu.no/web/imf/matematikkdagen/reisestipend]]  | Kanskje ikke nødvendig?  +|  15 | [[http://eksternweb.math.ntnu.no/matematikkdagen/reisestipend]]  | [[http://www.ntnu.no/web/imf/matematikkdagen/reisestipend]]  | Kanskje ikke nødvendig? Nei. 
-|  16 | [[http://eksternweb.math.ntnu.no/matematikkdagen]]  | [[http://www.ntnu.no/web/imf/matematikkdagen]]  | Kanskje ikke nødvendig?  +|  16 | [[http://eksternweb.math.ntnu.no/matematikkdagen]]  | [[http://www.ntnu.no/web/imf/matematikkdagen]]  | Kanskje ikke nødvendig? Nei. 
-|  17 | [[http://eksternweb.math.ntnu.no/studier/jobbmuligheter]]  | [[http://www.ntnu.no/web/imf/studier/jobbmuligheter]] | Finnes på [[http://wiki.math.ntnu.no/student/bachelor/muligheter]] Skal det eksistere to steder? (Mye jobb med bildene ...) |+|  17 | [[http://eksternweb.math.ntnu.no/studier/jobbmuligheter]]  | [[http://www.ntnu.no/web/imf/studier/jobbmuligheter]] | Finnes på [[http://wiki.math.ntnu.no/student/bachelor/muligheter]] Skal det eksistere to steder? (Mye jobb med bildene ...) (Nei, vi kan godt klare oss med wiki-utgaven i første omgang.) |
 |  18 | [[http://eksternweb.math.ntnu.no/studier/nystudent]]  | [[http://www.ntnu.no/web/imf/studier/nystudent]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-16//| |  18 | [[http://eksternweb.math.ntnu.no/studier/nystudent]]  | [[http://www.ntnu.no/web/imf/studier/nystudent]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-16//|
 |  19 | [[http://eksternweb.math.ntnu.no/studier]]  | [[http://www.ntnu.no/web/imf/studier]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-16//| |  19 | [[http://eksternweb.math.ntnu.no/studier]]  | [[http://www.ntnu.no/web/imf/studier]]  | --- //[[martstr@math.ntnu.no|Martin Strand]] 2012-04-16//|
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 =====