From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Eliminate line breaks in html Date: Wed, 28 Jul 2010 08:48:44 -0500 Message-ID: References: <87hbjjq4p9.fsf@rochester.rr.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0829224517==" Return-path: Received: from [140.186.70.92] (port=51525 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe706-0007Pt-Q2 for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 09:48:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oe702-00089t-OK for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 09:48:50 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:43031) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe702-00089h-Ev for emacs-orgmode@gnu.org; Wed, 28 Jul 2010 09:48:46 -0400 Received: by pvc30 with SMTP id 30so1741404pvc.0 for ; Wed, 28 Jul 2010 06:48:45 -0700 (PDT) In-Reply-To: <87hbjjq4p9.fsf@rochester.rr.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tim Burt Cc: emacs-orgmode --===============0829224517== Content-Type: multipart/alternative; boundary=0016364c59db5b229c048c72e0d4 --0016364c59db5b229c048c72e0d4 Content-Type: text/plain; charset=ISO-8859-1 @ Giovanni: the manual says \n:nil does not work. I played around with it anyway but was unsuccessful. Bummer as it seemed like it would have been perfect... @ TIm, I am aware of this option and it's what I was referencing in the original note with: > I could resort to explicit html every time I post (requiring
> for every line break) but this would also require fixing all > pre-existing posts which is pretty much not an option. But what about my point that currently all my posts do not use this? When I experimented with this option yesterday it turned old posts into huge run-on paragraphs with no structure, hence I don't really think it's an option unless I re-edit every post. Going forward, it'd be easier to somehow get rid of line breaks... though maybe I should just write my own template or something. I don't really use

in my posts anyway but prefer the single line space created by just on
. I dunno -- any thoughts? Should I re-do like 30 posts for this? Is there any other way? Thanks for the help, all. John On Wed, Jul 28, 2010 at 5:30 AM, Tim Burt wrote: > John Hendy writes: > > > I use org for exporting to html and then pasting into blogger > I use this process also for Blogger > > ... but every time I do I need to delete line breaks. > ... but I do not need to delete line breaks. See > > http://naturallogofx.rketburt.org/2010/07/linebreaks-blogger-and-org-mode.html > for an article that describes what I do. The fix for me was in the > Blogger settings, not anything in emacs. > > > Is there a way to get org to just publish the blob without breaking > > lines every time? > I do not know how to prevent line breaks in the export, but nor have I > needed to do that. > > > I'm guessing it has to do with my minor fill mode as the line breaks > > tend to be the same as they are in org. > > > > > In typical export, everything is surrounded by tags but in blogger > on > > doesn't have these and thus line breaks are line breaks. > The article reference above indicates how to stop Blogger from > presenting an input linebreak (e.g. newline character) as an output > linebreak. > > > I could resort to explicit html every time I post (requiring
> > for every line break) but this would also require fixing all > > pre-existing posts which is pretty much not an option. > > > > Any idea what I could do? > Let me know if the article reference does not help solve the issue. > > Tim > > > > > > > > Thanks, > > John > > _______________________________________________ > > Emacs-orgmode mailing list > > Please use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --0016364c59db5b229c048c72e0d4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable @ Giovanni: the manual says \n:nil does not work. I played around with it a= nyway but was unsuccessful. Bummer as it seemed like it would have been per= fect...


@ TIm, I am aware of this option and it's wh= at I was referencing in the original note with:

> I could resort to explicit html every time I post (requir= ing <br \>
> for every line break) but this would also require fixing all
> p= re-existing posts which is pretty much not an option.
<= span class=3D"Apple-style-span" style=3D"border-collapse: collapse;">
But what about = my point that currently all my posts do not use this? When I experimented w= ith this option yesterday it turned old posts into huge run-on paragraphs w= ith no structure, hence I don't really think it's an option unless = I re-edit every post. Going forward, it'd be easier to somehow get rid = of line breaks... though maybe I should just write my own template or somet= hing. I don't really use <p> in my posts anyway but prefer the si= ngle line space created by just on <br \>.

I dunno -- any thoughts? Should I re-do like 30 post= s for this? Is there any other way?


Thanks for the help, all.
John

On Wed, Jul 28, = 2010 at 5:30 AM, Tim Burt <tcburt@rochester.rr.com> wrote:
John Hendy <jw.h= endy@gmail.com> writes:

> I use org for exporting to html and then pasti= ng into blogger
I use this process also for Blogger
> ... but every time I do I need to delete line breaks= .
... but I do not need to delete line breaks. =A0See
http://naturallogofx.rketburt.org/2010/07= /linebreaks-blogger-and-org-mode.html
for an article that describes what I do. =A0The fix for me was in the
Blogger settings, not anything in emacs.

> Is there a way to get org to just publish the blob without breaking > lines every time?
I do not know how to prevent line breaks in the export, but nor have = I
needed to do that.

> I'm guessing it has to do with my minor fill mode as the line brea= ks
> tend to be the same as they are in org.

>
> In typical export, everything is surrounded by <html> tags but i= n blogger on
> doesn't have these and thus line breaks are line breaks.
The article reference above indicates how to stop Blogger from
presenting an input linebreak (e.g. newline character) as an output
linebreak.

> I could resort to explicit html every time I post (requiring <br \&= gt;
> for every line break) but this would also require fixing all
> pre-existing posts which is pretty much not an option.
>
> Any idea what I could do?
Let me know if the article reference does not help solve the issue.
Tim


>
>
> Thanks,
> John
> ____________________________________= ___________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--0016364c59db5b229c048c72e0d4-- --===============0829224517== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0829224517==--