From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/6040 Path: news.gmane.org!not-for-mail From: Chris Lott Newsgroups: gmane.text.pandoc Subject: Re: Pandoc and OPML Date: Sun, 17 Mar 2013 15:06:06 -0800 Message-ID: References: <20130315222848.GA8282@protagoras.phil.berkeley.edu> <20130317224720.GB48086@Johns-MacBook-Pro.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1363561606 20541 80.91.229.3 (17 Mar 2013 23:06:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Mar 2013 23:06:46 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDXZT2PARMLBBB4ZTGFAKGQEWX5IBOA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Mar 18 00:07:11 2013 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qe0-f62.google.com ([209.85.128.62]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHMfX-00053A-4b for gtp-pandoc-discuss@m.gmane.org; Mon, 18 Mar 2013 00:07:11 +0100 Original-Received: by mail-qe0-f62.google.com with SMTP id 9sf2170659qea.27 for ; Sun, 17 Mar 2013 16:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:x-beenthere:x-received:received-spf:x-received :mime-version:in-reply-to:references:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type; bh=4BWU/79oAeX1bYz+KiS4cvvkAf6DU/YrkKLeCL/ttzM=; b=H05qlDX8vOB31yR02EAg+K24F6Tcd/keKw/OkabD1DwL483UB5C0zz+bwuUMfprGr/ PinZxp1kmY6Nk9lPztXQEccwqzURlmmlbcBkW9ygjPsu6X/nsZXJ74FIb9Sk8dg34010 1v/+skslSB8K9HRX6h8r1vFUEofo8KVhE1Mm1bTGEQ3fB0JwCN+a0XW+mALFcHuRlBzT /CN4m7C3pJpWVMykI9jH7VSQidMbZMrnQyQ8C97hOuqZ2sqFnE5ua7czJAkKW7cj6WDh cDVo72b/n5fu59skRjv8m/mVpkPm2CHKVmv+OAY61kl2Zn X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:x-received :mime-version:in-reply-to:references:from:date:message-id:subject:to :x-gm-message-state:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=4BWU/79oAeX1bYz+KiS4cvvkAf6DU/YrkKLeCL/ttzM=; b=J9Tvs2jMYXbkJMN9DdfAM9xlPWu43BpptkMbyxzoY5wNmD8k7EdGjbiYyS9fP1mEx9 rYgRb+bJ5SRA3HL7tyIfdQQhYiNk7MA6QQ+CBiB1zCAisyObRslpqCbZhthSlbE/lFxV Jam+MYMsZmB+UN4AejSI7V5a20rcSkMhETW9/YVwtMMgWI5GogUIksu8PxgHDC4yeUzO 7AR3yzIgeAh8JJLg0oG9C30gAzphodHMeAvcZRr/5lffAyHCfdjThqt3AJgCNWTlifuA cTbKu4RMlsTRxcYDMdVQnMr/ X-Received: by 10.50.140.65 with SMTP id re1mr972381igb.13.1363561607562; Sun, 17 Mar 2013 16:06:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.13.5 with SMTP id d5ls786005igc.32.canary; Sun, 17 Mar 2013 16:06:47 -0700 (PDT) X-Received: by 10.43.9.136 with SMTP id ow8mr8766742icb.21.1363561607129; Sun, 17 Mar 2013 16:06:47 -0700 (PDT) Original-Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [2607:f8b0:4001:c03::232]) by gmr-mx.google.com with ESMTPS id fc5si286272igc.0.2013.03.17.16.06.47 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 Mar 2013 16:06:47 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:4001:c03::232 is neither permitted nor denied by best guess record for domain of chris-qMDBG1KJBpwBXFe83j6qeQ@public.gmane.org) client-ip=2607:f8b0:4001:c03::232; Original-Received: by mail-ie0-f178.google.com with SMTP id c13so6223889ieb.23 for ; Sun, 17 Mar 2013 16:06:47 -0700 (PDT) X-Received: by 10.50.169.33 with SMTP id ab1mr11799113igc.103.1363561606470; Sun, 17 Mar 2013 16:06:46 -0700 (PDT) Original-Received: by 10.64.34.69 with HTTP; Sun, 17 Mar 2013 16:06:06 -0700 (PDT) In-Reply-To: <20130317224720.GB48086-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> X-Gm-Message-State: ALoCoQn2jcQGoSWhPjjTQuUw6hM6Ub2rOpFsFCZwFkyMpnxy271YpxahaTwvKToGNHKtPh8nfJwY X-Original-Sender: chris-qMDBG1KJBpwBXFe83j6qeQ@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:4001:c03::232 is neither permitted nor denied by best guess record for domain of chris-qMDBG1KJBpwBXFe83j6qeQ@public.gmane.org) smtp.mail=chris-qMDBG1KJBpwBXFe83j6qeQ@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:6040 Archived-At: All of the mind mapping and outlining tools I have used basically use the elements as headers and the "text" attributes -- or in one case the "_note" attribute as paragraphs in that section. I could send a couple of samples from different mindmapping applications if it would help. I guess ignoring the custom elements would be the simplest... or accommodating just some of the most common ones (such as "_note")? I've been trying some XSLT transformations to convert to Markdown, but while this works OK for headers from the outline elements, they fail at dealing with linebreaks in the text, which of course makes the markdown useless. Just a thought! c On Sun, Mar 17, 2013 at 2:47 PM, John MacFarlane wrote: > 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 `` elements all become headers, and their > `text` attributes paragraphs under these headers? > > What about custom elements, as in this example from Wikipedia? > > > > 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 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 >> >> >> >> -- >> >> 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. >> >> > > -- > 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. > >