1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Question for html experts

Discussion in 'HTML & Website Design' started by emigre, Jan 19, 2011.

  1. #1
    Is there any way to turn this:

    hxxp://justsomeurl.com/someotherstuff

    into

    <a href="hxxp://justsomeurl.com/someotherstuff">hxxp://justsomeurl.com/someotherstuff</a>

    for a long list of several hundred urls to copy and paste without doing one by one?

    I've searched - some can convert txt urls into live html links but there's no way to save or copy the entire list.
     
    emigre, Jan 19, 2011 IP
  2. jampack

    jampack Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can simply use excel for this conversion
    in first colum you should set <a href="
    in second column you should set your urls
    in third column you should set ">
    in fourth column again you should set your urls as you did in second colum
    in fifth column you should set </a>

    finally you can merge all colums or you can select all colums and row with text
    then copy and paste them into notepad
     
    jampack, Jan 19, 2011 IP
  3. GWiz

    GWiz Peon

    Messages:
    359
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you give us a sample of how the domains look, that way we can propose an ideal solution. Such as, what kind of file is it saved as, is it 1 domain after the other, separated by a space, line, etc?

    Basically you might need to use Regular Expressions to do a search and replace and fill in the blanks with the anchor code.
     
    GWiz, Jan 19, 2011 IP
  4. emigre

    emigre Peon

    Messages:
    516
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    @jampack: cool...let me try that
    @GWiz: will try that first...


    Thanks mucho!
     
    emigre, Jan 19, 2011 IP
  5. emigre

    emigre Peon

    Messages:
    516
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    worked to a certain extent, but lots of cleaning up to do with these characters:

    &quot;&lt;/a&gt;&lt;
     
    emigre, Jan 19, 2011 IP
  6. godloves

    godloves Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    you better try it from ms-excel
     
    godloves, Jan 19, 2011 IP
  7. MasterWeb

    MasterWeb Active Member

    Messages:
    179
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #7
    use Replace function on excel…
     
    MasterWeb, Jan 19, 2011 IP
  8. calvin4u

    calvin4u Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i have replace all function on site so..
     
    calvin4u, Jan 20, 2011 IP
  9. fdizzley

    fdizzley Guest

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I agree with jimahesh, what's the point of using Excel when you can do a find replace with nearly any text editor?
     
    fdizzley, Jan 21, 2011 IP
  10. xwdfly

    xwdfly Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Good method...
     
    xwdfly, Jan 21, 2011 IP
  11. allwebactivities

    allwebactivities Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    use dreamweaver software to replace your source code with find and replace function
     
    allwebactivities, Jan 22, 2011 IP