tag:blogger.com,1999:blog-3992530807750384868.post2177499631248590396..comments2022-03-28T08:42:20.497+03:00Comments on emacs-fu: writing and blogging with org-modeUnknownnoreply@blogger.comBlogger23125tag:blogger.com,1999:blog-3992530807750384868.post-39880275037143806022012-02-16T23:08:09.739+02:002012-02-16T23:08:09.739+02:00@waiting for...what: probably best to check the ge...@waiting for...what: probably best to check the generated html, and see if the corresponding css is defined.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-23161221748176823832012-02-15T06:46:21.212+02:002012-02-15T06:46:21.212+02:00Just gave it a try but it seems the markup of the ...Just gave it a try but it seems the markup of the source code is not exactly like yours.<br /><br />Actually, I wrote some c++ code but finally found out only comments and string literals are colored. I updated org-mode and htmlize with the latest version but it remained so. :(<br /><br />Any suggestion? Thanks!!waiting for...whathttps://www.blogger.com/profile/17866519884827791425noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-40847430440554421722011-12-04T02:21:19.911+02:002011-12-04T02:21:19.911+02:00nice article, thank to you I just discovered org-m...nice article, thank to you I just discovered org-mode ! so useful :DParaitahttps://www.blogger.com/profile/09903340133654014370noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-90118434820469011962011-01-19T20:53:50.881+02:002011-01-19T20:53:50.881+02:00I just finished my first emacs related post on blo...I just finished my first emacs related post on blogger (http://tinyurl.com/5s9w6tj) using orgmode html-export and the more simple copy&past approach you described here. <br /><br />When I do C-c C-e b (export and open in browser) in orgmode the result looks exzellent. But when I copy the html into blogger, there are wide gaps between the paragraphs and a lot of blank lines, which is really unacceptable. I have to edit the text (not the html) by hand and delete all that blank lines, whats really annoying. I tried to delete all blank lines in the orgmode buffer before the export, but the result was basically the same. <br /><br />Did you experience that kind of problems? How can I conserve the beauty of the org output when copying to blogger? <br /><br />I did not see any difference when I copied the html with or without the css and js parts. I tried to copy those parts into the design template - still no difference. <br /><br />Otherwise its great to write in org and simply export, how easy that is.tjhttps://www.blogger.com/profile/01310408941871841458noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-52510873230067868162010-10-31T20:41:14.744+02:002010-10-31T20:41:14.744+02:00This post is pretty old, but apparently I'm no...This post is pretty old, but apparently I'm not the only one leaving comments in Oct 2010. :)<br /><br />I recently decided to start a blog and I was excited to see how easy source code formatting could be in org-mode. At least - it's easy now that I have it installed correctly.<br /><br />I'm on debian and the org-mode package installed htmlize to /usr/share/org-mode/lisp, which wasn't on my load-path. Adding it fixed things (after about an hour of trying to figure out that that was actually the problem). Or, install the emacs-goodies package, which puts htmlize somewhere already on the load-path (at least it did for me).<br /><br />Thanks for the post.<br /><br />-e :)Elliot Shttps://www.blogger.com/profile/05888424200141091675noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-4938143942721080402010-10-22T08:11:43.576+03:002010-10-22T08:11:43.576+03:00@Sacha Chua: for blogger, there's org-googlecl...@Sacha Chua: for blogger, there's <a href="http://github.com/rileyrg/org-googlecl" rel="nofollow">org-googlecl</a>; I haven't tried that yet though. Hopefully soon...djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-78143932409835443702010-10-22T05:55:00.805+03:002010-10-22T05:55:00.805+03:00I really like my new workflow with org2blog, which...I really like my new workflow with org2blog, which lets me publish subtrees directly from Emacs to Wordpress (http://sachachua.com/blog/2010/09/new-note-taking-workflow-with-emacs-org-mode/). You're on Blogger, though, which might need a different protocol. =)Sacha Chuahttp://sachachua.comnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-22517109112206803992010-08-29T11:32:17.348+03:002010-08-29T11:32:17.348+03:00punchagan: thanks, will give that a try.punchagan: thanks, will give that a try.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-80809337380099576032010-08-23T16:05:57.536+03:002010-08-23T16:05:57.536+03:00You may want to try the org2blogger blogging clien...You may want to try the org2blogger blogging client. <br /><br />I haven't tried it myself, but I guess your workflow will be much smoother. <br /><br />http://emacspeak.googlecode.com/svn/trunk/lisp/g-client/org2blogger.elAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-27775654902271520282010-07-28T20:53:11.584+03:002010-07-28T20:53:11.584+03:00@Hendy: with blogger at least in the 'Post opt...@Hendy: with blogger at least in the 'Post options' (below the editor box) you can tell it to use the literal html.<br /><br />I simply paste it there, and that seems to work.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-21004987105546170072010-07-28T16:21:57.836+03:002010-07-28T16:21:57.836+03:00Hey -- what format do you use when you copy/paste ...Hey -- what format do you use when you copy/paste the html? I'm trying to do this as well but org-mode or html pasting preserves the line breaks that are inserted by running in fill minor mode and so I end up having to do TONS of fixing after the export.<br /><br />Do you not have this problem?<br /><br />I know one can turn of interpreting newlines as <br>'s, but this also jumbles existing posts. Have you been doing this since you started or just let old posts go to crap or do you have another trick up your sleeve? :)<br /><br />Thanks!jwhendyhttps://www.blogger.com/profile/03615608336736450543noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-61215494294569133482009-09-22T08:43:40.811+03:002009-09-22T08:43:40.811+03:00@erikR: ah, interesting read! note, the recently a...@erikR: ah, interesting read! note, the recently added org-babel can be used to execute inline code: http://orgmode.org/worg/org-contrib/babel/org-babel.php, apparently even allowing you to include charts from R. Haven't tried it yet though.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-27346161540441904102009-09-22T01:49:56.330+03:002009-09-22T01:49:56.330+03:00Hey, I came up with basically the same workflow as...Hey, I came up with basically the same workflow as you, but integrated Sweave for R with it. I wrote up my findings at <br />http://blogisticreflections.wordpress.com/2009/09/20/welcome-to-blogistic-reflections/erikRnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-30483715403805209802009-09-07T22:08:35.506+03:002009-09-07T22:08:35.506+03:00@vinhdizzo: I think you describe my workflow prett...@vinhdizzo: I think you describe my workflow pretty well. I keep org files in git (new ones and slowly moving old ones there). And indeed, I do the manual copy/pasting of the html. There are some ways to automate that (there is some blogging package for emacs), but I don't fully trust them. Maybe I should look into them once more... I'm sure to blog about it if it works!djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-82227465829971745752009-09-07T21:50:48.409+03:002009-09-07T21:50:48.409+03:00hi djcb,
can you describe your workflow of bloggi...hi djcb,<br /><br />can you describe your workflow of blogging in more details? this is how i currently understand your workflow:<br /><br />1. create a new org file, with the file name being your post's name.<br />2. write your post, and then C-c C-e to export into html. Copy and paste the body of the html into blogger, that is, go into a web browser click new post, paste your html, and enter in the name and tags.<br /><br />do you automate going from org into blogger? if so, can u share your method?<br /><br />also, suppose you decide to update a post a few months down the line. i'm guessing you would edit your org file as opposed to editing the post in blogger. do u just find the file by hand, edit and export, and then look for the post in blogger by hand, and re-paste the code? or do u have some process to do this?<br /><br />i blog in blogger, but i would like to do everything in org-mode. however, i'm struggling finding a way to integrate the workflow into blogger.<br /><br />that 'blorg' package that alex ott mentioned seems GREAT! exactly what i am looking for, to have ONE main blog file and add a new post with a new "*" heading. it also publish feeds. however, there is no "commenting" system, and some features that i would like in a blogging platform.<br /><br />let me know, thanks.vinhdizzohttps://www.blogger.com/profile/01446145211934423625noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-8699695498878239082009-05-25T20:28:13.872+03:002009-05-25T20:28:13.872+03:00@netcasper: thanks. org-mode rarely disappoints :-...@netcasper: thanks. org-mode rarely disappoints :-)djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-39235506772008902042009-05-25T17:03:35.585+03:002009-05-25T17:03:35.585+03:00@djcb, the fifth parameter of function org-export-...@djcb, the fifth parameter of function org-export-as-html is body-only.<br /><br />From manual,<br /><br />When body-only is set, don't produce<br />the file header and footer, simply return the content of<br />< body >...< /body >, without even the body tags themselves.netcasperhttps://www.blogger.com/profile/09923405180744914893noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-37429912154637076192009-05-23T14:19:42.994+03:002009-05-23T14:19:42.994+03:002gcjb: Yes, Muse is more suitable for creation of ...2gcjb: Yes, Muse is more suitable for creation of sites, while Org-mode is more close to blogs. <br />My site is created <A HREF="http://xtalk.msk.su/~ott/en/writings/EmacsMuseMyPage.html" REL="nofollow">using Muse</A>, but i use blorg to provide RSS with news from my siteAlex Otthttps://www.blogger.com/profile/13001951608173211050noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-53908808651606497102009-05-23T14:15:01.557+03:002009-05-23T14:15:01.557+03:00@Jared: and I haven't looked into Muse into great ...@Jared: and I haven't looked into Muse into great detail, so I don't really know what I am missing. <br /><br />I guess Muse's meaning of life is in creating html, while in Org it's more of an add-on.<br /><br />But I don't know of any particular feature I am missing right now. Maybe you should write a little article about it? :-)djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-76364100044117847132009-05-23T01:07:14.614+03:002009-05-23T01:07:14.614+03:00Hi,
Have you considered using muse instead of org...Hi,<br /><br />Have you considered using muse instead of org? I use org to organise myself and I know that recent versions have gained functionality such as syntax highlighting but I think it still lags behind as a convenient way to generate HTML. I could be wrong, I haven't looked into it in any great detail.Jaredhttp://curiousprogrammer.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-397433682407974012009-05-22T16:09:00.320+03:002009-05-22T16:09:00.320+03:00@Mekk: this 'blorg' thing mentioned by Alex Ott me...@Mekk: this 'blorg' thing mentioned by Alex Ott mentioned could help there (have not tried that myself).<br /><br />I edit articles as .org's, and only when I'm happy with them, I export them to html. When I have later changes, I can just edit the org and re-export.<br /><br />I've heard people say it's not *so* hard to write a new export for org, so you might give it a try. The org-community is very helpful with such things at least.<br /><br />The only small imperfection I now have is that I have to copy the right blob of html from the generated page -- I don't need the head-section, the postambles and the top header (copying to blogger.com). But I'm sure that can be fixed somehow...djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-21328100220699140492009-05-22T14:35:44.889+03:002009-05-22T14:35:44.889+03:00I use org-mode to plan and write my blog articles,...I use org-mode to plan and write my blog articles, and I like it. Still, I am not 100% happy with the workflow.<br /><br />Because I don't like to export HTML.<br /><br />I am used to publish my blog articles using Markdown (my blog engine has an appropriate filter to convert them at runtime). The big benefit is that the text is clearly readable and easily editable. And I happen to refine/revise/patch my articles at least a few times after the publication. Currently I resolve this by using a few editor macros (turn ** into ## in particular) but that's not a great solution.<br /><br />So, I'd be really happy if org could export markdown (or ReST, or Textile, or something similar).<br /><br />Less crucial problem is that of splitting an article into the introduction and the remaining text.Mekkhttps://www.blogger.com/profile/00753839787765152120noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-68081528385325545482009-05-22T11:43:02.645+03:002009-05-22T11:43:02.645+03:00There is also blorg package that allows to create ...There is also blorg package that allows to create blog from .org files - both xml and html output of data, including labels, etc.Alex Otthttps://www.blogger.com/profile/13001951608173211050noreply@blogger.com