Convertir un document OpenOffice en page MediaWiki : Différence entre versions

De La Mouche VII
Aller à la navigationAller à la recherche
(XoIaKWNZxFUIsJbWiSR)
(note l'existance de Wiki Publisher)
 
(21 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
comment1
+
[[Catégorie:MediaWiki]]
http://saga1212.001webs.com/travel-guide-april.html travel guide dvd
+
 
http://saga1212.001webs.com/heavyhands-fitness-equipment.html fitness equipment including treadmills
+
'''''Note :'' Il existe à présent l'extension officielle [http://extensions.services.openoffice.org/project/wikipublisher Wiki Publisher] pour OpenOffice (marche aussi avec LibreOffice), qui fait tout ça (et sans doute plus, et sans doute mieux).''<br/>
http://saga1212.001webs.com/buy-and-sell-tickets.html sell raptors tickets
+
Elle est, qui plus est, empaquetée dans Debian (paquet [https://packages.debian.org/sid/libreoffice-wiki-publisher libreoffice-wiki-publisher]).
http://saga1212.001webs.com/tickets-to-drayton-manor-theme-park.html theme park tickets through
+
 
http://saga1212.001webs.com/chocolate-dream-pie-recipe.html chocolate fondue sauce recipe
+
 
http://saga1212.001webs.com/reading-skill-books.html must read books of 2007
+
Ayant besoin de convertir des documents OpenOffice en code MediaWiki, j'ai adapté une feuille de transformation XSLT pour UniWakka (http://uniwakka.sourceforge.net/OpenOffice2UniWakka).
http://saga1212.001webs.com/adult-dress-up-party-themes.html adult education art classes
+
 
http://saga1212.001webs.com/day-forecast-new-york-weather.html weather forecast for saturday
+
Pour l'instant, elle supporte :
http://saga1212.001webs.com/free-modern-audio-books.html ringworld audio book
+
:* les niveaux de titre 1 à 8
http://saga1212.001webs.com/buying-used-cars-guide.html firebird used cars
+
:* le soulignement
http://saga1212.001webs.com/hair-cut-trends-2008.html hair cuts and layers
+
:* l'italique
http://saga1212.001webs.com/adepetun-caxton-martins-agbor-segun.html adesa auto auction mira loma
+
:* le gras
http://saga1212.001webs.com/free-fantasy-e-books.html play book worm for free
+
:* le centrage
http://saga1212.001webs.com/adam-lamberg-lizzie-mcguire.html adam paranoia zombie blood lyrics
+
:* les tableaux
http://saga1212.001webs.com/albuquerque-hotels-close-to.html albuquerque journal article
+
:* les images (génération d'un fichier image connexe). '''Aux dernières nouvelles, ceci ne fonctionne qu'avec les machines virtuelles Java de Sun et d'IBM.'''
http://saga1212.001webs.com/alter-table-add-column-command.html alter table add column date
+
 
http://saga1212.001webs.com/chicken-salpicao-recipe.html chicken saltimbocca recipes
+
Merci à Yann Coupin pour les deux derniers points (voir la [[{{TALKPAGENAME}}|page de discussion]]).
http://saga1212.001webs.com/travel-plan-targets.html destination travel health plans
+
 
http://saga1212.001webs.com/sun-star-news-paper.html star newspaper brisbane
+
Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.
http://saga1212.001webs.com/body-hair-removal-for-men-in.html body hair removal treatment
+
 
http://saga1212.001webs.com/american-family-insurance-address.html american family insurance claims
+
* '''Téléchargement : [http://mouchevii.free.fr/fichiers/OpenOffice2MediaWiki/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz]'''
http://saga1212.001webs.com/amanah-saham-national-berhad.html amanda bynes channing tatum
+
 
http://saga1212.001webs.com/alternative-investment-markets.html alternative investment software
+
* '''[[/Historique des versions/]]'''
http://saga1212.001webs.com/anger-management-group-therapy.html anger management statistics
+
 
http://saga1212.001webs.com/aeropuerto-internacional-juan-santamaria.html aeropuerto jose maria cordova
+
== Installation et utilisation ==
http://saga1212.001webs.com/long-curly-hairstyle.html long curly hairstyle
+
 
http://saga1212.001webs.com/corned-beef-and-cabage-recipe.html corned beef and cabbage soup recipe
+
Pour l'installer, lancer OpenOffice, puis naviguer dans les menus '''Outils''' → '''Paramétrage du filtre XML''' → '''Nouveau''', puis remplir les champs comme suit :
http://saga1212.001webs.com/apartments-in-holly-michigan.html apartments in houston heights
+
 
http://saga1212.001webs.com/after-vitreoretinal-surgery.html afterburner megaexo crankset
+
:* '''Nom du filtre''' : ''MediaWiki''
http://saga1212.001webs.com/african-calendar-with-public-holidays.html african cassava mosaic virus
+
:* '''Application''' : ''OpenOffice.org Writer (.sxw)''
http://saga1212.001webs.com/american-shuffleboard-tables.html american sign language chart
+
:* '''Nom du type de fichier''' : ''MediaWiki''
http://saga1212.001webs.com/arrangements-londonderry-nh.html array configuration utility
+
:* '''Extension de fichier''' : ''mw'' (ou ''txt'', comme vous préférez)
http://saga1212.001webs.com/american-international-school-rotterdam.html american international sports
+
 
http://saga1212.001webs.com/accessdata-password-recovery.html accessdatasource insert command
+
Dans l'onglet ''Transformation'', en face de '''XSLT pour export''', indiquez le chemin du fichier ''OOo2MediaWiki.xslt''.
http://saga1212.001webs.com/anchor-bible-dictionary-free.html anchor bible reference library
+
 
http://saga1212.001webs.com/home-health-aide-plan-of.html health plan lifewise
+
Pour convertir un fichier : '''Fichier''' → '''Exporter''', choisir le bon filtre, et c'est vendu.
http://saga1212.001webs.com/apartments-in-goodletsville-tn.html apartments in grand prairie
 
http://saga1212.001webs.com/abbigliamento-donna-premaman.html abbing reprographics burnaby
 
http://saga1212.001webs.com/american-vice-presidents-list.html american visionary arts museum
 
http://saga1212.001webs.com/best-chicken-taco-recipe.html easy taco soup recipe
 
http://saga1212.001webs.com/appareil-photo-numerique-benq.html appareil photo numerique discount
 
http://saga1212.001webs.com/accounts-payable-jobs-in-dallas.html accounts payable jobs toronto
 
http://saga1212.001webs.com/american-university-washington-dc.html american university zip code
 
http://saga1212.001webs.com/apartment-search-atlanta-georgia.html apartment search in maryland
 
http://saga1212.001webs.com/all-recipes-vegetarian.html low carb vegetarian recipe
 
http://saga1212.001webs.com/are-siberian-tigers-extinct.html are some leisure activities
 
http://saga1212.001webs.com/american-cake-decorating-magazine.html american cake decorating magazine
 
http://saga1212.001webs.com/all-i-want-is-what-you-got-lyrics.html all i want is you bryan adams
 
http://saga1212.001webs.com/cheap-orlando-tickets.html orlando florida tickets
 
http://saga1212.001webs.com/american-apitherapy-society.html american apperal whole sale
 
http://saga1212.001webs.com/augusta-home-builders.html home builders richmond va
 
http://saga1212.001webs.com/used-custom-motorcycles-for-sale.html used motorcycle finder
 

Version actuelle datée du 10 novembre 2016 à 22:22


Note : Il existe à présent l'extension officielle Wiki Publisher pour OpenOffice (marche aussi avec LibreOffice), qui fait tout ça (et sans doute plus, et sans doute mieux).
Elle est, qui plus est, empaquetée dans Debian (paquet libreoffice-wiki-publisher).


Ayant besoin de convertir des documents OpenOffice en code MediaWiki, j'ai adapté une feuille de transformation XSLT pour UniWakka (http://uniwakka.sourceforge.net/OpenOffice2UniWakka).

Pour l'instant, elle supporte :

  • les niveaux de titre 1 à 8
  • le soulignement
  • l'italique
  • le gras
  • le centrage
  • les tableaux
  • les images (génération d'un fichier image connexe). Aux dernières nouvelles, ceci ne fonctionne qu'avec les machines virtuelles Java de Sun et d'IBM.

Merci à Yann Coupin pour les deux derniers points (voir la page de discussion).

Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.

Installation et utilisation

Pour l'installer, lancer OpenOffice, puis naviguer dans les menus OutilsParamétrage du filtre XMLNouveau, puis remplir les champs comme suit :

  • Nom du filtre : MediaWiki
  • Application : OpenOffice.org Writer (.sxw)
  • Nom du type de fichier : MediaWiki
  • Extension de fichier : mw (ou txt, comme vous préférez)

Dans l'onglet Transformation, en face de XSLT pour export, indiquez le chemin du fichier OOo2MediaWiki.xslt.

Pour convertir un fichier : FichierExporter, choisir le bon filtre, et c'est vendu.