Source code for Futures neded

Last post 04-07-2008 8:03 AM by thirumaran007. 1 replies.

Sort Posts:

  • Source code for Futures neded

    03-26-2008, 12:22 AM
    • Loading...
    • rfurdzik
    • Joined on 07-01-2002, 6:32 PM
    • zikbay.com
    • Posts 1,612

    Is there source code of Futures available? I am looking for Search Site map provider source. I want to change the way index file is generated. I want to add option to split file into several smaller, each less than 50,000 links if neded... That is limitation of google... The URL list file can not be more than 50,000 URLS!

  • Re: Source code for Site map

    04-07-2008, 8:03 AM


    Hi,

    Write a basic site map inline coding as the following format in Master Page

    <asp:SiteMapPath CssClass="text_left_normal" ID="SiteMapPath1" runat="server" RenderCurrentNodeAsLink="false">
                                    </asp:SiteMapPath>
                                    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />


    and  write a xml file  as following

    <?xml version="1.0" encoding="utf-8" ?>
    <siteMap>

    <siteMapNode title="Home" url="~/test/testHomePage.aspx" >
      <siteMapNode title ="RootNOde" url ="test/rootNode.aspx">
       <siteMapNode title ="test1" url ="test/test1.aspx" ></siteMapNode>
       <siteMapNode title ="test2" url ="test/test2.aspx" ></siteMapNode>
       <siteMapNode title ="test3" url ="test/test3.aspx" ></siteMapNode>
       <siteMapNode title ="test4" url ="test/test4.aspx" ></siteMapNode>
      </siteMapNode>
      <siteMapNode title ="RootNOde2" url ="test/rootNode.aspx">
       <siteMapNode title ="test_test1" url ="test/"test_test1" .aspx" ></siteMapNode>
       <siteMapNode title ="test_test2" url ="test/"test_test2" .aspx" ></siteMapNode>
       <siteMapNode title ="test_test3" url ="test/"test_test3" " ></siteMapNode>
       <siteMapNode title ="test_test4" url ="test/"test_test4" .aspx" ></siteMapNode>
      </siteMapNode>

    </siteMapNode>
    </siteMap>

    -then you can set datasoruce as the XML File,

      
      

    With Friendly,
    Thirumaran

    Please remember to click "Mark as Answer" on this post if it helped you
Page 1 of 1 (2 items)