NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page sitemap generators.

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 04-25-2007, 01:47 PM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: May 2005
Location: Ontario Canada
Posts: 3,088
unknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to behold
 


Diabetes

sitemap generators.


Hey
I know some PHP and mysql and other languages...and i wanted to know if anyone can find me a tutorial on how sitemaps are generated..so i can try to make a sitemap generator script...i know there are already sites out there that make sitemaps for u..even free...but my purpose is to learn too make my own...
thanks
unknowngiver is offline  
Old 04-25-2007, 02:40 PM   #2 (permalink)
Senior Member
 
Xyzer's Avatar
Join Date: Aug 2005
Location: United Kindom
Posts: 1,502
Xyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to allXyzer is a name known to all
 


Tsunami Relief AIDS/HIV
Here is a free site that may help you on your travels, rep would be appreciated.

http://www.xml-sitemaps.com/
Xyzer is offline  
Old 04-25-2007, 05:23 PM THREAD STARTER               #3 (permalink)
Senior Member
Join Date: May 2005
Location: Ontario Canada
Posts: 3,088
unknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to behold
 


Diabetes
grr did u read my post
i know that website already..i dont want a free generator..i want to know how to MAKE one..how do they work
unknowngiver is offline  
Old 04-26-2007, 09:31 AM   #4 (permalink)
NamePros Expert
 
Peter's Avatar
Join Date: Nov 2003
Location: Scotland
Posts: 5,074
Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute
 


Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
It is fairly simple to do.

With the address you are given you would need to get the pages html and parse it ie taking all of the links out of it (only the internal links).

With the links gained check and ensure that you do not have any duplicates and add them to the sitemap. Then go into each link and do the same again (again ensuring the same links do not exist twice, nor a page is linking too itself). You may also want to log how deep into the site you have gone 9you may for example only want to go 5 deep) and how many links you have gained (sitemaps are usually limited on how many links can go in them and how big the files can be).
Peter is offline  
Old 04-26-2007, 03:49 PM   #5 (permalink)
cef
NamePros Regular
Join Date: May 2004
Location: NYC
Posts: 236
cef is a jewel in the roughcef is a jewel in the roughcef is a jewel in the rough
 


Animal Rescue
As Peter said, what you want is to write what's known as a spider to crawl the pages on your site. The results of the crawl will be used as the basis for generating the sitemap.

If you'd rather focus your efforts on the sitemap generator functionality and not get bogged down in writing the spider itself, you can find many free php spider scripts at hotscripts which you can use as the foundation for your system: http://www.hotscripts.com/search/15117683.html
cef is offline  
Old 04-26-2007, 04:33 PM THREAD STARTER               #6 (permalink)
Senior Member
Join Date: May 2005
Location: Ontario Canada
Posts: 3,088
unknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to beholdunknowngiver is a splendid one to behold
 


Diabetes
Originally Posted by cef
As Peter said, what you want is to write what's known as a spider to crawl the pages on your site. The results of the crawl will be used as the basis for generating the sitemap.

If you'd rather focus your efforts on the sitemap generator functionality and not get bogged down in writing the spider itself, you can find many free php spider scripts at hotscripts which you can use as the foundation for your system: http://www.hotscripts.com/search/15117683.html
no i dont want to make a searchengine..i just want to make a script like
????: NamePros.com http://www.namepros.com/programming/320810-sitemap-generators.html
http://www.xml-sitemaps.com/ to generate my own sitemaps
anyway..peter..thanks..that helped..now is there a script that does it out there? wherei can actually see the code? or partial code..so i know where to start from

and what is the format in XML that i have to save?
unknowngiver is offline  
Old 04-27-2007, 07:54 AM   #7 (permalink)
cef
NamePros Regular
Join Date: May 2004
Location: NYC
Posts: 236
cef is a jewel in the roughcef is a jewel in the roughcef is a jewel in the rough
 


Animal Rescue
Originally Posted by unknowngiver
no i dont want to make a searchengine..i just want to make a script like
????: NamePros.com http://www.namepros.com/showthread.php?t=320810
http://www.xml-sitemaps.com/ to generate my own sitemaps
I know that. But sitemap generators work the same way. Internally, they are very similar.

I've actually written a site search engine AND a sitemap generator, and they share a lot of code, starting with the page parser and site crawler.

Anyway, good luck.

//unsubscribes
cef is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:20 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger