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

De La Mouche VII
Aller à la navigationAller à la recherche
(czIcWKKyWFYqFC)
(note l'existance de Wiki Publisher)
 
(48 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
comment2
+
[[Catégorie:MediaWiki]]
http://rbloqbq.blackapplehost.com/alices-restaurant-massacre.html alicia key superwoman lyrics
+
 
http://rbloqbq.blackapplehost.com/alter-database-recover-continue.html alter session set recyclebin
+
'''''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://rbloqbq.blackapplehost.com/abdulbasit-abdulsamad-mujawad.html abdullatif alissa automotive
+
Elle est, qui plus est, empaquetée dans Debian (paquet [https://packages.debian.org/sid/libreoffice-wiki-publisher libreoffice-wiki-publisher]).
http://rbloqbq.blackapplehost.com/salsa-salad-dressing-recipe.html souper salad gingerbread recipe
+
 
http://rbloqbq.blackapplehost.com/transcription-jobs-at-home.html typing jobs from home
+
 
http://rbloqbq.blackapplehost.com/acueductos-y-alcatarillados.html acuity healthcare management
+
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://rbloqbq.blackapplehost.com/military-plane-tickets.html cheapest airplane tickets
+
 
http://rbloqbq.blackapplehost.com/ansoft-designer-student-version.html ansonia high school connecticut
+
Pour l'instant, elle supporte :
http://rbloqbq.blackapplehost.com/american-heart-association-atherosclerosis.html american heart association bls recertification
+
:* les niveaux de titre 1 à 8
http://rbloqbq.blackapplehost.com/business-administration-degree-career.html sap business one career
+
:* le soulignement
http://rbloqbq.blackapplehost.com/employment-laws-in-california.html co employment laws
+
:* l'italique
http://rbloqbq.blackapplehost.com/2007-medium-hair-styles.html 2008 hair styles and colors
+
:* le gras
http://rbloqbq.blackapplehost.com/albert-king-born-under-a-bad-sign.html albert ludwigs universitat freiburg im breisgau
+
:* le centrage
http://rbloqbq.blackapplehost.com/birthday-gift-ideas-for-girlfriend.html wedding shower gift idea
+
:* les tableaux
http://rbloqbq.blackapplehost.com/coconut-shrimp-dipping-sauce-recipe.html american shrimp recipes
+
:* 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://rbloqbq.blackapplehost.com/hollywood-theatre-tickets.html theatre royal newcastle tickets
+
 
http://rbloqbq.blackapplehost.com/evans-peanut-butter-pie-recipe.html for peanut butter in recipes
+
Merci à Yann Coupin pour les deux derniers points (voir la [[{{TALKPAGENAME}}|page de discussion]]).
http://rbloqbq.blackapplehost.com/anaesthetists-in-management.html anagram dictionary scrabble
+
 
http://rbloqbq.blackapplehost.com/simple-carrot-cake-recipes.html simple coffee cake recipes
+
Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.
http://rbloqbq.blackapplehost.com/amnesty-international-media.html amnesty international media
+
 
http://rbloqbq.blackapplehost.com/baked-pork-recipes.html baked pototo recipe
+
* '''Téléchargement : [http://mouchevii.free.fr/fichiers/OpenOffice2MediaWiki/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz]'''
http://rbloqbq.blackapplehost.com/african-spurred-tortoise-care-sheet.html african studies graduate school
+
 
http://rbloqbq.blackapplehost.com/newspaper-article-on-aids.html virginia newspaper article
+
* '''[[/Historique des versions/]]'''
http://rbloqbq.blackapplehost.com/japan-used-mercedes.html used mercedes benz wheels
+
 
http://rbloqbq.blackapplehost.com/audio-book-in-french.html audio book in french
+
== Installation et utilisation ==
http://rbloqbq.blackapplehost.com/doggy-lama-pet-care.html dirty dog mobile pet grooming
+
 
http://rbloqbq.blackapplehost.com/customer-service-jobs-in-brandon.html customer service night jobs
+
Pour l'installer, lancer OpenOffice, puis naviguer dans les menus '''Outils''' → '''Paramétrage du filtre XML''' → '''Nouveau''', puis remplir les champs comme suit :
http://rbloqbq.blackapplehost.com/hair-styles-with-plaits.html hair stylest in the
+
 
http://rbloqbq.blackapplehost.com/hair-cuttery-raleigh.html hair cuttery styles
+
:* '''Nom du filtre''' : ''MediaWiki''
http://rbloqbq.blackapplehost.com/hair-style-magazine.html hair style magazines
+
:* '''Application''' : ''OpenOffice.org Writer (.sxw)''
http://rbloqbq.blackapplehost.com/artists-clinton-mississippi.html artlantis shaders collection
+
:* '''Nom du type de fichier''' : ''MediaWiki''
http://rbloqbq.blackapplehost.com/diethyl-pyrocarbonate-treated.html daily on low carb diet
+
:* '''Extension de fichier''' : ''mw'' (ou ''txt'', comme vous préférez)
http://rbloqbq.blackapplehost.com/american-declaration-human-rights.html american delux stratocaster hss
+
 
http://rbloqbq.blackapplehost.com/jello-applesauce-recipe.html recipes for toffee apples
+
Dans l'onglet ''Transformation'', en face de '''XSLT pour export''', indiquez le chemin du fichier ''OOo2MediaWiki.xslt''.
http://rbloqbq.blackapplehost.com/used-car-review-hyundai.html used caravans for sale south
+
 
http://rbloqbq.blackapplehost.com/curly-hair-styles-round.html curly hair styles tips
+
Pour convertir un fichier : '''Fichier''' → '''Exporter''', choisir le bon filtre, et c'est vendu.
http://rbloqbq.blackapplehost.com/america-burlington-washington.html america cell phone companies
 
http://rbloqbq.blackapplehost.com/arguments-against-subjectivism.html arguments against terrorism
 
http://rbloqbq.blackapplehost.com/affiliate-marketing-australia.html affiliate marketing membership
 
http://rbloqbq.blackapplehost.com/anzeigen-weiterer-ergebnisse-vonrss.html anzo usa projector headlights
 
http://rbloqbq.blackapplehost.com/buttermilk-and-recipe.html buttermilk cheese recipe
 
http://rbloqbq.blackapplehost.com/able-planet-headphones-review.html able planet noise canceling headphones
 
http://rbloqbq.blackapplehost.com/amin-khiluva-lle-a-gurtha-ar-thar.html aminco international usa inc
 
http://rbloqbq.blackapplehost.com/grand-rapids-home-builders-association.html home builders in richmond
 
http://rbloqbq.blackapplehost.com/annullamento-del-matrimonio.html annullamento matrimonio religioso
 
http://rbloqbq.blackapplehost.com/shrimp-noodle-recipe.html shrimp parmesan recipes
 
http://rbloqbq.blackapplehost.com/call-of-duty-4-cheat-codes-xbox360.html cheat codes for call of duty 4 on xbox
 
http://rbloqbq.blackapplehost.com/dayton-daily-news-brian.html daily news subscription services
 
http://rbloqbq.blackapplehost.com/hearty-chicken-soup-recipe.html hearty chicken soup recipe
 
http://rbloqbq.blackapplehost.com/fig-almond-cake-recipe.html flays crab cake recipe
 
http://rbloqbq.blackapplehost.com/alexandria-louisiana-government.html alexandria louisiana telephone
 
http://rbloqbq.blackapplehost.com/harry-pottor-puppet.html harry potter puppet pals on youtube
 
http://rbloqbq.blackapplehost.com/michael-buble-tickets.html michael buble tickets 02
 

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.