CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/2/2008 2:30:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 17 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
zoltac007
Asp.Net User
SiteMap - how big?4/2/2008 2:30:09 AM

0/0

I have a website with roughtly 20,000 unique html pages.  They are stand alone pages and not linked to one another and they are all located in the root.  Is it feasible to create a sitemap for these pages and can the sitemap auto generate as pages are constantly being added automatically?  I am looking at the sitemap because I need a way to get webbots to migrate through the pages.  I am told because they are not linked to each other and because they are stand alone pages without a unifying structure the webbots will not find them.

Thank you

david wendelken
Asp.Net User
Re: SiteMap - how big?4/2/2008 8:47:48 AM

0/0

If I remember correctly, the sitemap contents (maybe not counting the items the user cannot do) finds its way into html code on your screen.  (I don't have my apps handy or I would test with a view-> source on the browser before posting.)

If that's true, a 20,000 item sitemap file would make even a "Hello World" page take forever to load.

I think it's possible to have multiple sitemap files in a hierarchical manner, but I haven't tested that.  You may want to give that a try.

Alternatively, you could put the sitemap contents into a data table and just query it back as xml, showing the entries that "make sense" given the current user's context.

Either way should get you the web-bot results you want.

 

 

 


 


If this answered your question, be sure to mark it as the answer. That way, everybody after you will know it's the answer also!
Dave Sussman
Asp.Net User
Re: SiteMap - how big?4/2/2008 3:33:58 PM

0/0

The site map in ASP.NET is meant to store the navigation structure of your site and is used to generate menus and breadcrumb controls. It's not really suited to managging such as large number of pages, especially as there is no relationship between the pages. Note that this is the ASP.NET site map architecture, which uses an xml file (by default) for the storage of the navigation links.

 If you're looking to just increase searchability, then you need a general site map page that contains a link to each of the other pages. You can create this automatically using the classes in the System.IO namespace. For example, Directory.GetFiles() returns an array of file names.

zoltac007
Asp.Net User
Re: SiteMap - how big?4/3/2008 2:13:48 AM

0/0

Thank you for the reply - can you eleborate a little.  All of the files I want to create linking to are located in the root and they are start with LnkCat, example LnkCatVA1234, LnkCatCA1234, LnkCatNY1345, etc.  Where would the code be placed? In WebConfig?

Thank you

Dave Sussman
Asp.Net User
Re: SiteMap - how big?4/3/2008 8:21:37 AM

0/0

No, you'd create a page called sitemap.aspx, with the following as its content:

<asp:PlaceHolder id="PlaceHolder1" runat="server" />

In the code behind file, add the following at the top of the page:

Using System.IO;

Then place the following in the Page_Load event:

foreach (string file in Directory.GetFiles(Server.MapPath("."), "LnkCat*"))
{
    FileInfo fi = new FileInfo(file);

    HyperLink lnk = new HyperLink();
    lnk.NavigateUrl = fi.Name;
    lnk.Text = fi.Name;

    PlaceHolder1.Controls.Add(lnk);
    PlaceHolder1.Controls.Add(new LiteralControl("<br />"));
}

This loops through the files and creates a new hyperlink for each one. In VB, you'd use (at the top of the page):

Imports System.IO

Then in Page_Load:

         For Each file As String In Directory.GetFiles(Server.MapPath("."), "LnkCat*")
            Dim fi As New FileInfo(file)

            Dim lnk As New HyperLink()
            lnk.NavigateUrl = fi.Name
            lnk.Text = fi.Name

            PlaceHolder1.Controls.Add(lnk)
            PlaceHolder1.Controls.Add(New LiteralControl("<br />"))
        Next

 

 

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional XML Development with Apache Tools: Xerces, Xalan, FOP, Cocoon, Axis, Xindice Authors: Theodore W. Leung, Pages: 519, Published: 2003
Cocoon: Building XML Applications Authors: Matthew Langham, Carsten Ziegeler, Pages: 504, Published: 2003
Businesswise - Words of Wisdom for Small Businesses with Big Ambitions: Words of Wisdom for Small Businesses With Big Ambitions Authors: Various, Andy Coote, Mindy Gibbins-Klein, Pages: 236, Published: 2007
ASP.NET 2.0 Instant Results Authors: Imar Spaanjaars, Paul Wilton, Shawn Livermore, Pages: 456, Published: 2006
Googlepedia: The Ultimate Google Resource Authors: Michael Miller, Pages: 782, Published: 2007
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Information Architecture for the World Wide Web: Designing Large-Scale Web Sites Authors: Louis Rosenfeld, Peter Morville, Pages: 461, Published: 2002
Web Standards Solutions: The Markup and Style Handbook Authors: Dan Cederholm, Jeffrey Zeldman, Friendsof ED., Pages: 253, Published: 2004
Web Redesign 2.0: Workflow That Works Authors: Kelly Goto, Emily Cotler, Pages: 281, Published: 2004

Web:
Site Map | Big Fish Games Free game downloads & online games at Big Fish Games - A new game every day! PC games & mac games - Play puzzle games, arcade games, mahjong games, ...
Big Brother 10 Sitemap | Big Brother 11 Spoilers Big Brother 10 - After Dark Coming back for another season · Big Brother 10 ... Big Brother 10 Sitemap. s. Comments are closed. Big Brother 10 Spoilers ...
Sitemap - Little Big Planet If you're looking for Little Big Planet cheats, levels, videos, screen shots, rumors, etc. you've come to the right place. - Sitemap.
Site map | Big Flash Casino BIG FLASH GAME OF THE DAY. Site map ... Big Flash Casino - Instant Play Casino - Best Flash Games ... Big Flash Casino Moneybookers Enjoy Their Vacation ...
Sitemap | Big Peach Running Co. Retailer of footwear, apparel and accessories serving the needs of metropolitan Atlanta's community of runners and walkers.
Sitemap for Big Rapids Real Estate Sitemap for Big Rapids Real Estate, Sitemap of my Lake & Lodge Realty website.
SiteMap at Big White Vacation Rentals :: Ski-in/Ski-out Luxury ... Ski-in/Ski-out mountain home accommodation in the best location at Big White Ski Resort. Ski homes have gourmet kitchens, rock fireplaces, hardwood floors, ...
Sitemap - Hajjar's Big and Tall Men's Clothing Hajjar's Big & Tall offers the season's most fashionable big and tall men's styles from the best quality names in men's wear like Polo Ralph Lauren, ...
Sitemap | Big Bad Dog Network Solutions Big Bad Dog Network Solutions · Email · RSS · Comments · Home · About · Home · Sitemap ... Category: Profile · View XML Sitemap. Plugin by dagondesign.com ...
Site Map - One Big Garden One Big Garden Logo. rwtag. Skip to content; Skip to navigation; Terms of use · Accessibility; : High-contrast layout; : Default layout; : Site map ...

Videos:
HEADLINE NEWS WITH DBICKFORDTRUTHTV! ONE OF THE BIG REASONS PALIN IS JOHN MCCAINS RUNNING MATE IS BECAUSE OF HER SILENCE ABOUT HAARP! IT SITS IN ALASKA! SHE KNOWS THE TRUTH ABOUT IT! 503-995-0567! truthome Page HAARP FAQ Site Map Glossary of Terms How to Contact HAARP Privacy Statement Please read the Cautionary Statement Questions of a techn...
voyeur site map black porn big tits pussy closeup creampie galleries Girls from all over the world on http://alwayslookingforsex.com other cultures, other sex habits !... Their related words are:voyeur site map bla...
voyeur site map black porn big tits pussy closeup creampie galleries Girls Girls Girls on http://alwayslookingforsex.com world is full of nice girls!... Their related words are:voyeur site map black porn big tit...
big tits free porn blog nude celebrities hot teens voyeur site map X Anything you wish on http://alwayslookingforsex.com for your pleasure!... Their usual wards are:big tits free porn blog nude celebrities hot te...
Shion - Shunka Shuto ~Four seasons~ official blog : http://ameblo.jp/bayside44diva/ MySpace : http://www.myspace.com/bayside44diva Buy (iTunes Store,¥200) : http://phobos.apple.com/Web...
big tits free porn blog nude celebrities hot teens voyeur site map sex Girls, sexy Girls on http://alwayslookingforsex.com world is full of nice girls!... Their related words are:big tits free porn blog nude celebri...
Happy Birthday Healing to Norman Hedman A healing gift to the talented musician, Norman Hedman for his birthday July 17, 2008. I have also recently updated this healing video for Norman. ...
Leilani.voyeur site map black porn big tits pussy closeup creampie xx Chat with naked girls on http://alwayslookingforsex.com world is full of nice girls!... Their related words are:voyeur site map black porn big...
big tits free porn blog nude celebrities hot teens voyeur site map sexy Girls from all over the world on http://alwayslookingforsex.com other cultures, other sex habits !... Their related words are:big tits free porn bl...
Monterey Bay Aquarium 2007 degicank.com Aquarium Ticket Info Buy Tickets Now Membership Aquarium Calendar Directions & Parking Visitor Tips Plan an Event What's New Animals & Exhibits Daily...




Search This Site:










wrox book's modules

the beer house starter kit problem

pagebase bug - easy fix

forum or discussion area ?

disable debugging temp files

dnn user group [switzerland]

buttons on site runs fine on dev machine, but not on server

login to website b from website a

get userid from membership class

error trying to ftp using a webdeployment project

vendor problem

forms authentication from different application directory

personalization of a property without displaying an editorpart

forum

gridview - adapter to render div for <table>, <tr> and <td>

search by profile property??? or seppuku?

dnn 3.1.0 passing logged in user to child portals

programitically set the masterpage to null

problems 10e editing modules

is this possible. some direction please

help with problem with retrieving the nt login

iis -- requiring secure connection

difference between dotnetnuke 4.0.3 source and starter kit

blog module and 4.0.1

urgent :how to add any type of file in discusson thread?

tree navigation problem

recording asp.net username in iis cs-username

hosting situation for portal....

problem in referencing dlls

enforce aps.net folder access authentication on iis. how to?

 
All Times Are GMT