Firefox/Meeting/Posting Notes: Difference between revisions
Jump to navigation
Jump to search
(search and replace) |
(Added step for selecting the file to upload) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
#* Use the mediawiki search and replace to replace <code><nowiki><span id="anchor-\d+"></span>(.*)$</nowiki></code> (turn on regular expression search) with <code>=== $1 ===</code> to handle the level 3 headings. | #* Use the mediawiki search and replace to replace <code><nowiki><span id="anchor-\d+"></span>(.*)$</nowiki></code> (turn on regular expression search) with <code>=== $1 ===</code> to handle the level 3 headings. | ||
# Add the link on [[Firefox/Meeting]] | # Add the link on [[Firefox/Meeting]] | ||
== Without installing software, using freefileconvert.com == | |||
# Go to [https://www.freefileconvert.com/odt-wiki FreeFileConvert] | |||
# Choose the File tab | |||
# Select the downloaded ODT file as the Input file | |||
# Choose the "wiki" output format | |||
# Click Convert | |||
# Click Download when the conversion is ready (be sure not to click on potentially misleading ads) | |||
== With pandoc == | == With pandoc == | ||
# Install [http://pandoc.org pandoc] | # Install [http://pandoc.org pandoc] | ||
#* macOS: <code>brew install pandoc</code> | #* macOS: <code>brew install pandoc</code> | ||
# <code><nowiki>curl "https://docs.google.com/document/d/1hM9bmIdIe0PeQEB4SbU7NG3m7MmjgLJjUB7Fzr7fGEU/export?format=odt" | pandoc --from odt --to mediawiki</nowiki></code> | # <code><nowiki>curl -L "https://docs.google.com/document/d/1hM9bmIdIe0PeQEB4SbU7NG3m7MmjgLJjUB7Fzr7fGEU/export?format=odt" | pandoc --from odt --to mediawiki</nowiki></code> | ||
== libreoffice-wiki-publisher == | == libreoffice-wiki-publisher == |
Latest revision as of 19:13, 7 September 2021
- Export as odt
- Convert to mediawiki using one of the options below
- Copy the output, excluding the intro and meeting leader list, to the wiki
- Add
==
around level 2 headings (General Topics / Roundtable, Friends of the Firefox team, Project Updates & This week I learned) - Use the mediawiki search and replace to replace
<span id="anchor-\d+"></span>(.*)$
(turn on regular expression search) with=== $1 ===
to handle the level 3 headings.
- Add
- Add the link on Firefox/Meeting
Without installing software, using freefileconvert.com
- Go to FreeFileConvert
- Choose the File tab
- Select the downloaded ODT file as the Input file
- Choose the "wiki" output format
- Click Convert
- Click Download when the conversion is ready (be sure not to click on potentially misleading ads)
With pandoc
- Install pandoc
- macOS:
brew install pandoc
- macOS:
curl -L "https://docs.google.com/document/d/1hM9bmIdIe0PeQEB4SbU7NG3m7MmjgLJjUB7Fzr7fGEU/export?format=odt" | pandoc --from odt --to mediawiki
libreoffice-wiki-publisher
- Get access to an Ubuntu machine
- Install the libreoffice-wiki-publisher package via apt
- Export this document as an ODT file
- Open that exported document in LibreOffice
- Export the document as Mediawiki to some text file (the MediaWiki Publisher extension you installed in (b) should let you do this). The extension might insert extra
<div>
s into the output; you’ll want to clean those up before publishing.