leandro noferini writes:
> I have a little blog written using muse exported via html and also rss
> (xml).
>
> I have the heading
>
> #author PippiPappo
>
> In html export it works correctly but in xml generated via rss export
> appear these lines
>
> <author>leandro noferini</author>
The reason for this is a bit intricate. For the time being I can provide you
with a little work around.
You sent me the following snippet of code from your initialization file:
("Blog"; My blog
("~/Documenti/Blog" :default "index")
(:base "journal-html" :path "~/public_html/blog" :base-url "http://somewhere/")
(:base "journal-rss" :path "~/public_html/blog" :base-url "http://somechere/")
)
In this code change:
(:base "journal-rss" :path "~/public_html/blog" :base-url "http://somechere/")
to
(:base "my-journal-rss" :path "~/public_html/blog" :base-url
"http://somechere/")
And add the following code to your intialisation file:
(muse-derive-style "my-journal-rss" "journal-rss"
:before (function (lambda ()
(muse-publish-markup (cdr (assoc "title"
muse-publishing-directives))
`(;; Remove leading
and trailing whitespace from the file
(0
"\\(\\`\n+\\|\n+\\'\\)" 0 "")
;; Handle any
leading #directives
(1
"\\`#\\([a-zA-Z-]+\\)\\s-+\\(.+\\)\n+" 0 directive))))))
The cleanest way to handle this issue is the following:
1. Please submit the bug to gnus' bug-database for muse
(http://gna.org/bugs/?group=muse-el).
2. I will comment your bug-posting with an analysis of the problem and a
possible solution.
Kind regards
Stefan
_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss