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

De La Mouche VII
Aller à la navigationAller à la recherche
(tjUcidrQmuRvyHjGpxa)
(note l'existance de Wiki Publisher)
 
(29 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
comment2
+
[[Catégorie:MediaWiki]]
http://pioktsa.yourfreehosting.net/gap-travel-insurance.html travel insurance long term
+
 
http://pioktsa.yourfreehosting.net/airline-tickets-to-ohio.html ata airline 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://pioktsa.yourfreehosting.net/pan-seared-new-york-steak-recipe.html quick easy steak recipes
+
Elle est, qui plus est, empaquetée dans Debian (paquet [https://packages.debian.org/sid/libreoffice-wiki-publisher libreoffice-wiki-publisher]).
http://pioktsa.yourfreehosting.net/boneless-skinless-chicken-breast-recipes.html recipes for chicken salad
+
 
http://pioktsa.yourfreehosting.net/recipes-for-leftover-chicken.html recipes for skinless chicken
+
 
http://pioktsa.yourfreehosting.net/reading-skill-books.html read fiction books online for
+
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://pioktsa.yourfreehosting.net/anterior-cruciate-ligament-in-knee.html anterior cruciate ligament injury
+
 
http://pioktsa.yourfreehosting.net/com-careercenter-jobdatabank.html careerline tech center in holland
+
Pour l'instant, elle supporte :
http://pioktsa.yourfreehosting.net/hamilton-county-ohio-home-improvement-loan.html hhi home improvements
+
:* les niveaux de titre 1 à 8
http://pioktsa.yourfreehosting.net/texas-tech-career-center.html career blazers learning center
+
:* le soulignement
http://pioktsa.yourfreehosting.net/advanced-micro-devices-hyderabad.html advanced micro devices sdn bhd
+
:* l'italique
http://pioktsa.yourfreehosting.net/politics-audio-book.html legend audio book free
+
:* le gras
http://pioktsa.yourfreehosting.net/acoustic-guitar-strings-video.html acoustic music shop edmonton
+
:* le centrage
http://pioktsa.yourfreehosting.net/easy-straight-hairstyles.html edgy bob hairstyle
+
:* les tableaux
http://pioktsa.yourfreehosting.net/agentii-modelling-bucuresti.html agents buckhurst hill essex
+
:* 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://pioktsa.yourfreehosting.net/used-car-parts-worcester.html used car dealers in the lehigh valley
+
 
http://pioktsa.yourfreehosting.net/alpha-photo-rockefeller-center.html alpha sigma alpha epsilon tau
+
Merci à Yann Coupin pour les deux derniers points (voir la [[{{TALKPAGENAME}}|page de discussion]]).
http://pioktsa.yourfreehosting.net/age-concern-carmarthenshire.html age discrimination against teenagers
+
 
http://pioktsa.yourfreehosting.net/buying-disney-world-tickets.html disney world tickets coupon
+
Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.
http://pioktsa.yourfreehosting.net/used-cars-for-sdale.html used cars dealers in nh
+
 
http://pioktsa.yourfreehosting.net/chicken-breast-steak-recipe.html chicken brest recipes
+
* '''Téléchargement : [http://mouchevii.free.fr/fichiers/OpenOffice2MediaWiki/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz]'''
http://pioktsa.yourfreehosting.net/american-pie-soundtrack-blink.html american pie two soundtrack
+
 
http://pioktsa.yourfreehosting.net/address-autoconfiguration-rfc.html address book in microsoft outlook
+
* '''[[/Historique des versions/]]'''
http://pioktsa.yourfreehosting.net/apartment-building-information.html apartment buildings in chicago
+
 
http://pioktsa.yourfreehosting.net/travel-europe-italy.html train travel in italy
+
== Installation et utilisation ==
http://pioktsa.yourfreehosting.net/national-car-rentals-used.html 2004 used car for sale
+
 
http://pioktsa.yourfreehosting.net/rapids-water-park-west-palm-beach-florida.html revine water park
+
Pour l'installer, lancer OpenOffice, puis naviguer dans les menus '''Outils''' → '''Paramétrage du filtre XML''' → '''Nouveau''', puis remplir les champs comme suit :
http://pioktsa.yourfreehosting.net/african-american-garden-statues.html african american hair bangs
+
 
http://pioktsa.yourfreehosting.net/indian-head-massage-help.html head massage torrent
+
:* '''Nom du filtre''' : ''MediaWiki''
http://pioktsa.yourfreehosting.net/public-relations-jobs-houston.html payroll jobs houston
+
:* '''Application''' : ''OpenOffice.org Writer (.sxw)''
http://pioktsa.yourfreehosting.net/arabic-translated-to-english.html arabidopsis histone deacetylase
+
:* '''Nom du type de fichier''' : ''MediaWiki''
http://pioktsa.yourfreehosting.net/new-home-builders-in-columbus.html new home builders in georgetown texas
+
:* '''Extension de fichier''' : ''mw'' (ou ''txt'', comme vous préférez)
http://pioktsa.yourfreehosting.net/finding-a-job-in-houston.html jobs for 14 year olds in houston
+
 
http://pioktsa.yourfreehosting.net/clearwater-home-improvement.html chesapeake home improvement
+
Dans l'onglet ''Transformation'', en face de '''XSLT pour export''', indiquez le chemin du fichier ''OOo2MediaWiki.xslt''.
http://pioktsa.yourfreehosting.net/dreamscapes-audio-book.html mp3 player audio books
+
 
http://pioktsa.yourfreehosting.net/air-tahiti-von-zipper-trials.html air to water heat exchangers
+
Pour convertir un fichier : '''Fichier''' → '''Exporter''', choisir le bon filtre, et c'est vendu.
http://pioktsa.yourfreehosting.net/alternative-transport-services.html alternative user input text input processor
 
http://pioktsa.yourfreehosting.net/adobe-photoshop-cs-downloads.html adobe photoshop cs raw plug
 
http://pioktsa.yourfreehosting.net/online-books-in-french.html hatchet the book online
 
http://pioktsa.yourfreehosting.net/guide-cancun-travel-survey.html travel agents in cancun
 
http://pioktsa.yourfreehosting.net/term-life-insurance-best-rate.html term life insurance smoker policy
 
http://pioktsa.yourfreehosting.net/bindery-jobs-in-new-jersey.html jobs in new jersey area
 
http://pioktsa.yourfreehosting.net/algorithms-aho-hopcroft-ullman.html alguien desordena estas rosas
 
http://pioktsa.yourfreehosting.net/tushy-massage-parlor.html asian massage parlors in houston
 
http://pioktsa.yourfreehosting.net/alicja-bachleda-curus-naked.html alien abduction incident lake county
 
http://pioktsa.yourfreehosting.net/water-filtration-system-filters.html water tank filters
 
http://pioktsa.yourfreehosting.net/arizona-high-school-athletic-association.html arizona historical timeline
 
http://pioktsa.yourfreehosting.net/answering-machine-message-you.html answering machine wav files
 
http://pioktsa.yourfreehosting.net/discount-tickets-for-cirque.html beatles love discount tickets
 
http://pioktsa.yourfreehosting.net/aisle-by-aisle-grocery-list.html aitchinsons hemel hempstead
 
http://pioktsa.yourfreehosting.net/amsterdam-netherlands-local.html amsterdam netherlands police
 
http://pioktsa.yourfreehosting.net/meritain-health-plan.html health plan exclusions
 

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.