<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: SilverStripe speed up Portfolio Sites with Static Publisher	</title>
	<atom:link href="https://nerdpress.org/2013/02/05/silverstripe-speed-up-portfolio-sites-with-static-publisher/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerdpress.org/2013/02/05/silverstripe-speed-up-portfolio-sites-with-static-publisher/</link>
	<description>...dev, tech problems and solutions.</description>
	<lastBuildDate>Sat, 09 Feb 2013 13:56:07 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Ivo Bathke		</title>
		<link>https://nerdpress.org/2013/02/05/silverstripe-speed-up-portfolio-sites-with-static-publisher/#comment-18087</link>

		<dc:creator><![CDATA[Ivo Bathke]]></dc:creator>
		<pubDate>Thu, 07 Feb 2013 15:53:10 +0000</pubDate>
		<guid isPermaLink="false">https://nerdpress.org/?p=2394#comment-18087</guid>

					<description><![CDATA[Thanks Will for pointing this out. I didnt know that.
Great feature.

I guess your snippet should be like this to get the urls right:

[php]
function pagesAffectedByChanges() {
        return array($this-&#062;Link(),$this-&#062;Parent()-&#062;Link());
    }
[/php]

When using this method it might be neccessary to have a strategy resp. method for each PageType, depending on pages that might be affected. This can become quite complex compared to just rebuild all after finishing edit.]]></description>
			<content:encoded><![CDATA[<p>Thanks Will for pointing this out. I didnt know that.<br />
Great feature.</p>
<p>I guess your snippet should be like this to get the urls right:</p>
<pre class="brush: php; title: ; notranslate">
function pagesAffectedByChanges() {
        return array($this-&gt;Link(),$this-&gt;Parent()-&gt;Link());
    }
</pre>
<p>When using this method it might be neccessary to have a strategy resp. method for each PageType, depending on pages that might be affected. This can become quite complex compared to just rebuild all after finishing edit.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: mgherkins		</title>
		<link>https://nerdpress.org/2013/02/05/silverstripe-speed-up-portfolio-sites-with-static-publisher/#comment-18085</link>

		<dc:creator><![CDATA[mgherkins]]></dc:creator>
		<pubDate>Wed, 06 Feb 2013 13:57:50 +0000</pubDate>
		<guid isPermaLink="false">https://nerdpress.org/?p=2394#comment-18085</guid>

					<description><![CDATA[RT @nerdpress_org: SilverStripe speed up Portfolio Sites with Static Publisher  http://t.co/u082WJhC #fb #silverstripe]]></description>
			<content:encoded><![CDATA[<p>RT @nerdpress_org: SilverStripe speed up Portfolio Sites with Static Publisher  <a href="http://t.co/u082WJhC" rel="nofollow ugc">http://t.co/u082WJhC</a> #fb #silverstripe</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Will		</title>
		<link>https://nerdpress.org/2013/02/05/silverstripe-speed-up-portfolio-sites-with-static-publisher/#comment-18081</link>

		<dc:creator><![CDATA[Will]]></dc:creator>
		<pubDate>Wed, 06 Feb 2013 03:21:41 +0000</pubDate>
		<guid isPermaLink="false">https://nerdpress.org/?p=2394#comment-18081</guid>

					<description><![CDATA[You don&#039;t need a button to manually rebuilt. Simply define the pagesAffectedByChanges() function on your object which returns the urls that you want to republish when you publish the page

For instance, a simple case may be to republish just the current page and the parent page

[php]
function pagesAffectedByChanges() {
  return array(
    $this-&#062;URLSegment, $this-&#062;Parent()-&#062;URLSegment
  );
}
[/php]
https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/docs/en/StaticPublisher.md]]></description>
			<content:encoded><![CDATA[<p>You don&#8217;t need a button to manually rebuilt. Simply define the pagesAffectedByChanges() function on your object which returns the urls that you want to republish when you publish the page</p>
<p>For instance, a simple case may be to republish just the current page and the parent page</p>
<pre class="brush: php; title: ; notranslate">
function pagesAffectedByChanges() {
  return array(
    $this-&gt;URLSegment, $this-&gt;Parent()-&gt;URLSegment
  );
}
</pre>
<p><a href="https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/docs/en/StaticPublisher.md" rel="nofollow ugc">https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/docs/en/StaticPublisher.md</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
