public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Pandoc and OPML
Date: Sun, 17 Mar 2013 15:47:20 -0700	[thread overview]
Message-ID: <20130317224720.GB48086@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <CAHJRaA6w_9TvXRg1bnbOopMTJDWfBsOMYyMGAuwCFXmMWy_Ung-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Looking at the spec, it seems quite simple.
http://dev.opml.org/spec2.html

But how would you suggest the various elements be converted to
pandoc?

Would the `<outline>` elements all become headers, and their
`text` attributes paragraphs under these headers?

What about custom elements, as in this example from Wikipedia?

    <outline text="Heart of Glass.mp3" type="song" f="Blondie - Heart of Glass.mp3"/>
    <outline text="Manic Monday.mp3" type="song" f="Bangles - Manic Monday.mp3"/>
    <outline text="Everybody Have Fun Tonight.mp3" type="song" f="Wang Chung - Everybody Have Fun Ton

What do we do with the "type" and "f" attributes?  The spec doesn't define
them; the spec just says any attributes are allowed in addition to "text".
(They could be ignored, I suppose.)

+++ Chris Lott [Mar 17 13 14:04 ]:
> Well, it would be awesome if it Pandoc could read OPML. The reason:
> most outliners/mind map tools create OPML and, along with markdown
> text notes, are a great base for longer form writing. MultiMarkdown
> Composer can read some OPML, but only the top level, not the
> notes...and most opml2markdown tools don't handle line breaks in the
> text notes well (or almost at all).
> 
> c
> 
> 
> On Fri, Mar 15, 2013 at 2:28 PM, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > None that I know of...
> >
> > +++ Chris Lott [Mar 15 13 09:13 ]:
> >> Greetings! Are there any plans in the works for including OPML as an
> >> input and/or input format?
> >>
> >> c
> >> --
> >> Chris Lott <chris-qMDBG1KJBpwBXFe83j6qeQ@public.gmane.org>
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >> For more options, visit https://groups.google.com/groups/opt_out.
> >>
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 


  parent reply	other threads:[~2013-03-17 22:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 17:13 Chris Lott
     [not found] ` <CAHJRaA432JWGSsNMAan69yPtQKBTUrN1e6Ligg5=5UTOYipO8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-15 22:28   ` John MacFarlane
     [not found]     ` <20130315222848.GA8282-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-03-17 22:04       ` Chris Lott
     [not found]         ` <CAHJRaA6w_9TvXRg1bnbOopMTJDWfBsOMYyMGAuwCFXmMWy_Ung-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-17 22:47           ` John MacFarlane [this message]
     [not found]             ` <20130317224720.GB48086-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-03-17 23:06               ` Chris Lott
     [not found]                 ` <CAHJRaA6DnLxSDrSu_z-sBt0-pgBwo+BPKK9yRrNvqxC7srOMxQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-18  0:14                   ` John MacFarlane
     [not found]                     ` <20130318001423.GA8496-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-03-18  4:01                       ` John MacFarlane
     [not found]                         ` <20130318040154.GA54653-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-03-18  5:33                           ` John MacFarlane
     [not found]                             ` <20130318053341.GA14308-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-03-26  1:14                               ` Ryan Gray
     [not found]                                 ` <fe881274-9fea-4b2d-8e22-94f26394fc05-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-03-26  2:21                                   ` John MacFarlane
     [not found]                                     ` <20130326022137.GC9254-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-03-26  5:22                                       ` Dirk Laurie
2013-04-07 18:00                                       ` Chris Lott
2013-03-26 15:33               ` BP Jonsson
     [not found]                 ` <5151BFB7.10200-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-03-27  5:50                   ` John MacFarlane
2013-03-20  3:24           ` John MacFarlane
2013-05-29 20:07             ` David Oppenheimer
     [not found]               ` <loom.20130529T215912-867-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2013-05-29 20:19                 ` John MacFarlane
2013-05-30 19:50   ` David Oppenheimer
2013-06-26 21:15   ` jake london
     [not found]     ` <6137014c-5dbe-4242-a8d0-5cf4cde99593-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-06-26 21:47       ` Chris Lott
     [not found]         ` <CAHJRaA6zvQYuXHb=iyYxhg4x+EZ5fgoSZ05KLcaiw6qqrnUs_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-26 22:38           ` John MacFarlane
2013-06-26 23:54           ` jake london
2013-06-26 23:56   ` jake london

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130317224720.GB48086@Johns-MacBook-Pro.local \
    --to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).