Link Crawling Method

bluemagic

Regular Member
Joined
Apr 22, 2008
Messages
273
Reaction score
40
Hey guys,

I have several thousand URLs that are in NON hyperlinked form (They're in a text file) that need to hyperlinked.

I have a tool that can crawl through a site and get URLs in URL#TITLE form.

Do you guys have any ideas on how to get these non hyperlinked urls in hyperlinked form so that the tool can crawl?
 
Okay I should describe it more clearly. I have several 1000 web addresses like

http://g00gle.com

but they're not in hyperlink form. I need them to be links

I've tried copy and pasting into an ICQ conversation, and the links were made. However I have way too many URLs to keep doing that.
 
Find: http://
Replace with: <a href="http://

Find: .com, .net, .org...etc
Replace: "></a>
 
cant you just copy and paste into notepad and save the page as html, then open that file in a web browser?

That will convert to hyperlink.
 
This is so funny cuz i had the same issue last night :) You can use the find and replace method in notepad but the problem is at the end of the url. If you have .com/ or .org/ you can't just replace the slash with " because you will end up with href=http:/"/" :( Not good! So the solution i cam up with was a macro for excel.....just create a macro and copy the code below and run it!

Code:
' Converts each text hyperlink selected into a working hyperlink
'
    For Each xCell In Selection
        ActiveSheet.Hyperlinks.Add Anchor:=xCell, Address:=xCell.Formula
    Next xCell
'

just make sure the list is one column! Worked for me :D
 
Ok i think i can help with this
A small program i love as it has saved the day many times for me
Just google TextMorph its freeware
Install it
Then run the program
Click file scroll down to Mulitiple file Morph
This is the option you need to use
Click the next button
Then find the folder with all the text files in it
You have a lot of useful options to help you here
Add the files you want here then click next
Here you can set up the search and replace
Or what ever you like/need
Then click next again
HERE tick the Super Fast Morph box
Then click start and watch this baby fly

This is a most have in my tool box
 
The way I've done it is with a spreadsheet, you can also do anchor text.

=A1&A2&A3
 
why not do this with php - pretty easy if you have the urls one to a line.
 
Back
Top