Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...Parent PortalsParent Portals
Previous
 
Next
New Post
3/19/2008 11:06 PM
 

I have 20 or so parent portals on my site Aging Safely Adult Family Home Placement Service

Needless to say they share a single robot.txt which works ~ok. A single static "sitemap.xml"  doesn't work for the several different portals. Does you module look at the url, figure out the portal and work for all of the parent portals  such as "basic.AgingSafely.com" as well as portal 0 "www.AgingSafely.com"?

 

Regards,

Dave Snow

 
New Post
3/19/2008 11:40 PM
 

I decided to try this on my localhost and I think that I added the correct bits to the web.config. Bold shows placement.  Site is running DNN 4.8.0

  <section name="googlesitemaps" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapSection, iFinity.DNN.GoogleSiteMapProvider" />
    </sectionGroup>

<add verb="*" path="GoogleSiteMap.axd" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapHandler, iFinity.DNN.GoogleSiteMapProvider" />
    </httpHandlers>

 

</system.web>
  <googlesitemaps defaultProvider="BaseGoogleSitemapProvider">
    <providers>
      <add name="BaseGoogleSiteMapProvider" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider"

defaultPagePriority="0.5" defaultPageUpdateFrequency="daily" includeHiddenPages="false"/>
      <add name="DnnForge - NewsArticles.GoogleSiteMapProvider" type="iFinity.DNN.Modules.GoogleSiteMap.ArticlesGoogleSiteMapProvider, iFinity.DNN.ArticlesSitemapProvider"

defaultPagePriority="0.5" defaultPageUpdateFrequency="daily" includeHiddenPages="false"/>
    </providers>
  </googlesitemaps>

------------------------

The end result is:

Parser Error Message: Unrecognized configuration section googlesitemaps.

Line 222:    </membership>
Line 223: </system.web>
Line 224: <googlesitemaps
defaultProvider="BaseGoogleSitemapProvider">
Line 225: <providers>
Line 226: <add name="BaseGoogleSiteMapProvider"
type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider"
defaultPagePriority="0.5" defaultPageUpdateFrequency="daily"
includeHiddenPages="false"/>

Any ideas????

/DaveS

 
New Post
3/20/2008 1:12 AM
 

Dave

The Google SIte Maps section needs to be outside of the DotNetNuke SectionGroups element.

<configSections>

<sectionGroup name="dotnetnuke">

...

</sectionGroup>

<section name="googlesitemaps".... />

Just move your googlesitemaps section definition outside the </sectionGroup> and you should be fine.

-Bruce


Chief Software Hacker
 
New Post
3/21/2008 12:47 AM
 

I moved the "section name..." stuff down past the </sectiongroups>

Now I am one step further along. 

I re-cloned my production system and did a test upgrade to DNN4.8.2 today before I decided to re-try your googlesitemap.  Note: Both my production system and clone run Snapsis PageBlaster V3.0 which I am doing some of the testing for John Mitchell.

My localhost clone has an external of http://dsnow2.dnsalias.com/asi3/

At first when I tried http://dsnow2.dnsalias.com/asi3/GoogleSiteMap.axd I got a 404 error. Then I disabled PageBlaster and got

<urlset>

    <!--
An Exception has occured : Object reference not set to an instance of an object.   at DotNetNuke.Services.Localization.Localization.GetEnabledLocales()
   at DotNetNuke.Common.Globals.NavigateURL(Int32 TabID, Boolean IsSuperTab, PortalSettings settings, String ControlKey, String Language, String[] AdditionalParameters)
   at DotNetNuke.Entities.Tabs.TabInfo.get_FullUrl()
   at iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider.GetTabURL(TabInfo ti)
   at iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider.GetSitePages(String siteUrl)
   at iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider.GetGoogleSiteMap(String siteURL)
-->
</urlset>

There are no exceptions in the log viewer.

Adding  \.axd to the exclude path for PageBlaster V3.0

<path pattern="(\.axd|ListX|\.ashx|LinkClick|rss|install|thumb|wizard|cart|\.asmx)" excludeFrom="All" />

Got rid of the 404 error with PageBlaster, but I still have the exception with no entry in the log.

Any Ideas on this one? Config error or what.

I'll ask John if he thinks that axd should or should not be included in his default PB.config file.

/DaveS

 
New Post
3/22/2008 5:29 PM
 

I talked with John and he recommended not adding "\.axd" to the exclude all list but adding "GoogleSiteMap", since he too used axd files.  However the problem still persists with or withour PageBlaster enabled.  Any ideas? Did they mess with any areas that you might rely on in DNN 4.8.*?

I suppose that you know that emails from this forum notifying of updates don't work with this version of the Forum.  It sure is fun to have to run from site to site each day to see if any forum posts have been replied to. 

/DaveS

 

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...Parent PortalsParent Portals


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.