Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-18-2011, 02:53 AM   #1
Markul
Likes Pie
 
Markul's Avatar
 
Industry Role:
Join Date: Dec 2007
Location: The land that liberated porn
Posts: 12,401
Best tool to turn links into html code?

Say I need 200 links and turn them into <a href= bla bla or something like that, anyone have a good tool to do that? Besides search and replace
Markul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 02:59 AM   #2
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
Mass search and replace

really not sure, maybe some mass editor can help you
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 03:03 AM   #3
Markul
Likes Pie
 
Markul's Avatar
 
Industry Role:
Join Date: Dec 2007
Location: The land that liberated porn
Posts: 12,401
I was hoping there was an application out there where you - for example - could input three rows:

Row One:
<li><a href="

Row Two:
the url

Row Three:
" rel="blabla etc
Markul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 03:08 AM   #4
Inter-Sex
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Location: Spain :)
Posts: 2,231
Every php developper will be able to code you this under the 20 minutes.
Inter-Sex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 03:14 AM   #5
bns666
Confirmed Fetishist
 
bns666's Avatar
 
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,525
ultraedit should do the job
__________________
CAM SODASTRIPCHAT
CHATURBATEX LOVE CAM
bns666 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 03:42 AM   #6
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,601
Just do it via find&replace (for example with Notepad++ or any other text editor).. first you replace 'http..' with '<a href="http...' then the ending
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 03:45 AM   #7
Konda
...
 
Konda's Avatar
 
Industry Role:
Join Date: Apr 2003
Posts: 2,280
find and replace with regex, very easy
Konda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 09:52 AM   #8
over38
Confirmed User
 
over38's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 460
FHG Link Generator might work for you:

http://www.fhglink.com/
over38 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 10:07 AM   #9
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,601
Quote:
Originally Posted by over38 View Post
FHG Link Generator might work for you:

http://www.fhglink.com/
hm this one looks pretty useful
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 10:12 AM   #10
Sly
Let's do some business!
 
Sly's Avatar
 
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,297
Quote:
Originally Posted by Markul View Post
I was hoping there was an application out there where you - for example - could input three rows:

Row One:
<li><a href="

Row Two:
the url

Row Three:
" rel="blabla etc
You could do that in a spreadsheet. Would be pretty easy actually. All copy and paste. And then you concatenate the final cell.

Info1 Info2 Info3 concat
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted

Windows VPS now available - 1st month free for GFY members - DM for details

Wanted: CCBill pay sites for sale
Sly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 10:23 AM   #11
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
if you want, I can code you something like that for a few bucks... icq: 33375924 or woj#at#wojfun#.#com to discuss details
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 10:31 AM   #12
Markul
Likes Pie
 
Markul's Avatar
 
Industry Role:
Join Date: Dec 2007
Location: The land that liberated porn
Posts: 12,401
Yea thanks for all the input

I just used Excel as always
Markul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 11:17 AM   #13
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,355
easy to do, but how would you select the link text?

turning links into a hrefs is easy, but unless you have the proper link text that you want, unless you just want to turn them into a generic text.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 11:23 AM   #14
Webmazter
Registered User
 
Webmazter's Avatar
 
Industry Role:
Join Date: Aug 2011
Posts: 61
Well, notepad does job for me, ++ of course.
Webmazter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 11:36 AM   #15
Markul
Likes Pie
 
Markul's Avatar
 
Industry Role:
Join Date: Dec 2007
Location: The land that liberated porn
Posts: 12,401
Quote:
Originally Posted by fris View Post
easy to do, but how would you select the link text?

turning links into a hrefs is easy, but unless you have the proper link text that you want, unless you just want to turn them into a generic text.
Yea what I really wanted (and I see now that I was a bit unclear) is to take something like:

title, description, url

and turn that into

<li><a href="url" relation="the same for all" title="description">title</a></li>

And imagine I have a big ass list of urls I wanted to do this with. It's ok though, I'll ring up a mate and have him write me an application that'll do that.
Markul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 11:42 AM   #16
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,355
Quote:
Originally Posted by Markul View Post
Yea what I really wanted (and I see now that I was a bit unclear) is to take something like:

title, description, url

and turn that into

<li><a href="url" relation="the same for all" title="description">title</a></li>

And imagine I have a big ass list of urls I wanted to do this with. It's ok though, I'll ring up a mate and have him write me an application that'll do that.
would be easy to do in php load a text file, and the 3 variables
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2011, 12:02 PM   #17
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,355
Quote:
Originally Posted by Markul View Post
Yea what I really wanted (and I see now that I was a bit unclear) is to take something like:

title, description, url

and turn that into

<li><a href="url" relation="the same for all" title="description">title</a></li>

And imagine I have a big ass list of urls I wanted to do this with. It's ok though, I'll ring up a mate and have him write me an application that'll do that.
something like this maybe?

Code:
<?

// title,description,url

$fcontents = file('links.txt');

while (list ($line_num, $line) = each ($fcontents)) {
    $c[$count] = $line;
    $count++;
}

shuffle($c);

for($i = 0; $i < $count; $i++) { 
    $ln = explode (',', $c[$i]);
    $title = $ln[0];
    $desc = $ln[1];
    $url = trim($ln[2]);
    echo '<li><a href="'.$url.'" title="'.$title.'" rel="external">'.$desc.'</a></li>';
}

?>
exmaple of links.txt

Code:
google,search engine,http://www.google.com
yahoo,shitty search engine,http://www.yahoo.com
bing,lame attempt at google,http://www.bing.com
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.