emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] An Experiment: Wikipedia to Org


From: Vaidheeswaran C
Subject: [O] An Experiment: Wikipedia to Org
Date: Sat, 19 Dec 2015 17:30:25 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

I am working on an html to org exporter.  As an experiment, I tried
passing a Wikipedia article to it.

Here is an HTML snippet.

.
<sup id="cite_ref-FOOTNOTEGethin199827.E2.80.9328.2C_73.E2.80.9374_10-0"
     class="reference">
  <a href="#cite_note-FOOTNOTEGethin199827.E2.80.9328.2C_73.E2.80.9374-10">
    <span>[
    </span>8
    <span>]
    </span>
  </a>
</sup>

Here is the corresponding Org translation.

.^{[[cite_note-FOOTNOTEGethin199827.E2.80.9328.2C_73.E2.80.9374-10][[8]]]}

My question is, GIVEN the above Org-snippet would it possible to improve
the `org-element-parse-buffer' so that it's output matches with the HTML
input.

Just an experiment ...What do you think?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]