At one point in the recent past I had a file org.org with #+TITLE: LBM TCH KB Org Eventually I changed it to be #+TITLE: KBorg no matter what I do, the generated sitemap pick up the old title. Is this cached somewhere? and how do I get it to change? Thanks in advance, Louis
Hi Louis,
After modifying #+TITLE, you should press C-c C-c to tell orgmode the
title part has been changed.
On Fri, Mar 18, 2011 at 12:58 PM, <lbmlist@hethcote.com> wrote:
>
> At one point in the recent past I had a file org.org with
> #+TITLE: LBM TCH KB Org
>
> Eventually I changed it to be
> #+TITLE: KBorg
>
> no matter what I do, the generated sitemap pick up the old title.
>
> Is this cached somewhere? and how do I get it to change?
>
> Thanks in advance,
>
> Louis
>
>
--
Kind regards,
Tian Qiu
That didn't seem to do it.
This is GNU Emacs 23.2.1 on a debian squeeze system. Org-mode is 7.4.
I created a short file newb.org which reads in total:
--------------------------------------------------
#+TITLE: A Newb Title
* and that's it
--------------------------------------------------
I publish the project to html and my sitemap has
+ [[file:newb.org][A Newb Title]]
in it. Next I change newb.org to read
--------------------------------------------------
#+TITLE: Just A Newb
* and that's it
--------------------------------------------------
Then C-x C-s C-c C-c C-c C-e P
and sitemap the same
+ [[file:newb.org][A Newb Title]]
in it.
I can rm the sitemap.org and sitemap.html and C-c C-e P again and still
get the old information.
I'm sure I'm missing something simple but I'll be darned if I can find it.
TIA and Help!
Louis
On Fri, 18 Mar 2011, iemacs@gmail.com wrote:
> Hi Louis,
>
> After modifying #+TITLE, you should press C-c C-c to tell orgmode the
> title part has been changed.
>
> On Fri, Mar 18, 2011 at 12:58 PM, <lbmlist@hethcote.com> wrote:
>>
>> At one point in the recent past I had a file org.org with
>> #+TITLE: LBM TCH KB Org
>>
>> Eventually I changed it to be
>> #+TITLE: KBorg
>>
>> no matter what I do, the generated sitemap pick up the old title.
>>
>> Is this cached somewhere? and how do I get it to change?
>>
>> Thanks in advance,
>>
>> Louis
>>
>>
>
>
>
> --
> Kind regards,
>
> Tian Qiu
>
>
lbmlist@hethcote.com wrote:
>
> That didn't seem to do it.
>
> This is GNU Emacs 23.2.1 on a debian squeeze system. Org-mode is 7.4.
>
> I created a short file newb.org which reads in total:
> --------------------------------------------------
> #+TITLE: A Newb Title
>
> * and that's it
> --------------------------------------------------
>
> I publish the project to html and my sitemap has
>
> + [[file:newb.org][A Newb Title]]
>
> in it. Next I change newb.org to read
> --------------------------------------------------
> #+TITLE: Just A Newb
>
> * and that's it
> --------------------------------------------------
> Then C-x C-s C-c C-c C-c C-e P
>
> and sitemap the same
>
> + [[file:newb.org][A Newb Title]]
>
> in it.
>
> I can rm the sitemap.org and sitemap.html and C-c C-e P again and still
> get the old information.
>
> I'm sure I'm missing something simple but I'll be darned if I can find it.
>
Do you have a :sitemap-title entry in your config? Better yet, if there
are no privacy concernts, why don't you post your publishing
configuration?
Nick
On Fri, 18 Mar 2011, Nick Dokos wrote: > > Do you have a :sitemap-title entry in your config? Better yet, if there > are no privacy concernts, why don't you post your publishing > configuration? > > Nick > From my .emacs: (setq org-publish-project-alist '(("org-notes" :base-directory "/home/lbmoore/notebook/org/" :publishing-directory "/home/lbmoore/public_html/org/" :base-extension "org" :recursive t :style "<link rel=\"stylesheet\" href=\"css/org-a.css\" type=\"text/css\"/>" :link-home "http://caritas/" :makeindex t ) ("tchkb" :base-directory "/home/lbmoore/notebook/tchkb/" :publishing-directory "/home/lbmoore/public_html/tchkb/" :base-extension "org" :recursive t :auto-sitemap t :style "<link rel=\"stylesheet\" href=\"css/org-a.css\" type=\"text/css\"/>" :link-home "http://caritas/" :makeindex t ) ("org-static" :base-directory "/home/lbmoore/notebook/org/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "/home/lbmoore/public_html/org/" :recursive t :publishing-function org-publish-attachment ) ("org-static-kb" :base-directory "/home/lbmoore/notebook/tchkb/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "/home/lbmoore/public_html/tchkb/" :recursive t :publishing-function org-publish-attachment ) ("org" :components ("org-notes" "org-static" "tchkb" "org-static-kb")) )) when I cp the .org files and the .emacs to another machine it generates fine which make me think that there is a cache or tmp file somewhere that holds the original title. L
On 19.3.2011, at 04:13, lbmlist@hethcote.com wrote:
>
>
> On Fri, 18 Mar 2011, Nick Dokos wrote:
>
>>
>> Do you have a :sitemap-title entry in your config? Better yet, if there
>> are no privacy concernts, why don't you post your publishing
>> configuration?
>>
>> Nick
>>
>
> From my .emacs:
>
> (setq org-publish-project-alist
> '(("org-notes"
> :base-directory "/home/lbmoore/notebook/org/"
> :publishing-directory "/home/lbmoore/public_html/org/"
> :base-extension "org"
> :recursive t
> :style "<link rel=\"stylesheet\" href=\"css/org-a.css\" type=\"text/css\"/>"
> :link-home "http://caritas/"
> :makeindex t
> )
> ("tchkb"
> :base-directory "/home/lbmoore/notebook/tchkb/"
> :publishing-directory "/home/lbmoore/public_html/tchkb/"
> :base-extension "org"
> :recursive t
> :auto-sitemap t
> :style "<link rel=\"stylesheet\" href=\"css/org-a.css\" type=\"text/css\"/>"
> :link-home "http://caritas/"
> :makeindex t
> )
> ("org-static"
> :base-directory "/home/lbmoore/notebook/org/"
> :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
> :publishing-directory "/home/lbmoore/public_html/org/"
> :recursive t
> :publishing-function org-publish-attachment
> )
> ("org-static-kb"
> :base-directory "/home/lbmoore/notebook/tchkb/"
> :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
> :publishing-directory "/home/lbmoore/public_html/tchkb/"
> :recursive t
> :publishing-function org-publish-attachment
> )
> ("org" :components ("org-notes" "org-static" "tchkb" "org-static-kb"))
> ))
>
>
> when I cp the .org files and the .emacs to another machine it generates fine which make me think that there is a cache or tmp file somewhere that holds the original title.
Have you tried forcing republishing of all files by using
a C-u prefix to your publishing command?
- Carsten
On Sat, 19 Mar 2011, Carsten Dominik wrote: > > On 19.3.2011, at 04:13, lbmlist@hethcote.com wrote: > >> > > Have you tried forcing republishing of all files by using > a C-u prefix to your publishing command? > I have now, and there is no change in result. C-u C-c C-e P does cause a longer export/publish time but result appears the same. > > - Carsten Louis
I see that the old title is cached in ~/.org-timestamps, I'll try clearing
that and see what happens.
L
On Sat, 19 Mar 2011, lbmlist@hethcote.com wrote:
>
>
> On Sat, 19 Mar 2011, Carsten Dominik wrote:
>
>>
>> On 19.3.2011, at 04:13, lbmlist@hethcote.com wrote:
>>
>>>
>>
>> Have you tried forcing republishing of all files by using
>> a C-u prefix to your publishing command?
>>
>
> I have now, and there is no change in result.
>
> C-u C-c C-e P does cause a longer export/publish time but result appears the
> same.
>
>
>>
>> - Carsten
>
> Louis
>
>
Hi,
lbmlist@hethcote.com writes:
> At one point in the recent past I had a file org.org with
> #+TITLE: LBM TCH KB Org
>
> Eventually I changed it to be
> #+TITLE: KBorg
>
> no matter what I do, the generated sitemap pick up the old title.
This was a bug in Org 7.5 which has been fixed in Org 7.5 -- upgrading
to the latest release should fix your problem.
HTH,
--
Bastien
Bastien <bzg@altern.org> writes:
> This was a bug in Org 7.5 which has been fixed in Org 7.5 --
Ahem -- I mean it was a bug in Org 7.4, of course.
--
Bastien