* Blorg problems
@ 2007-07-16 17:26 Rick Moynihan
2007-07-16 23:42 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Rick Moynihan @ 2007-07-16 17:26 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
I've recently started investigating blorg (sorry David) with the hope of
using it (and org-mode) to start a blog. Unfortunately I've run into a
few issues, and would appreciate some help.
--
Firstly it appears that my paragraphs don't render as such from memory I
have something like the following:
* DONE Post title
CLOSED: [2007-07-16 Mon 12:43]
blah blah blah blah blah blah...
This should be a new paragraph, but when converted to html isn't (i.e.
it is not enclosed in <p> tags, and it merges with the blah blah blah's
above.
--
Am I doing something wrong, or is there a way around this?
I've also run into some other small problems:
- The time of the post is always rendered something like +00 00 and not
12:43 This isn't a big problem as I've just disabled it with the format
string)
- It's not clear how to render images in the output, i.e. with a <img
src="..."/>.
- The format of Echoes appears to be fixed, yet I'd like to use them to
generate a different order as I'd like to include the following HTML
snippet (forgive me I can't remember the names of the includable
properties):
<div class="delicious-blogbadge-line"
id="(post-id-or-url)">
<script type="text/javascript">
Delicious.BlogBadge.register('(post-id-or-url)', '(post-url)',
'(post-title)');
</script>
</div>
It would also be great if somebody could create an example blorg.org
file which demonstrated all the org markup in a test-blog.
In the future I'd also like a mechanism for exporting code blocks into
the html (ideally with emacs syntax highlighting). It would be great if
the org-mode colon syntax could be used to do this, e.g:
: public int randomNumber() {
: return 3; //guaranteed random number (was a fair dice roll) (xkcd)
: }
I seem to remember having some other small problems and ideas about the
whole thing, which if I remember I'll post here. Anyway, if I can get
the paragraphs and image export working, I should be able to start blorging.
Also does anyone know of any blogs online using blorg?
Thanks again,
R
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Blorg problems
2007-07-16 17:26 Blorg problems Rick Moynihan
@ 2007-07-16 23:42 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2007-07-16 23:42 UTC (permalink / raw)
To: emacs-orgmode; +Cc: rick
Hi Rick,
Rick Moynihan <rick@calicojack.co.uk> writes:
> Firstly it appears that my paragraphs don't render as such
I cannot reproduce this. Can you send me the whole .org file?
> - The time of the post is always rendered something like +00 00 and
> not 12:43 This isn't a big problem as I've just disabled it with the
> format string)
I've seen this before, it will be fixed in the next release.
> - It's not clear how to render images in the output, i.e. with a <img
> src="..."/>.
For now [[file:myimage.jpg][file:myimage.jpg]] in the org file should
end up in this :
<img alt="file:myimage.jpg" src="images/myimage.jpg">
You're asked for the creation of the "images/" directory where blorg
will store the image and then a relative link is created pointing to
this image.
Hope this helps.
> - The format of Echoes appears to be fixed, yet I'd like to use them
> to generate a different order as I'd like to include the following
> HTML snippet (forgive me I can't remember the names of the includable
> properties):
I'll try to make blorg-echo-list more customizable, perhaps by allowing
to set the formatting string manually. Not sure how this can be done
right now.
> It would also be great if somebody could create an example blorg.org
> file which demonstrated all the org markup in a test-blog.
Sure.
> In the future I'd also like a mechanism for exporting code blocks into
> the html (ideally with emacs syntax highlighting). It would be great
> if the org-mode colon syntax could be used to do this, e.g:
>
> : public int randomNumber() {
> : return 3; //guaranteed random number (was a fair dice roll) (xkcd)
> : }
In this example, you are using org-mode's verbatim environment (starting
with the character ":") to insert code - that means that this code won't
be highlighted according to its syntax, it will use the org-table face
instead.
I guess we need to have some information about the syntax of the code
(enclosed in such a verbatim environnement) before we can highlight it.
What about a #+BEGIN_ELISP / #+END_ELISP around the verbatim paragraph,
so that we can guess the relevant mode and call htmlize efficiently?
Carsten: working on org-export-latex.el made me think it might be useful
to have all these options :
#+BEGIN/END_HTML : only exported in HTML format
#+BEGIN/END_LaTeX : only exported in LaTeX format
#+BEGIN/END_ELISP : call some elisp funcs before exporting this part
> I seem to remember having some other small problems and ideas about
> the whole thing, which if I remember I'll post here. Anyway, if I can
> get the paragraphs and image export working, I should be able to start
> blorging.
Please give me your org file and all information concerning those two
problems.
> Also does anyone know of any blogs online using blorg?
Yes, i know, i should use it myself :)
Cheers,
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-16 23:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-16 17:26 Blorg problems Rick Moynihan
2007-07-16 23:42 ` Bastien
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).