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

De La Mouche VII
Aller à la navigationAller à la recherche
(KoinMyRkKhbF)
(note l'existance de Wiki Publisher)
 
(42 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
comment3
+
[[Catégorie:MediaWiki]]
http://ieuqgmg.blackapplehost.com/airline-tickets-to-dubai.html seoul airline tickets
+
 
http://ieuqgmg.blackapplehost.com/sell-audio-books-on.html best seller books of 2008
+
'''''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://ieuqgmg.blackapplehost.com/annuaire-telephonique-tunisie.html annual conference proceedings
+
Elle est, qui plus est, empaquetée dans Debian (paquet [https://packages.debian.org/sid/libreoffice-wiki-publisher libreoffice-wiki-publisher]).
http://ieuqgmg.blackapplehost.com/aquecimento-global-no-brasil.html aqueous pigment dispersions
+
 
http://ieuqgmg.blackapplehost.com/discounts-on-plane-tickets.html cheap airplane tickets online
+
 
http://ieuqgmg.blackapplehost.com/national-holiday-travel.html north american holiday travel reward
+
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://ieuqgmg.blackapplehost.com/apartments-near-boston-university.html apartments near georgia perimeter college
+
 
http://ieuqgmg.blackapplehost.com/antique-electronic-equipment.html antique engagement ring designs
+
Pour l'instant, elle supporte :
http://ieuqgmg.blackapplehost.com/advanced-body-care-solutions.html advanced business english course
+
:* les niveaux de titre 1 à 8
http://ieuqgmg.blackapplehost.com/5-day-weather-forecast-for-maldives.html york city five day weather forecast
+
:* le soulignement
http://ieuqgmg.blackapplehost.com/alojamento-serra-da-estrela.html alojamientos para estudiantes en  
+
:* l'italique
http://ieuqgmg.blackapplehost.com/best-used-car-you-can.html best used car company
+
:* le gras
http://ieuqgmg.blackapplehost.com/home-improvements-kitchen.html fha home improvement loans
+
:* le centrage
http://ieuqgmg.blackapplehost.com/american-founders-bank-frankfort.html american freedom toy hauler
+
:* les tableaux
http://ieuqgmg.blackapplehost.com/adonnays-classical-weaponry.html adopcion en parejas homosexuales
+
:* 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://ieuqgmg.blackapplehost.com/cleburne-tx-water-park.html cocokey water park in
+
 
http://ieuqgmg.blackapplehost.com/applebees-menu-nutrition-information.html applebees menu nutritional info
+
Merci à Yann Coupin pour les deux derniers points (voir la [[{{TALKPAGENAME}}|page de discussion]]).
http://ieuqgmg.blackapplehost.com/wheat-free-carrot-cake-recipe.html white butter cake recipe
+
 
http://ieuqgmg.blackapplehost.com/anna-maria-gulf-coast-rentals.html anna maria island gulf coast rentals
+
Il reste des éléments de conversion propres à UniWakka, qui disparaitront (peut-être) au fur et à mesure de mes besoins.
http://ieuqgmg.blackapplehost.com/aerofit-fitness-equipment.html fitness equipment stores in canada
+
 
http://ieuqgmg.blackapplehost.com/buy-a-used-car-can.html vancouver island used car
+
* '''Téléchargement : [http://mouchevii.free.fr/fichiers/OpenOffice2MediaWiki/OOo2MediaWiki.xslt.gz OOo2MediaWiki.xslt.gz]'''
http://ieuqgmg.blackapplehost.com/agricultural-machines-in-india.html agricultural marketing research
+
 
http://ieuqgmg.blackapplehost.com/daily-news-newspaper-new-york.html daily news australia
+
* '''[[/Historique des versions/]]'''
http://ieuqgmg.blackapplehost.com/recipe-of-cupcakes.html recipes for almond cake
+
 
http://ieuqgmg.blackapplehost.com/all-music-guide-book.html book thief discussion guide
+
== Installation et utilisation ==
http://ieuqgmg.blackapplehost.com/good-business-plan-template.html salon business plans
+
 
http://ieuqgmg.blackapplehost.com/home-improvement-kirkland.html home improvement littleton
+
Pour l'installer, lancer OpenOffice, puis naviguer dans les menus '''Outils''' → '''Paramétrage du filtre XML''' → '''Nouveau''', puis remplir les champs comme suit :
http://ieuqgmg.blackapplehost.com/used-cars-westchester.html used golf car values
+
 
http://ieuqgmg.blackapplehost.com/anywhere-but-here-lyrics-hilary.html anywhere you go i ll follow you down lyrics
+
:* '''Nom du filtre''' : ''MediaWiki''
http://ieuqgmg.blackapplehost.com/adolescent-substance-abuse-treatment.html adolescents with depression
+
:* '''Application''' : ''OpenOffice.org Writer (.sxw)''
http://ieuqgmg.blackapplehost.com/absolve-caricature-clangor-contiguous.html absorbance to concentration
+
:* '''Nom du type de fichier''' : ''MediaWiki''
http://ieuqgmg.blackapplehost.com/acheter-calculatrices-graphiques.html acheter camescope numerique
+
:* '''Extension de fichier''' : ''mw'' (ou ''txt'', comme vous préférez)
http://ieuqgmg.blackapplehost.com/best-for-travel-insurance.html annual travel insurance from
+
 
http://ieuqgmg.blackapplehost.com/art-galleries-in-laguna-beach-ca.html art gallery in laguna beach
+
Dans l'onglet ''Transformation'', en face de '''XSLT pour export''', indiquez le chemin du fichier ''OOo2MediaWiki.xslt''.
http://ieuqgmg.blackapplehost.com/nursingcenter-com-careercenter.html automotive career development center
+
 
http://ieuqgmg.blackapplehost.com/hot-jobs-in-new-york.html jobs in white plains new york
+
Pour convertir un fichier : '''Fichier''' → '''Exporter''', choisir le bon filtre, et c'est vendu.
http://ieuqgmg.blackapplehost.com/alfred-tennyson-morte-d-arthur.html alfred university transcript
 
http://ieuqgmg.blackapplehost.com/apartments-in-bonita-springs-florida.html apartments in brantford ontario
 
http://ieuqgmg.blackapplehost.com/bad-credit-used-car-auto-loan.html atom ariel used car
 
http://ieuqgmg.blackapplehost.com/recipe-for-caramel-shortcake.html recipe for chocolate cherry cake
 
http://ieuqgmg.blackapplehost.com/your-free-bestselling-book.html book of shadows for free
 
http://ieuqgmg.blackapplehost.com/all-inclusive-carnival-cruises.html all inclusive carribean destinations
 
http://ieuqgmg.blackapplehost.com/al-jazeera-international-academy.html al mangham regional airport
 
http://ieuqgmg.blackapplehost.com/abercrombie-corporate-office.html abercrombie kids outlet store
 
http://ieuqgmg.blackapplehost.com/chocolate-chip-muffins-recipe.html chocolate chip muffins recipe
 
http://ieuqgmg.blackapplehost.com/aluminium-windows-manufacturer.html aluminium zirconium trichlorohydrex
 
http://ieuqgmg.blackapplehost.com/beach-vacation-package.html beach golf vacations
 
http://ieuqgmg.blackapplehost.com/alittle-less-sixteen-candles.html alittle less sixteen candles
 
http://ieuqgmg.blackapplehost.com/decorative-accessories-for-home.html distinctive home decor
 
http://ieuqgmg.blackapplehost.com/celine-dion-tickets-chicago.html free celine dion tickets
 
http://ieuqgmg.blackapplehost.com/ideas-for-wedding-party.html ideas for dinner party
 
http://ieuqgmg.blackapplehost.com/great-dessert-recipes-for.html healthy desserts recipes
 
http://ieuqgmg.blackapplehost.com/noahs-arc-water-park.html nrh20 water park north richland
 

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.