Welcome to L-Space Design Forums Sign in | Join | Faq

Google Site Map for ASP.NET

Started by Anonymous at 10-09-2005 23:57. Topic has 0 replies.

   

Print Search
Sort Posts:    
   10-09-2005, 23:57
Anonymous
A Newbie learns the GoogleSiteMap process!
Thread Status:

For a newbie, not being a programmer it took me a while to get my head around all of this.
But WOW! customer service. Any question I asked was asked with professionalism and now I have a fully functioning site in relation to Google Site Maps. Thought I would jot it down for anyone else that might be daunted like me!
Here goes ....

Install instructions for GoogleSiteMap -----------------------------------------------

The following steps are needed to get the Google Sitemap loaded on your DNN web site.
It is assumed you have already registered for the sitemap program at http://www.google.com/webmasters/sitemap

This program is installed differently from the normal upload module routine with dotnetnuke.
Files have to be copied to specific places on your dotnetnuke server.

1. Copy LSpaceDesign.GoogleSiteMap.dll and LSpaceDesign.GoogleSiteMapForDotNetNuke3.dll into the website BIN directory (this is a folder at the root level of your site)
2. Copy GoogleMap.aspx into the website ROOT directory (This locaiton is required to comply with the Google specification)
3. Make changes to web.config file At the Root Level of your dotnetnuke site there is a text file called "web.config"
Make a back up of this file in a safe place then open up a copy with a text editor.
There are many sections in this file. The file starts with ... <CONFIGURATION> and ends with </CONFIGURATION> within <CONFIGURATION></CONFIGURATION> there are a number of sub sections. The subsection we are interested in is the one starting with <CONFIGSECTIONS> and ending with </CONFIGSECTIONS>

Within this subsection we need to add a new sectionGroup name.
This section is to be placed in the between the following headings:

<configSections> </configSections>

You will notice there may already be others starting with <sectionGroup name="

<sectionGroup">
    <section name="GoogleSiteMap" type="LSpaceDesign.GoogleSiteMap.ConfigurationHandler, LSpaceDesign.GoogleSiteMap" />
</sectionGroup>

We also need to add new instructions and details of your IP address and the serial number of the GoogleSiteMap product.
Your license key details will be provided to you after your purchase.

To achieve this the section (below) needs to be placed within the 'configuration' section of web.config, but AFTER the 'configSections' section.

This means placing it after </configSections>

<LSpaceDesign.Web>
    <GoogleSiteMap>
        <SiteMapLoader>LSpaceDesign.GoogleSiteMap.GoogleSiteMapForDotNetNuke3, LSpaceDesign.GoogleSiteMapForDotNetNuke3</SiteMapLoader>
        <ChangeFreq>weekly</ChangeFreq>
        <License>
            <IPADDRESS>127.0.0.1</IPADDRESS> <------- Example IP address
            <KeyCode>F6WA-A1RP-WG7B</KeyCode> <------- Example Keycode
        </License>
    </GoogleSiteMap>
</LSpaceDesign.Web>

4. To check your success Goto http://<PORTAL path>/GoogleMap.aspx?portalID=<PORTALID> to view your sitemap. It will list all pages which can be accessed by either 'All Users' or 'Unauthenticated users' as Google cannot access any other pages.
If there is an error, it will be displayed instead

An example of what you will see is...
This is an example where there is a home page and a links page

<URLSET>
    <URL>
        <LOC>http://www.domain.net/SearchResults/tabid/37/Default.aspx</LOC>
        <LASTMOD>2005-10-02</LASTMOD>
        <CHANGEFREQ>weekly</CHANGEFREQ>
        <PRIORITY>1.0</PRIORITY>
    </URL>
    <URL>
       <LOC>http://www.domain.net/Home/tabid/36/Default.aspx</LOC>
       <LASTMOD>2005-10-09</LASTMOD>
       <CHANGEFREQ>weekly</CHANGEFREQ>
       <PRIORITY>1.0</PRIORITY>
    </URL>
    <URL>
        <LOC>http://www.domain.net/Links/tabid/237/Default.aspx</LOC>
        <LASTMOD>2005-10-02</LASTMOD>
        <CHANGEFREQ>weekly</CHANGEFREQ>
        <PRIORITY>1.0</PRIORITY>
    </URL>
</URLSET>

5. Register each portal at Google with http://<PORTAL path>/GoogleMap.aspx?portalID=<PORTALID>
If you leave off the portalID, it will be assumed to be 0
Here is an example of a registration format
    http://www.mydomain.net/GoogleMap.aspx?portalID=0
    http://www.myotherdomain.com/GoogleMap.aspx?portalID=1 (Assuming it has the number 1)
    http://www.myotherotherdomain.com/GoogleMap.aspx?portalID=2

Any other questions? Try: http://forums.l-space-design.com/forums/27/ShowForum.aspx


    
L-Space Design ... » L-Space Design ... » Google Site Map... » A Newbie learns the GoogleSiteMap process!

   

Powered by Community Server, by Telligent Systems