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

De La Mouche VII
Aller à la navigationAller à la recherche
(msfmuyEsEG)
(note l'existance de Wiki Publisher)
 
(41 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
comment1
+
[[Catégorie:MediaWiki]]
http://hiiutkn.blackapplehost.com/used-boats-for-sale-in-washington.html used rosborough boat
+
 
http://hiiutkn.blackapplehost.com/apache-web-server-reverse-proxy.html apache ws commons schema xmlschema
+
'''''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://hiiutkn.blackapplehost.com/katadin-water-filters.html a water filter at home
+
Elle est, qui plus est, empaquetée dans Debian (paquet [https://packages.debian.org/sid/libreoffice-wiki-publisher libreoffice-wiki-publisher]).
http://hiiutkn.blackapplehost.com/all-inclusive-dominican-republic.html all inclusive easter holiday
+
 
http://hiiutkn.blackapplehost.com/homedics-massager-paq-30h.html homedics shiatzu massager
+
 
http://hiiutkn.blackapplehost.com/healthy-onion-rings-recipe.html healthy peach recipe
+
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://hiiutkn.blackapplehost.com/kindal-book-reader.html the most difficult book to read
+
 
http://hiiutkn.blackapplehost.com/apartments-in-athens-greece.html apartments in ballwin missouri
+
Pour l'instant, elle supporte :
http://hiiutkn.blackapplehost.com/american-red-cross-life-guard-training.html american red cross lifeguards
+
:* les niveaux de titre 1 à 8
http://hiiutkn.blackapplehost.com/animated-butterfly-pictures.html animated cell phone wallpaper
+
:* le soulignement
http://hiiutkn.blackapplehost.com/free-healthy-eating-plan.html anthem health plan
+
:* l'italique
http://hiiutkn.blackapplehost.com/american-classified-colorado.html american classifieds evansville
+
:* le gras
http://hiiutkn.blackapplehost.com/united-states-postal-service-postage-rates.html united states post office overnight
+
:* le centrage
http://hiiutkn.blackapplehost.com/anglo-saxons-invade-england.html anglu kalbos kursai klaipedoje
+
:* les tableaux
http://hiiutkn.blackapplehost.com/free-dumb-blonde-jokes.html funny dumb blonde jokes
+
:* 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://hiiutkn.blackapplehost.com/adams-county-wisconsin-news.html adams farm greensboro north carolina
+
 
http://hiiutkn.blackapplehost.com/japanese-home-decorations.html log home decorating ideas
+
Merci à Yann Coupin pour les deux derniers points (voir la [[{{TALKPAGENAME}}|page de discussion]]).
http://hiiutkn.blackapplehost.com/apuntes-trabajos-monografias.html aqa biology past exam papers
+
 
http://hiiutkn.blackapplehost.com/china-train-tickets-online.html online cine tickets
+
Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.
http://hiiutkn.blackapplehost.com/vegetarian-soul-food-recipes.html vegetarian stirfry recipe
+
 
http://hiiutkn.blackapplehost.com/home-improvements-knoxville-tn.html home improvements rochester ny
+
* '''Téléchargement : [http://mouchevii.free.fr/fichiers/OpenOffice2MediaWiki/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz]'''
http://hiiutkn.blackapplehost.com/accomodation-waterford-ireland.html accomodation western australia
+
 
http://hiiutkn.blackapplehost.com/african-american-female-models.html african american fiction books online
+
* '''[[/Historique des versions/]]'''
http://hiiutkn.blackapplehost.com/advertising-market-research.html advertising marketing public relations
+
 
http://hiiutkn.blackapplehost.com/homemade-eggnog-recipe.html japanese egg custard recipe
+
== Installation et utilisation ==
http://hiiutkn.blackapplehost.com/manatee-choice-health-plan.html kestone health plan east
+
 
http://hiiutkn.blackapplehost.com/gag-gift-ideas-for-50th-birthday.html gift ideas for a new mom
+
Pour l'installer, lancer OpenOffice, puis naviguer dans les menus '''Outils''' → '''Paramétrage du filtre XML''' → '''Nouveau''', puis remplir les champs comme suit :
http://hiiutkn.blackapplehost.com/adobe-acrobat-standard-upgrade.html adobe affter effects plugins
+
 
http://hiiutkn.blackapplehost.com/cake-mix-cupcake-recipe.html cake recipe filipino style
+
:* '''Nom du filtre''' : ''MediaWiki''
http://hiiutkn.blackapplehost.com/stebbings-used-car-centre.html goebels used cars ocala fl
+
:* '''Application''' : ''OpenOffice.org Writer (.sxw)''
http://hiiutkn.blackapplehost.com/hawaii-beach-vacations.html panama beach vacations
+
:* '''Nom du type de fichier''' : ''MediaWiki''
http://hiiutkn.blackapplehost.com/arthritis-ayurvedic-medicine.html arthritis foundation canada
+
:* '''Extension de fichier''' : ''mw'' (ou ''txt'', comme vous préférez)
http://hiiutkn.blackapplehost.com/airlines-seattle-tacoma-airport.html airlines serving south america
+
 
http://hiiutkn.blackapplehost.com/buy-world-series-tickets-online.html buy tickets online the
+
Dans l'onglet ''Transformation'', en face de '''XSLT pour export''', indiquez le chemin du fichier ''OOo2MediaWiki.xslt''.
http://hiiutkn.blackapplehost.com/aircraft-maintenance-engineering-delhi.html aircraft maintenance manual
+
 
http://hiiutkn.blackapplehost.com/amy-vanderbilt-wedding-etiquette.html amy whinehouse skin disease
+
Pour convertir un fichier : '''Fichier''' → '''Exporter''', choisir le bon filtre, et c'est vendu.
http://hiiutkn.blackapplehost.com/albin-polasek-museum-sculpture-gardens.html albino black sheep flashback
 
http://hiiutkn.blackapplehost.com/chicken-claypot-rice-recipe.html chicken cordon blu recipes
 
http://hiiutkn.blackapplehost.com/from-the-bamboo-grove-online-book.html old telephone books online
 
http://hiiutkn.blackapplehost.com/patterns-depression-glass.html ruby red depression glass
 
http://hiiutkn.blackapplehost.com/how-to-buy-stun-gun.html how to checker gun stocks
 
http://hiiutkn.blackapplehost.com/jobs-new-york-new-york.html new york city jobs
 
http://hiiutkn.blackapplehost.com/american-high-school-london.html american high school yearbooks
 
http://hiiutkn.blackapplehost.com/used-bmw-325i-for-sale.html used bmw z 4
 
http://hiiutkn.blackapplehost.com/used-bayliner-trophy-boats.html used saltwater fishing boats
 
http://hiiutkn.blackapplehost.com/applicationcontext-xml-property.html applications development tools
 
http://hiiutkn.blackapplehost.com/greyhound-canada-jobs.html peoplesoft jobs in canada
 
http://hiiutkn.blackapplehost.com/original-bachelorette-party-ideas.html bachelorette party games idea
 
http://hiiutkn.blackapplehost.com/american-medical-response-new-york.html american medical sciences center
 
http://hiiutkn.blackapplehost.com/alexander-devoes-phat-ass-white.html alexander east believe in me
 
http://hiiutkn.blackapplehost.com/americus-sumter-county-parks.html ameriflex flexible spending account
 
http://hiiutkn.blackapplehost.com/recipe-for-chocolate-eggs.html recipe for chocolate ganash
 

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.