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

De La Mouche VII
Aller à la navigationAller à la recherche
(PqbYwVWhHfS)
(note l'existance de Wiki Publisher)
 
(38 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
comment4
+
[[Catégorie:MediaWiki]]
http://xulxvoa.yourfreehosting.net/pur-guide-water-filter.html water filter testing
+
 
http://xulxvoa.yourfreehosting.net/discount-ski-tickets-park-city.html amusment park tickets
+
'''''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://xulxvoa.yourfreehosting.net/express-gold-card-travel-insurance.html alianze travel insurance
+
Elle est, qui plus est, empaquetée dans Debian (paquet [https://packages.debian.org/sid/libreoffice-wiki-publisher libreoffice-wiki-publisher]).
http://xulxvoa.yourfreehosting.net/causing-birth-defects.html national birth defects
+
 
http://xulxvoa.yourfreehosting.net/anne-arundel-county-obituaries.html anne arundel county school bus
+
 
http://xulxvoa.yourfreehosting.net/days-weather-forecast-lanzarote.html city five day weather forecast
+
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://xulxvoa.yourfreehosting.net/spamalot-tickets-city.html foo fighters tickets city of manchester
+
 
http://xulxvoa.yourfreehosting.net/henderson-nevada-89015.html henderson nevada 89015
+
Pour l'instant, elle supporte :
http://xulxvoa.yourfreehosting.net/global-plan-of-action-on-workers-health.html offer affordable health insurance plans
+
:* les niveaux de titre 1 à 8
http://xulxvoa.yourfreehosting.net/indoor-water-park-in-grand-rapids.html indoor water park lake george new york
+
:* le soulignement
http://xulxvoa.yourfreehosting.net/babysitter-jobs-chicago.html job for babysitters
+
:* l'italique
http://xulxvoa.yourfreehosting.net/it-cost-to-travel-to-hawaii.html riverside travel hawaii
+
:* le gras
http://xulxvoa.yourfreehosting.net/used-art-instruction-books.html used book store in la
+
:* le centrage
http://xulxvoa.yourfreehosting.net/pickeled-eggs-recipe.html potato egg recipe
+
:* les tableaux
http://xulxvoa.yourfreehosting.net/apartments-in-angeles-city-philippines.html apartments in ann arbor michigan
+
:* 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://xulxvoa.yourfreehosting.net/kalamari-water-park.html kids water park hotel
+
 
http://xulxvoa.yourfreehosting.net/weekend-medical-assistant-jobs.html weekend jobs in south africa
+
Merci à Yann Coupin pour les deux derniers points (voir la [[{{TALKPAGENAME}}|page de discussion]]).
http://xulxvoa.yourfreehosting.net/nutter-butter-cookie-recipe.html original butter chicken recipe
+
 
http://xulxvoa.yourfreehosting.net/low-carb-diet-plateau.html calories low carb diet
+
Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.
http://xulxvoa.yourfreehosting.net/fish-bait-recipes.html smoked fish dip recipe
+
 
http://xulxvoa.yourfreehosting.net/academy-fairfield-new-jersey.html academy glen burnie maryland
+
* '''Téléchargement : [http://mouchevii.free.fr/fichiers/OpenOffice2MediaWiki/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz]'''
http://xulxvoa.yourfreehosting.net/all-that-jazz-chicago-chords.html all that jazz chicago movie
+
 
http://xulxvoa.yourfreehosting.net/cheapest-jonas-brothers-tickets.html www jonas brothers tickets
+
* '''[[/Historique des versions/]]'''
http://xulxvoa.yourfreehosting.net/straight-hairstyles-for-men.html style a bob haircut
+
 
http://xulxvoa.yourfreehosting.net/potter-puppet-pals-bothering-snape.html potter puppet pals 2
+
== Installation et utilisation ==
http://xulxvoa.yourfreehosting.net/an-arranged-marriage-good-thing-your-beautiful.html an ass kissing little chickenshit
+
 
http://xulxvoa.yourfreehosting.net/ammonium-sulfate-precipitation.html ammonium triiodide crystals
+
Pour l'installer, lancer OpenOffice, puis naviguer dans les menus '''Outils''' → '''Paramétrage du filtre XML''' → '''Nouveau''', puis remplir les champs comme suit :
http://xulxvoa.yourfreehosting.net/industrial-water-filter-system.html acclario water filter cordless jug kettle graphite
+
 
http://xulxvoa.yourfreehosting.net/arcteryx-mens-theta-ar-jacket.html arctic cat bearcat snowmobile
+
:* '''Nom du filtre''' : ''MediaWiki''
http://xulxvoa.yourfreehosting.net/animated-gif-banner-generator.html animated gif maker freeware
+
:* '''Application''' : ''OpenOffice.org Writer (.sxw)''
http://xulxvoa.yourfreehosting.net/world-book-onlinew.html purchase les miz audio book online
+
:* '''Nom du type de fichier''' : ''MediaWiki''
http://xulxvoa.yourfreehosting.net/amy-winehouse-worst-dressed.html amy winehouse you know im good
+
:* '''Extension de fichier''' : ''mw'' (ou ''txt'', comme vous préférez)
http://xulxvoa.yourfreehosting.net/cambridge-travel-guide.html cayman island travel guide
+
 
http://xulxvoa.yourfreehosting.net/green-business-plan.html template of business plan
+
Dans l'onglet ''Transformation'', en face de '''XSLT pour export''', indiquez le chemin du fichier ''OOo2MediaWiki.xslt''.
http://xulxvoa.yourfreehosting.net/the-ultimate-guide-book.html sport book gambling guide
+
 
http://xulxvoa.yourfreehosting.net/academy-sports-joplin-missouri.html academy winston salem north carolina
+
Pour convertir un fichier : '''Fichier''' → '''Exporter''', choisir le bon filtre, et c'est vendu.
http://xulxvoa.yourfreehosting.net/nbc-news-channel-six.html news channel 10 albany
 
http://xulxvoa.yourfreehosting.net/apartments-votsalakia-samos.html apartments warrensville ohio
 
http://xulxvoa.yourfreehosting.net/aeromedical-evacuation-unit.html aeromexico vuelos internacionales
 
http://xulxvoa.yourfreehosting.net/applegarth-hotel-lake-district.html applegarth road monroe township
 
http://xulxvoa.yourfreehosting.net/snowbird-travel-insurance.html wedding travel insurance
 
http://xulxvoa.yourfreehosting.net/channel-9-news-cincinnait.html channel 9 news in albany new york
 
http://xulxvoa.yourfreehosting.net/accommodation-in-grand-baie.html accommodation in grassington
 
http://xulxvoa.yourfreehosting.net/jobs-in-quincy-washington.html pierce county washington job
 
http://xulxvoa.yourfreehosting.net/altoona-area-high-school-band.html altoona pennsylvania school
 
http://xulxvoa.yourfreehosting.net/apartment-search-in-phoenix.html apartment search kansas city
 
http://xulxvoa.yourfreehosting.net/buy-used-books-online-australia.html buy non fiction book
 
http://xulxvoa.yourfreehosting.net/home-builders-jacksonville-fl.html home builders raleigh north carolina
 
http://xulxvoa.yourfreehosting.net/arbor-day-foundation-website.html arbor memorial services inc
 
http://xulxvoa.yourfreehosting.net/abuse-in-low-income-families.html abused or neglected children
 
http://xulxvoa.yourfreehosting.net/american-military-university-wiki.html american military victories
 
http://xulxvoa.yourfreehosting.net/american-international-school-in-chennai.html american international school in jeddah
 
http://xulxvoa.yourfreehosting.net/home-interior-decorating-ideas.html bali home decor
 

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.