Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 23rd, 2008, 12:45 PM
glasshalffull glasshalffull is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 1 glasshalffull User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 55 sec
Reputation Power: 0
Script for url extraction from url list

I've been looking for a script that will take my url list and extract a certain type of url from the list and put it into another list.

Let's say that I had a list of url's that I would put in notepad or MS Excel like this:


dogtaining.com/dogfood/order
beagleobedience.com/beagle.care/products.html
dogtraining.com
catfancy.com/reviewcatbook/bestcatbook.html
kittenbookreview.net
cattoysforkittens.info/whatdocatslike/toy.html


This script should take all original domains with no subdomains out of this list and put them into another notepad/excel document. So in the case above,

dogtraining.com
kittenbookreview.net

would be removed from the original list and then put into a new list.

This is a very simple script but I'm having problems locating anything like it. Does anyone know where I can find this type of script? Using windows.

thanks

Reply With Quote
  #2  
Old August 12th, 2008, 05:30 AM
Porky Porky is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: England
Posts: 278 Porky User rank is Sergeant (500 - 2000 Reputation Level)Porky User rank is Sergeant (500 - 2000 Reputation Level)Porky User rank is Sergeant (500 - 2000 Reputation Level)Porky User rank is Sergeant (500 - 2000 Reputation Level)Porky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 11 h 15 m 58 sec
Reputation Power: 15
Using excel?

Hi glasshalffull,

What language/method were you planning on using to sort the URLs?

You mention that you may have the list in Excel, so are you intending on using an Excel macro (VBScript) to sort them for you.

As you say, the script is very simple so perhaps it would be something you could write yourself? I dont think it would be too much effort as you would be using simple string-handling commands in VBscript, and you can either ask the highly skilled members of this forum to help when you get stuck, or contact me directly on MSN/email at:

diamondgeezer80 [ at ] hotmail.com

and I will talk about your code with you and get you started.

Good luck with whatever method you choose,

Paul / Porky

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Script for url extraction from url list


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT