Saturday, February 11, 2012

Sitecore Fetch Squad

Automated crawler fetching websites and blogs from Sitecore content

using Sitecore.Kernel.Webutils

Crawled: On December - 29 - 2008 Source
Webutils functions can be used as helper functions as well. In order to get the url of the server, we can use it as follows:

install it in web.config:

<xslExtensions>
...
<extension mode="on" type="Sitecore.Web.WebUtil, Sitecore.Kernel" namespace="http://www.sitecore.net/webutil" singleInstance="true" />
</xslExtensions>

declare it in your xslt:

xmlns:webutil="http://www.sitecore.net/webutil"

then use it (example from a “print page” footer):

<xsl:text>Artiklens placering: </xsl:text><xsl:value-of select="webutil:GetServerUrl()" /><xsl:value-of select="sc:path(.)" />

The Sitecore Experience

Comments are closed.

Sitecore Lucene index does not remove old data

Posted by admin
Oct-30-2011 I Comments Off

Teach User Manager how to search by email

Posted by admin
Oct-30-2011 I Comments Off

Language filtered Multilist field

Posted by admin
Oct-30-2011 I Comments Off