Firefox/Meeting/Posting Notes: Difference between revisions
Jump to navigation
Jump to search
(add -L for curl) |
(Added link for converting without installing software) |
||
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 freefileconvert.com == | |||
# Go to [https://www.freefileconvert.com/odt-wiki FreeFileConvert] | |||
# Choose the File tab | |||
# 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 == |
Revision as of 19:12, 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 freefileconvert.com
- Go to FreeFileConvert
- Choose the File tab
- 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.