emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Status of the org-mediawiki.el [7.8.11]
@ 2012-10-18 17:49 Bernhard Gschaider
  2012-10-24 13:43 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Gschaider @ 2012-10-18 17:49 UTC (permalink / raw)
  To: emacs-orgmode

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
- ------------------------------------------------------------------------

I think this is rather universal (not machine-dependent):
on http://orgmode.org/worg/org-contrib/ the mediawiki-export
http://lumiere.ens.fr/~guerry/u/org-mediawiki.el is described. I had a
look in the git and the EXPERIMENTAL-folder is no longer there. I found
org-export.el in contrib/lisp. Tried to roll the git back to the last
revision that has org-mediawiki.el extracted it and tried to use it in
my current installation. That failed (I'm not surprised)

May question: Is the support for Mediawiki-export abandoned?

If yes: I'd suggest to remove the reference to it from
http://orgmode.org/worg/org-contrib/

If no: how can it be run (maybe the description in
http://lumiere.ens.fr/~guerry/u/org-mediawiki.el could be updated)

Emacs  : GNU Emacs 24.2.1 (x86_64-apple-darwin11.4.2, GTK+ Version
2.24.13)
 of 2012-10-16 on bgs-cool-greybook.local
Package: Org-mode version 7.8.11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCAQTAACgkQXIMfp1I+9MFHpACeNg3JhuhoOr1rQHnAy30nSZoq
h6UAn0XqfzU+BCaZjHFK6YT6Unwro8C4
=WV0O
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: Status of the org-mediawiki.el [7.8.11]
  2012-10-18 17:49 Bug: Status of the org-mediawiki.el [7.8.11] Bernhard Gschaider
@ 2012-10-24 13:43 ` Bastien
  2013-01-06 11:26   ` Using Pandoc for export to EPub and Mediawiki " Bernhard F.W. Gschaider
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2012-10-24 13:43 UTC (permalink / raw)
  To: Bernhard Gschaider; +Cc: emacs-orgmode

Hi Bernhard,

Bernhard Gschaider <bgschaid@gmail.com> writes:

> May question: Is the support for Mediawiki-export abandoned?

For now, yes.  

But I think it would be a nice format to export to.

> If yes: I'd suggest to remove the reference to it from
> http://orgmode.org/worg/org-contrib/

Done, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Using Pandoc for export to EPub and Mediawiki Re: Bug: Status of the org-mediawiki.el [7.8.11]
  2012-10-24 13:43 ` Bastien
@ 2013-01-06 11:26   ` Bernhard F.W. Gschaider
  2013-01-06 11:48     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Bernhard F.W. Gschaider @ 2013-01-06 11:26 UTC (permalink / raw)
  To: emacs-orgmode

Hi all!

Am 24.10.12 15:43, schrieb Bastien:
> Hi Bernhard,
> 
> Bernhard Gschaider <bgschaid@gmail.com> writes:
> 
>> May question: Is the support for Mediawiki-export abandoned?
> 
> For now, yes.  
> 
> But I think it would be a nice format to export to.

Just one question: does this HAVE to be implemented in org-mode/elisp
itself? I just stumbled on Pandoc
http://johnmacfarlane.net/pandoc/README.html which can export from
several markup-languages to for instance MediaWiki (what I think is
weird is that it accepts org-mode as an output, but not as an input). So
one "only" has to write  an org-reader and get the project to accept it
and then there would be a number of output-formats (including ePub which
would be VERY cool) available for "free" (some duplicate existing formats).

I know that the "only" part is the hard thing. But there seems to be
somebody working on this already https://github.com/jgm/pandoc/issues/476

If nobody is actively working on these export filters (Mediawiki) then
maybe "outsourcing" this conversion to pandoc and "only" integrating the
call into the "export menu" would be an interesting way to go

Bernhard

> 
>> If yes: I'd suggest to remove the reference to it from
>> http://orgmode.org/worg/org-contrib/
> 
> Done, thanks!
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using Pandoc for export to EPub and Mediawiki Re: Bug: Status of the org-mediawiki.el [7.8.11]
  2013-01-06 11:26   ` Using Pandoc for export to EPub and Mediawiki " Bernhard F.W. Gschaider
@ 2013-01-06 11:48     ` Bastien
  2013-01-07  8:15       ` Christopher Witte
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2013-01-06 11:48 UTC (permalink / raw)
  To: Bernhard F.W. Gschaider; +Cc: emacs-orgmode

Hi Bernhard,

"Bernhard F.W. Gschaider" <bgschaid@gmail.com> writes:

> If nobody is actively working on these export filters (Mediawiki) then
> maybe "outsourcing" this conversion to pandoc and "only" integrating the
> call into the "export menu" would be an interesting way to go

Yes.  If you can motivate someone either from this list or from Pandoc
community to write an Org mode reader, that'd be nice.  Even when we
finally have a mediawiki exporter.

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using Pandoc for export to EPub and Mediawiki Re: Bug: Status of the org-mediawiki.el [7.8.11]
  2013-01-06 11:48     ` Bastien
@ 2013-01-07  8:15       ` Christopher Witte
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Witte @ 2013-01-07  8:15 UTC (permalink / raw)
  To: Bastien; +Cc: Bernhard F.W. Gschaider, Org Mode

[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

For a quick work around, Pandoc can read in HTML, so perhaps you can export
org to HTML and then process it with Pandoc.
You can even use the following script so you can pipe it from the command
line.

#!/usr/bin/emacs --script
;read stdin into a temp buffer
;go into org-mode
;output the buffer as a string and pipe to stdout
(with-temp-buffer
  (progn
    (condition-case nil
    (let (line)
      (while (setq line (read-from-minibuffer ""))
        (insert line)
        (insert "\n")))
      (error nil))
    (org-mode)
    (princ (org-export-as-html nil nil nil 'string))
    ))


Chris.


On 6 January 2013 12:48, Bastien <bzg@altern.org> wrote:

> Hi Bernhard,
>
> "Bernhard F.W. Gschaider" <bgschaid@gmail.com> writes:
>
> > If nobody is actively working on these export filters (Mediawiki) then
> > maybe "outsourcing" this conversion to pandoc and "only" integrating the
> > call into the "export menu" would be an interesting way to go
>
> Yes.  If you can motivate someone either from this list or from Pandoc
> community to write an Org mode reader, that'd be nice.  Even when we
> finally have a mediawiki exporter.
>
> Best,
>
> --
>  Bastien
>
>

[-- Attachment #2: Type: text/html, Size: 1806 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-07  8:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-18 17:49 Bug: Status of the org-mediawiki.el [7.8.11] Bernhard Gschaider
2012-10-24 13:43 ` Bastien
2013-01-06 11:26   ` Using Pandoc for export to EPub and Mediawiki " Bernhard F.W. Gschaider
2013-01-06 11:48     ` Bastien
2013-01-07  8:15       ` Christopher Witte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).