Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Staticpublisher and Offline Content


Go to End


1295 Views

Avatar
robinp

Community Member, 33 Posts

25 May 2009 at 11:31am

Hi All,

What I need to able to do export a version of the site for complete offline viewing. Staticexporter is giving my output with a <base href="" /> and links that are like <a href="/about">About</a> Is this something I'm not doing right ?

I'm thinking the solutions could be
- build a new script based on Staticexporter that uses a series hardcoded str_replace's to correct the problem.
- use wget

I've looked at staticpublisher and that still seems to give me links that are relative to the root of the server and links to live CSS files.

Interested in your response

Cheers

Robin