1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to turn text links to clickable HTML links quickly

Discussion in 'Link Building' started by Pobman, Sep 18, 2009.

  1. Pobman

    Pobman Regular Member

    Joined:
    Aug 26, 2009
    Messages:
    288
    Likes Received:
    197
    Occupation:
    This is it!
    Location:
    Australia
    Home Page:
    After I have done a manual link build, and yes I do some by hand still, I have a TXT file with all the link locations. Whats the quickest way to change these text files to a clickable webpage, ie with <a href"=....

    So far I have just copied the TXT to word and used that to quickly convert each one to a clickable link and then save as HTML. However I am sure there must be a quicker way, as that takes a few minutes when you have a few hundred links.

    Hope that makes some sense!
     
  2. NoWhErE

    NoWhErE BANNED BANNED

    Joined:
    Feb 21, 2007
    Messages:
    208
    Likes Received:
    50
    Is your list like this?

    link1
    link2
    link3
    link4
    ?


    if so, you can just add a dash or something in front of each link, then maybe a + sign after the link (should be pretty fast if you just press down then hit your caracter, down, etc.)

    your list should like this pretty fast:

    -link1+
    -link2+
    -link3+
    -link4+

    then simply go to FIND and REPLACE (ctrl+F in dreamweaver), replace the "-" with <a href=" and then replace the "+" with " />
     
  3. Pobman

    Pobman Regular Member

    Joined:
    Aug 26, 2009
    Messages:
    288
    Likes Received:
    197
    Occupation:
    This is it!
    Location:
    Australia
    Home Page:
    Thanks, but that might actually take me longer, as it stands i put it in word then just press these keys
    <end><enter><delete> repeat.

    I will give your idea a go though...just in case its a little quicker.
     
  4. theguru68

    theguru68 Registered Member

    Joined:
    Jun 20, 2009
    Messages:
    67
    Likes Received:
    35
    You could copy them into Excel into column B1 for example. Then Put in <a href= " into column A1 and copy down as far as you need to. Column B1 would be your HTTP. Then in column C1 put "<a> and copy all the way down. Then in column d1 put in: =(A1&B1&C1) and copy that all the way down. This will combine all the columns. then you can then copy column D1 and "past special" into column E1 as "values". This removes the formula and pasts just the text. Good for copy and pasting. You can play around with it a bit and get it to where you need it. This is a very fast method of combining code and text. Hope that helps!

    My (A1) Dog (B1) Spot (C1) =(A1&B1&C1) (D1) MyDogSpot (E1)
     
    • Thanks Thanks x 1
    Last edited: Sep 18, 2009
  5. NoWhErE

    NoWhErE BANNED BANNED

    Joined:
    Feb 21, 2007
    Messages:
    208
    Likes Received:
    50
    Thats even better lol
     
  6. parse

    parse Registered Member

    Joined:
    Mar 14, 2009
    Messages:
    67
    Likes Received:
    23
    Open find & replace in your editor, select regex and add:

    find: ^(http://.*?)$
    replace: <a href="$1">$1</a>

    click "replace all"

    done.