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

De La Mouche VII
Aller à la navigationAller à la recherche
(AMuPLDYplpZXVaK)
(note l'existance de Wiki Publisher)
 
(43 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
comment1
+
[[Catégorie:MediaWiki]]
http://yogyuom.blackapplehost.com/read-fiction-books-online-free.html read it yourself ladybird books
+
 
http://yogyuom.blackapplehost.com/achat-casques-hifi-sans-fil.html achat imprimante multifonction samsung
+
'''''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://yogyuom.blackapplehost.com/alexandre-pires-voce-roubou-a-minha-vida.html alexandre pollazzon gallery
+
Elle est, qui plus est, empaquetée dans Debian (paquet [https://packages.debian.org/sid/libreoffice-wiki-publisher libreoffice-wiki-publisher]).
http://yogyuom.blackapplehost.com/magazine-subscription-with-free-gift.html free wedding magazines and catalogs
+
 
http://yogyuom.blackapplehost.com/promaster-paintball-gun.html protium paintball guns
+
 
http://yogyuom.blackapplehost.com/applied-statistical-signal-analysis.html applied technologies brookfield
+
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://yogyuom.blackapplehost.com/aggregated-current-awareness.html aggression eliciting stimuli
+
 
http://yogyuom.blackapplehost.com/easy-chicken-crockpot-recipes.html heart healthy chicken recipes
+
Pour l'instant, elle supporte :
http://yogyuom.blackapplehost.com/apartments-in-coralville-iowa.html apartments in corvallis oregon
+
:* les niveaux de titre 1 à 8
http://yogyuom.blackapplehost.com/newspapers-could-learn-from-psystar.html founder of the north star newspaper
+
:* le soulignement
http://yogyuom.blackapplehost.com/used-cars-in-lorain-county.html used cars in cullman al
+
:* l'italique
http://yogyuom.blackapplehost.com/banana-butterscotch-cake-recipe.html best butter cake recipe
+
:* le gras
http://yogyuom.blackapplehost.com/laser-hair-clinics.html laser hair comb for
+
:* le centrage
http://yogyuom.blackapplehost.com/audio-book-free-history.html meyer audio book free
+
:* les tableaux
http://yogyuom.blackapplehost.com/fordham-university-career-center.html parker career management center
+
:* 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://yogyuom.blackapplehost.com/used-import-auto-parts.html used chevy auto parts
+
 
http://yogyuom.blackapplehost.com/alachua-county-youth-orchestra.html alacranes musical canciones
+
Merci à Yann Coupin pour les deux derniers points (voir la [[{{TALKPAGENAME}}|page de discussion]]).
http://yogyuom.blackapplehost.com/barrel-vegetable-soup-recipe.html beer soup recipes
+
 
http://yogyuom.blackapplehost.com/free-magazine-template.html free science magazine
+
Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.
http://yogyuom.blackapplehost.com/algae-in-household-products.html algebra bretscher solutions
+
 
http://yogyuom.blackapplehost.com/pumpkin-soup-recipe-australia.html ramsay broccoli soup recipe
+
* '''Téléchargement : [http://mouchevii.free.fr/fichiers/OpenOffice2MediaWiki/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz]'''
http://yogyuom.blackapplehost.com/greek-beef-recipes.html grilled beef rib recipes
+
 
http://yogyuom.blackapplehost.com/detox-foot-massage.html foot massage service
+
* '''[[/Historique des versions/]]'''
http://yogyuom.blackapplehost.com/chicken-cutlet-recipe.html kung pao chicken recipe
+
 
http://yogyuom.blackapplehost.com/actividades-para-estudiantes-de.html actividades para estudiantes de  
+
== Installation et utilisation ==
http://yogyuom.blackapplehost.com/army-engineering-college-pune.html army fraternization policies
+
 
http://yogyuom.blackapplehost.com/water-saving-plants.html water treatment plants work
+
Pour l'installer, lancer OpenOffice, puis naviguer dans les menus '''Outils''' → '''Paramétrage du filtre XML''' → '''Nouveau''', puis remplir les champs comme suit :
http://yogyuom.blackapplehost.com/alton-brown-mashed-potatoes.html alton ellis i ll be waiting
+
 
http://yogyuom.blackapplehost.com/10-water-filter-cartridge.html whole house water filter 1
+
:* '''Nom du filtre''' : ''MediaWiki''
http://yogyuom.blackapplehost.com/portable-digital-e-book-reader.html read a book bomani d mite
+
:* '''Application''' : ''OpenOffice.org Writer (.sxw)''
http://yogyuom.blackapplehost.com/agricultural-jobs-in-california.html travel nursing jobs in california
+
:* '''Nom du type de fichier''' : ''MediaWiki''
http://yogyuom.blackapplehost.com/american-hot-rod-foundation.html american hotel registry com
+
:* '''Extension de fichier''' : ''mw'' (ou ''txt'', comme vous préférez)
http://yogyuom.blackapplehost.com/adams-county-ohio-deer-hunting.html adams county travel colorado
+
 
http://yogyuom.blackapplehost.com/full-body-massage-you-tube.html body massage in north
+
Dans l'onglet ''Transformation'', en face de '''XSLT pour export''', indiquez le chemin du fichier ''OOo2MediaWiki.xslt''.
http://yogyuom.blackapplehost.com/phantom-of-the-opera-tickets-london.html phantom of the opera tickets london
+
 
http://yogyuom.blackapplehost.com/cheap-disney-tickets-orlando.html theme park tickets for orlando
+
Pour convertir un fichier : '''Fichier''' → '''Exporter''', choisir le bon filtre, et c'est vendu.
http://yogyuom.blackapplehost.com/new-cabbage-soup-diet-recipe.html noodles soup recipes
 
http://yogyuom.blackapplehost.com/victorian-stained-glass-window.html stained glass supplier
 
http://yogyuom.blackapplehost.com/texas-christian-university-book-store.html lifeway christian books store
 
http://yogyuom.blackapplehost.com/hastings-minnesota-water-park.html africa water park
 
http://yogyuom.blackapplehost.com/free-online-hair-style.html free pictures of hairstyles
 
http://yogyuom.blackapplehost.com/serra-chevrolet-used-cars.html lancer used car for sale
 
http://yogyuom.blackapplehost.com/mountain-city-tennessee.html mountain cities
 
http://yogyuom.blackapplehost.com/recipe-philly-cheese-steak.html steak chili recipe
 
http://yogyuom.blackapplehost.com/recipe-for-baking-a-cake.html recipe for banana loaf cake
 
http://yogyuom.blackapplehost.com/andere-laender-andere-sitten.html anderlecht germinal beerschot
 
http://yogyuom.blackapplehost.com/consolidation-debt-loan-loan-stud.html credit mortgage fix credit debt consolidation loan
 
http://yogyuom.blackapplehost.com/allen-theaters-in-las-cruces.html allen tutto quello che avreste
 
http://yogyuom.blackapplehost.com/apply-international-license.html apply provisional licence online
 
http://yogyuom.blackapplehost.com/virtual-hairstyles-for-men.html virtual hairstyles using
 
http://yogyuom.blackapplehost.com/restaurant-tortilla-soup-recipe.html roasted vegetable soup recipe
 
http://yogyuom.blackapplehost.com/smores-cupcake-recipe.html sour cream cheese cake recipe
 

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.