Tags:
create new tag
view all tags

SID-00959: Publishing content included from other pages

Status: Answered Answered TWiki version: 4.0.1 Perl version: 5.6.1
Category: PublishContrib Server OS: RedHat Linux Last update: 15 years ago

Take a page that can be published to a static .html page.

If that page is including content from another page (via %INCLUDE%) that content will not be published, regardless if the other page's contents are marked for publishing.

Is there any way to get content that is included from another page to be output for publishing?

-- RichardNalezynski - 2010-09-02

Discussion and Answer

I am not familiar with PublishContrib, possibly an access control issue of the user used to publish content?

At work and elsewhere we use the PublishWebPlugin that offers totally automated publishing. With this plugin you probably do not have the include issue because the user who is updating the page is used for publishing.

-- PeterThoeny - 2010-09-03

Publishing is done via an automated script behind the scenes, so it has nothing to do with the current user.

I don't know if PublishWeb will make any difference because the publish script runs nightly.

All other pages work fine; but any included content does not get added.

The undesirable solution would be to just copy the contents of each include page directly over, but that is going to be a mantenance nightmare!

-- RichardNalezynski - 2010-09-03

That is my point, the publish script might run as guest user, thus does not have access to the included page if it is access restricted. Look at the code of the script to see if it can be run as a different user as far as TWiki is concerned. Or, remove the access restriction of the included page in case that is feasible.

-- PeterThoeny - 2010-09-03

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2010-10-06

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Publishing content included from other pages
SupportCategory PublishContrib
TWiki version 4.0.1
Server OS RedHat Linux
Web server Apache
Perl version 5.6.1
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2010-10-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.