* Publishing sitemap
@ 2014-06-18 7:54 Rawal, Vikas (ESD)
0 siblings, 0 replies; 6+ messages in thread
From: Rawal, Vikas (ESD) @ 2014-06-18 7:54 UTC (permalink / raw)
To: org-mode mailing list
When I publish my web-site using org-mode, with suitable options in my org-publish-projects-alist, I can get org-publish to create a sitemap.
Is it possible to just create the sitemap without publishing the whole project? I sometimes update a single file, and just publish it using org-publish-current-file. I would like the changes (for example, date) or if a new file is being published, the file itself, reflected in the sitemap. But I can’t do it unless I publish the whole project.
Is there a way to deal with this?
Vikas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Publishing sitemap
@ 2014-06-18 7:54 Vikas Rawal
2014-06-18 13:57 ` Rick Frankel
0 siblings, 1 reply; 6+ messages in thread
From: Vikas Rawal @ 2014-06-18 7:54 UTC (permalink / raw)
To: org-mode mailing list
When I publish my web-site using org-mode, with suitable options in my org-publish-projects-alist, I can get org-publish to create a sitemap.
Is it possible to just create the sitemap without publishing the whole project? I sometimes update a single file, and just publish it using org-publish-current-file. I would like the changes (for example, date) or if a new file is being published, the file itself, reflected in the sitemap. But I can’t do it unless I publish the whole project.
Is there a way to deal with this?
Vikas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Publishing sitemap
2014-06-18 7:54 Vikas Rawal
@ 2014-06-18 13:57 ` Rick Frankel
0 siblings, 0 replies; 6+ messages in thread
From: Rick Frankel @ 2014-06-18 13:57 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list
On 2014-06-18 03:54, Vikas Rawal wrote:
> When I publish my web-site using org-mode, with suitable options in my
> org-publish-projects-alist, I can get org-publish to create a sitemap.
>
> Is it possible to just create the sitemap without publishing the whole
> project? I sometimes update a single file, and just publish it using
> org-publish-current-file. I would like the changes (for example, date)
> or if a new file is being published, the file itself, reflected in the
> sitemap. But I can’t do it unless I publish the whole project.
>
> Is there a way to deal with this?
Looking at the source for `org-publish-projects' (grep for sitemamp in
ox-publish) it looks like the sitemap is generated in this line:
(if sitemap-p (funcall sitemap-function project sitemap-filename))
where `sitemap-function' defaults to `org-publish-org-sitemap'.
So (untested), you could try:
(org-publish-org-sitemap (assoc "my-project-name"
org-publish-project-alist)
where project is the actual properties list from `org-p
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Publishing sitemap
@ 2014-06-18 14:02 Rick Frankel
2014-06-19 11:32 ` Vikas Rawal
0 siblings, 1 reply; 6+ messages in thread
From: Rick Frankel @ 2014-06-18 14:02 UTC (permalink / raw)
To: vikaslists; +Cc: emacs-orgmode
Sorry, hit the wrong key... completed response below.
On 2014-06-18 03:54, Vikas Rawal wrote:
> When I publish my web-site using org-mode, with suitable options in my
> org-publish-projects-alist, I can get org-publish to create a sitemap.
>
> Is it possible to just create the sitemap without publishing the whole
> project? I sometimes update a single file, and just publish it using
> org-publish-current-file. I would like the changes (for example, date)
> or if a new file is being published, the file itself, reflected in the
> sitemap. But I can’t do it unless I publish the whole project.
>
> Is there a way to deal with this?
Looking at the source for `org-publish-projects' (grep for sitemamp in
ox-publish) it looks like the sitemap is generated in this line:
(if sitemap-p (funcall sitemap-function project sitemap-filename))
where `sitemap-function' defaults to `org-publish-org-sitemap'.
So (untested), you could try:
(org-publish-org-sitemap
(assoc "my-project-name" org-publish-project-alist)
"sitemap.txt")
rick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Publishing sitemap
@ 2014-06-27 20:44 John Tait
0 siblings, 0 replies; 6+ messages in thread
From: John Tait @ 2014-06-27 20:44 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 115 bytes --]
In a similar vein, is is possible to export (say) HTML from org with an
index without a formal publishing project?
[-- Attachment #2: Type: text/html, Size: 140 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-27 20:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18 7:54 Publishing sitemap Rawal, Vikas (ESD)
-- strict thread matches above, loose matches on Subject: below --
2014-06-18 7:54 Vikas Rawal
2014-06-18 13:57 ` Rick Frankel
2014-06-18 14:02 Rick Frankel
2014-06-19 11:32 ` Vikas Rawal
2014-06-27 20:44 John Tait
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).