|
| |
|
|
J-man
Posts: 936 From: Canada Status: offline
|
urllist.txt - yahoo - 12/5/2005 3:52:09
for anyone who does not know this (maybe do a search on it): create the file then goto http://submit.search.yahoo.com/free/request My question: I have a folder on the web that has 300 files in it, what is the easiest way to create a url list of these files (which have no name convention standards) thanks
< Message edited by J-man -- 12/5/2005 5:16:48 >
|
|
|
|
J-man
Posts: 936 From: Canada Status: offline
|
RE: urllist.txt - yahoo - 12/5/2005 16:03:06
couldn't get the compression method to work, anyone simuliar ? ...thanks Brian
|
|
|
|
J-man
Posts: 936 From: Canada Status: offline
|
RE: urllist.txt - yahoo - 12/5/2005 18:42:45
Edited - see below
< Message edited by J-man -- 12/6/2005 14:55:27 >
|
|
|
|
Reflect
Posts: 4767 From: USA Status: offline
|
RE: urllist.txt - yahoo - 12/6/2005 11:48:28
J-man, question on your last post. How do you use that? Do I make a file in the root of my web and just call it up in a browser? I tried pushing it out as an ASP page but recevied an error on for each x in fo.files, stated it expected end of statement. Thank you, Brian
_____________________________
|
|
|
|
J-man
Posts: 936 From: Canada Status: offline
|
RE: urllist.txt - yahoo - 12/6/2005 14:42:57
Strange when i copied an pasted from note pad the spacing got messed up, this is better and i modified it to produce more of what we may be looking for: You can put the file anywhere as long as the GetFolder path is direct at the folder you want a list of. <% dim fs,fo,x set fs=Server.CreateObject("Scripting.FileSystemObject") set fo=fs.GetFolder("d:\webs\site\folder\folder") ' //use Server.MapPath above to resolve physical path to folder you wish to get a list from for each x in fo.files 'Print the name of all files in the folder with the http://www.company.com/ Response.write("http://www.company.com/maybeAnotherFolderHere/" & x.Name & "<br />") next set fo=nothing set fs=nothing %> Question: i use some Flash applications on my site and I was wondering if it matters if i try to get the Y! bots to crawl .swf files - actually i'm not sure how swf files are indexed; independetly or if they are even indexed? Should i strip them out of the list or keep them in? Thanks BTW - maybe we can have a group effort to take this script to the next level? have a button that creates a txt file with the data, plus the option in the asp code to comment or uncomment certain file format extensions so the results don't or can be included - things like PDF, SWF, images, ets... And have the script beable to display the urls of any folder we ask it to. Any thoughts on this?
< Message edited by J-man -- 12/6/2005 18:36:00 >
|
|
|
|
Kitka
Posts: 2507 Joined: 1/31/2002 From: Australia Status: offline
|
RE: urllist.txt - yahoo - 12/9/2005 22:11:28
quote:
If you have Pythin available Goolge allready has a solution. Alas I do not Not having Python doesn't mean you can't have Google site maps. There are other tools: http://code.google.com/sm_thirdparty.html
_____________________________
Kitka **It is impossible to make anything foolproof because fools are so ingenious.**
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|