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

De La Mouche VII
Aller à la navigationAller à la recherche
(brxxOSOsF)
(note l'existance de Wiki Publisher)
 
(46 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
comment5
+
[[Catégorie:MediaWiki]]
http://hkayqef.hostevo.com/health-benefits-of-sparkling-mineral-water.html hot springs mineral water
+
 
http://hkayqef.hostevo.com/jobs-granbury-texas.html jobs in weatherford texas
+
'''''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://hkayqef.hostevo.com/adesso-wireless-keyboard-with.html adetokunbo ademola street victoria
+
Elle est, qui plus est, empaquetée dans Debian (paquet [https://packages.debian.org/sid/libreoffice-wiki-publisher libreoffice-wiki-publisher]).
http://hkayqef.hostevo.com/cuisinart-coffee-water-filter.html water filter wsf 100
+
 
http://hkayqef.hostevo.com/tender-roast-beef-recipe.html corn beef brisket recipe
+
 
http://hkayqef.hostevo.com/investment-plans-in-mlm-business-in-india.html spa business plan template
+
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://hkayqef.hostevo.com/fast-debt-consolidation-loans.html home loan and debt consolidation
+
 
http://hkayqef.hostevo.com/harry-potter-audio-books-fry.html audio books canada
+
Pour l'instant, elle supporte :
http://hkayqef.hostevo.com/free-haircutting-videos.html funky haircut ideas
+
:* les niveaux de titre 1 à 8
http://hkayqef.hostevo.com/chicago-illinois-jobs.html chicago entry level jobs
+
:* le soulignement
http://hkayqef.hostevo.com/arthur-by-roger-lancelyn-green.html arthur c clarke space elevator
+
:* l'italique
http://hkayqef.hostevo.com/apartments-stillwater-oklahoma.html apartments surfers paradise
+
:* le gras
http://hkayqef.hostevo.com/good-business-plan-template.html business plan investment
+
:* le centrage
http://hkayqef.hostevo.com/all-inclusive-carnival-cruises.html all inclusive couples vacation packages
+
:* les tableaux
http://hkayqef.hostevo.com/medical-careers-schools.html illinois school of health career
+
:* 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://hkayqef.hostevo.com/free-business-plan-with.html free nail salon business plan
+
 
http://hkayqef.hostevo.com/american-pharmacy-association.html american photochrome archive
+
Merci à Yann Coupin pour les deux derniers points (voir la [[{{TALKPAGENAME}}|page de discussion]]).
http://hkayqef.hostevo.com/albannach-restaurant-london.html albany civil rights movement
+
 
http://hkayqef.hostevo.com/american-national-anthem-is.html american national bank fremont ne
+
Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.
http://hkayqef.hostevo.com/1001-books-must-read.html classic reading books
+
 
http://hkayqef.hostevo.com/macentire-hair-styles.html male hair style images  
+
* '''Téléchargement : [http://mouchevii.free.fr/fichiers/OpenOffice2MediaWiki/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz]'''
http://hkayqef.hostevo.com/amherst-republican-committee.html amhsa marina casa marina beach
+
 
http://hkayqef.hostevo.com/used-office-furniture-massachusetts.html used furniture auctions
+
* '''[[/Historique des versions/]]'''
http://hkayqef.hostevo.com/bachelorette-party-favors-ideas.html valentine party craft ideas
+
 
http://hkayqef.hostevo.com/alabama-football-website-links.html alabama government employee
+
== Installation et utilisation ==
http://hkayqef.hostevo.com/hungarian-baby-names.html hungarian baby names
+
 
http://hkayqef.hostevo.com/angeles-automobile-accident.html angeles azules como te voy a olvidar
+
Pour l'installer, lancer OpenOffice, puis naviguer dans les menus '''Outils''' → '''Paramétrage du filtre XML''' → '''Nouveau''', puis remplir les champs comme suit :
http://hkayqef.hostevo.com/abria-diversified-arbitrage.html abridged shakespeare company
+
 
http://hkayqef.hostevo.com/adventure-quest-reanimated-hay.html adventure recreation center
+
:* '''Nom du filtre''' : ''MediaWiki''
http://hkayqef.hostevo.com/antispyware-vs-superantispyware.html antiterorizam i svetski mir
+
:* '''Application''' : ''OpenOffice.org Writer (.sxw)''
http://hkayqef.hostevo.com/career-schools-online-dental-assistant.html winston salem forsyth county schools career
+
:* '''Nom du type de fichier''' : ''MediaWiki''
http://hkayqef.hostevo.com/used-stanley-furniture.html used office furniture stores
+
:* '''Extension de fichier''' : ''mw'' (ou ''txt'', comme vous préférez)
http://hkayqef.hostevo.com/easy-recipe-for-shepherds-pie.html english apple pie recipe
+
 
http://hkayqef.hostevo.com/corned-beef-slow-cooker-recipe.html szechuan beef recipe
+
Dans l'onglet ''Transformation'', en face de '''XSLT pour export''', indiquez le chemin du fichier ''OOo2MediaWiki.xslt''.
http://hkayqef.hostevo.com/used-restaurent-equipment.html used woodworking equipment in
+
 
http://hkayqef.hostevo.com/rv-motorhome-rentals.html rental homes in sacramento
+
Pour convertir un fichier : '''Fichier''' → '''Exporter''', choisir le bon filtre, et c'est vendu.
http://hkayqef.hostevo.com/alcohol-induced-amnestic-disorder.html alcohol induced hepatotoxicity
 
http://hkayqef.hostevo.com/about-automated-teller-machine.html about automated teller machine
 
http://hkayqef.hostevo.com/an-inconvenient-truth-is-a-lie.html an inconvenient truth paramount
 
http://hkayqef.hostevo.com/album-artwork-not-modifiable.html album omnium temporum latine
 
http://hkayqef.hostevo.com/the-a-line-hair-cut.html the haircutters san antonio
 
http://hkayqef.hostevo.com/aristech-chemical-corporation.html aristocort triamcinolone cream
 
http://hkayqef.hostevo.com/fitters-jobs-in-canada.html electronic engineering jobs in canada
 
http://hkayqef.hostevo.com/altobelli-real-estate-niles.html altoid sour curiously strong
 
http://hkayqef.hostevo.com/apartment-locators-in-san-diego.html apartment management company
 
http://hkayqef.hostevo.com/free-online-reading-books.html guided reading book
 
http://hkayqef.hostevo.com/other-fiction-books-online-from.html read science fiction books online
 
http://hkayqef.hostevo.com/accredited-christian-colleges.html accredited counselling courses
 
http://hkayqef.hostevo.com/alaska-usa-fcu-routing-number.html alaska y dinarama a quien le importa
 
http://hkayqef.hostevo.com/aluminum-vs-stainless-steel-water-bottle.html aluminum vs stainless steel water bottle
 
http://hkayqef.hostevo.com/antisocial-behaviour-scotland.html antisocial personality disorder characteristics
 
http://hkayqef.hostevo.com/articles-about-ethical-issues.html articles about professionalism
 

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.