Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 07-16-2003, 01:56 PM   #1 (permalink)
Administrator
 
Larry's Avatar
 
Join Date: May 2003
Posts: 1,408
Default generating a diagram - flowchart of a website

Does anyone of a program or tool that will automatically generate or create a chart of a website?

Something that will follow all the links on a site and some how display the link and/or file it links to.

Thanks
Larry is offline   Reply With Quote
Old 08-15-2003, 06:34 AM   #2 (permalink)
Junior Techie
 
Join Date: Aug 2003
Posts: 66
Default

I know how to make something like that in perl, but what do you want to do with a program like that...?
__________________
Da //FRAG-clan is da best!

ahum...
yoran is offline   Reply With Quote
Old 08-15-2003, 12:32 PM   #3 (permalink)
Administrator
 
Larry's Avatar
 
Join Date: May 2003
Posts: 1,408
Default

Hi Yoran...

Do you have something already built that can do that?

I want it for "web masters" and the like. If you want to visually see a website, how else can you do it besides manually writing it out?

I'm looking for an easier/faster way

Larry is offline   Reply With Quote
Old 08-16-2003, 03:51 AM   #4 (permalink)
Junior Techie
 
Join Date: Aug 2003
Posts: 66
Default

nope, I haven't make something like that before, and I don't know where you can learn it... (I found it out by my self...)

but I can give you a little documentation about getting pages with HTTP.
the only thing you have to do is parsing the HTML and it's done!

[little simple example about parsing html]
Code:
$html =~ /&lt;a href=(.+) target=(.+)>(.+)<\/a>/i;
$link = $1; $text = $3;
Then you will get ONE link of the page, but you must use the foreach-statement to get more!
Attached Images
 
__________________
Da //FRAG-clan is da best!

ahum...
yoran is offline   Reply With Quote
Old 08-22-2003, 12:26 PM   #5 (permalink)
Newb Techie
 
Join Date: Aug 2003
Posts: 16
Send a message via AIM to Psycluded
Default

Java/JSP can do this VERY easily using the built-in Document Object Model, especially the latter if you have Tomcat or another JSP app server running on your webserver.

Check this out. Chapter 8 is about the DOM. You can write a fairly simple JSP page that will traverse through your whole site, link by link, and catalogue where each page goes, etc. That is, if I understand what you're asking...
Psycluded is offline   Reply With Quote
Old 08-28-2003, 06:08 AM   #6 (permalink)
Junior Techie
 
Join Date: Aug 2003
Posts: 66
Default

yea, and JAVA or JSP is VERY slow!!!!!
__________________
Da //FRAG-clan is da best!

ahum...
yoran is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:15 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0