* import wiki to orgmode
@ 2016-06-25 18:37 ron123
2016-06-25 19:06 ` Kyle Meyer
0 siblings, 1 reply; 2+ messages in thread
From: ron123 @ 2016-06-25 18:37 UTC (permalink / raw)
To: emacs-orgmode
Hello,
is it possible to import mediawiki pages to org mode? [I need this for
saving some wiki-articles.]
I think a complete solution would be a bit difficult [you have links,
footnotes, formatting etc.]
But for the beginning it would be sufficient to make such conversions:
from this MediaWiki text:
== History ==
Emacs development began during the 1970s at ...
=== Other early implementations ===
In the following years, programmers wrote a variety of Emacs-like
editors for other computer systems.
=== GNU Emacs ===
Richard Stallman began work on GNU Emacs in 1984 to produce a
=== XEmacs ===
Lucid Emacs, based on an early alpha version of GNU Emacs 19
=== Editors with Emacs emulation ===
* Yi, an editor that is written and extensible in
* Joe emulates Emacs keybindings when
* Jed has an emulation mode for Emacs.
to this orgmode text:
** History
Emacs development began during the 1970s at ...
*** Other early implementations
In the following years, programmers wrote a variety of Emacs-like
editors for other computer systems.
*** GNU Emacs
Richard Stallman began work on GNU Emacs in 1984 to produce a
*** XEmacs
Lucid Emacs, based on an early alpha version of GNU Emacs 19
*** Editors with Emacs emulation
- Yi, an editor that is written and extensible in
- Joe emulates Emacs keybindings when
- Jed has an emulation mode for Emacs.
Unfortunately (and surprisingly) I didn't find a program for this. Any
ideas? Isn;t there an org function?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: import wiki to orgmode
2016-06-25 18:37 import wiki to orgmode ron123
@ 2016-06-25 19:06 ` Kyle Meyer
0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2016-06-25 19:06 UTC (permalink / raw)
To: ron123; +Cc: emacs-orgmode
Hello,
ron123 <ronny.lienhard@gmail.com> writes:
> Hello,
>
> is it possible to import mediawiki pages to org mode? [I need this for
> saving some wiki-articles.]
> I think a complete solution would be a bit difficult [you have links,
> footnotes, formatting etc.]
>
> But for the beginning it would be sufficient to make such conversions:
[...]
> to this orgmode text:
>
> ** History
>
> Emacs development began during the 1970s at ...
>
> *** Other early implementations
> In the following years, programmers wrote a variety of Emacs-like
> editors for other computer systems.
>
> *** GNU Emacs
> Richard Stallman began work on GNU Emacs in 1984 to produce a
>
> *** XEmacs
> Lucid Emacs, based on an early alpha version of GNU Emacs 19
>
>
> *** Editors with Emacs emulation
> - Yi, an editor that is written and extensible in
> - Joe emulates Emacs keybindings when
> - Jed has an emulation mode for Emacs.
>
>
> Unfortunately (and surprisingly) I didn't find a program for this. Any
> ideas? Isn;t there an org function?
As someone suggested in a comment to your Emacs Stack Exchange question [1],
I think pandoc is probably your best bet. Running
pandoc -f mediawiki -t org
with your example text as input gives
,----
| ** History
| :PROPERTIES:
| :CUSTOM_ID: history
| :END:
|
| Emacs development began during the 1970s at ...
|
| *** Other early implementations
| :PROPERTIES:
| :CUSTOM_ID: other-early-implementations
| :END:
|
| In the following years, programmers wrote a variety of Emacs-like ors
| for other computer systems.
|
| *** GNU Emacs
| :PROPERTIES:
| :CUSTOM_ID: gnu-emacs
| :END:
|
| Richard Stallman began work on GNU Emacs in 1984 to produce a
|
| *** XEmacs
| :PROPERTIES:
| :CUSTOM_ID: xemacs
| :END:
|
| Lucid Emacs, based on an early alpha version of GNU Emacs 19
|
| *** Editors with Emacs emulation
| :PROPERTIES:
| :CUSTOM_ID: editors-with-emacs-emulation
| :END:
|
| - Yi, an editor that is written and extensible in
| - Joe emulates Emacs keybindings when
| - Jed has an emulation mode for Emacs.
`----
[1] http://emacs.stackexchange.com/questions/24173/import-wiki-to-orgmode
--
Kyle
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-25 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-25 18:37 import wiki to orgmode ron123
2016-06-25 19:06 ` Kyle Meyer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.