On 16/09/2010, at 12:28 PM, Yang wrote:
> 1. Where can I get a copy of this package and component (i.e.
> googleSiteMap,sitemap) in :
>   <cfset oSiteMap=createObject('component',
> 'farcry.core.packages.googleSiteMap.sitemap').init()>

Make sure you upgrade to the latest core release:
svn checkout https://farcry.jira.com/svn/FC/tags/milestone-6-0-5

Or the head of the p600 branch would be fine.

By the way all milestone builds can be reached here:
https://farcry.jira.com/source/browse/FC/tags

You will find the code under:
./core/packages/googleSiteMap


> 3. In the webskins, do I repeat this line of code for other content
> types, e.g. dmHTML:
> 
> <cfset
> xml=oSiteMap.generate(stSiteConfig=stSiteConfig,siteMapType="siteMap",
> types="dmNavigation")>
> <cfset
> xml=oSiteMap.generate(stSiteConfig=stSiteConfig,siteMapType="siteMap",
> types="dmHTML")>

>From the wiki page at:
https://farcry.jira.com/wiki/display/FCDEV60/Google+Sitemap

Multiple Content Types
In the types argument passed to the oSiteMap object you have a list of types. 
The sitemap generator will then add all of those type into the sitemap.


> 4. Lastly,I assume we need to setup a schedule in FC to update the
> sitemap?

There is no need for a schedule. The sitemaps are dynamic, and are built every 
time they are requested.  I would recommend a @@cacheTimeout setting in line 
with the frequency of your updates.

Hope that helps,

-- geoff
http://www.daemon.com.au/
skype. gb.daemon

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to