From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/6041 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Pandoc and OPML Date: Sun, 17 Mar 2013 17:14:23 -0700 Message-ID: <20130318001423.GA8496@protagoras.phil.berkeley.edu> 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 1363565666 19938 80.91.229.3 (18 Mar 2013 00:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 00:14:26 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBYVYTGFAKGQER5ZABWA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Mar 18 01:14:51 2013 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-gg0-f184.google.com ([209.85.161.184]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHNj1-0003yk-B3 for gtp-pandoc-discuss@m.gmane.org; Mon, 18 Mar 2013 01:14:51 +0100 Original-Received: by mail-gg0-f184.google.com with SMTP id v1sf2123910ggn.11 for ; Sun, 17 Mar 2013 17:14:27 -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:date:from:to:subject :message-id:references:mime-version:in-reply-to:x-pgp-key:user-agent :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:content-disposition; bh=RLLUWWvGRYSiPfDpgfRyPg7Wte4Cdr5bgAKierqbse0=; b=RcNyibPsdilkW03PKkN0DsqxPOy9iwza6GQguUX+Bj9m+/ABzbUVQoOxtCYeJu38Xc +7UJyoOYzA0a+5JCRSlLIo764PhtV67BJRbQS5qk3GSTkwRsxbvs93Qw8k9unghuqIMW 0GyE637yvloIluaCAC6AioKMM+3ZxZALFe1fxtvVtHBkVp1ya2ZPRiOk3n8SxTOtW9vA gYpfonR4tQo924PxcgEsM2qo8se6bKTECg//L8vpJeHMNfWNFYuiURFKY7eOzv3FzSud h8TDF4Wq0aFDkGc6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:date:from:to:subject :message-id:references:mime-version:in-reply-to:x-pgp-key:user-agent :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:content-disposition; bh=RLLUWWvGRYSiPfDpgfRyPg7Wte4Cdr5bgAKierqbse0=; b=hcRjrpc2E5vaaLN//WP5Js0lLRtLn4DoINhVutbWZAj0ibByr+Lf8fq0N1+nywIdnX NEN+gUv6ExIVa5iMDcrR5q/yDc2Ye4ONYMf1CnEbbn9fFXiDbrnzcDh7qZBti8AIHF/G stEscrkOC43dk1DyfMLjVNfwj6KZzMXg9iC5jXUiJjMBDhMRvAmBegkIeoG1jzVxFcs0 3WCZVqKbRVjMooR6AysUysNyQ64JpUPnOPv2oLCslvOKozKusmRrmMh5qQqoA1PIy4Da NZWpmT0m4cbKNpBlPw4aj3s X-Received: by 10.50.214.36 with SMTP id nx4mr967401igc.6.1363565667611; Sun, 17 Mar 2013 17:14:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.50.57.134 with SMTP id i6ls779019igq.12.canary; Sun, 17 Mar 2013 17:14:26 -0700 (PDT) X-Received: by 10.66.118.233 with SMTP id kp9mr396593pab.34.1363565666124; Sun, 17 Mar 2013 17:14:26 -0700 (PDT) Original-Received: from cm04fe.IST.Berkeley.EDU (cm04fe.IST.Berkeley.EDU. [169.229.218.145]) by gmr-mx.google.com with ESMTPS id ef8si1047545pac.0.2013.03.17.17.14.26 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 17 Mar 2013 17:14:26 -0700 (PDT) Received-SPF: neutral (google.com: 169.229.218.145 is neither permitted nor denied by best guess record for domain of jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org) client-ip=169.229.218.145; Original-Received: from li55-134.members.linode.com ([74.82.3.134] helo=johnmacfarlane.net) by cm04fe.ist.berkeley.edu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (auth plain:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org) (envelope-from ) id 1UHNia-00075U-DX for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Sun, 17 Mar 2013 17:14:25 -0700 Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id B09A9BB9CE; Sun, 17 Mar 2013 20:03:03 -0400 (EDT) In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 169.229.218.145 is neither permitted nor denied by best guess record for domain of jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org) smtp.mail=jgm-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@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: , Content-Disposition: inline Xref: news.gmane.org gmane.text.pandoc:6041 Archived-At: +++ Chris Lott [Mar 17 13 15:06 ]: > 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. Yes, why not? > 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! I think it would be fairly easy (an hour's work) to write a reader that handled the basic elements as you suggest. > 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. > > > > > > -- > 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. > >