Re: [O] sitemap seems to cache old #+TITLE

2011-03-19 Thread Carsten Dominik

On 19.3.2011, at 04:13, lbml...@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


Re: [O] sitemap seems to cache old #+TITLE

2011-03-19 Thread lbmlist



On Sat, 19 Mar 2011, Carsten Dominik wrote:



On 19.3.2011, at 04:13, lbml...@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



Re: [O] sitemap seems to cache old #+TITLE

2011-03-19 Thread lbmlist


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, lbml...@hethcote.com wrote:




On Sat, 19 Mar 2011, Carsten Dominik wrote:



On 19.3.2011, at 04:13, lbml...@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






Re: [O] sitemap seems to cache old #+TITLE

2011-03-19 Thread Bastien
Hi,

lbml...@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



Re: [O] sitemap seems to cache old #+TITLE

2011-03-19 Thread Bastien
Bastien b...@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



Re: [O] sitemap seems to cache old #+TITLE

2011-03-18 Thread iemacs
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,  lbml...@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



Re: [O] sitemap seems to cache old #+TITLE

2011-03-18 Thread lbmlist


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, iem...@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,  lbml...@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






Re: [O] sitemap seems to cache old #+TITLE

2011-03-18 Thread Nick Dokos
lbml...@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



Re: [O] sitemap seems to cache old #+TITLE

2011-03-18 Thread lbmlist



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