LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2010, 04:16 PM   #1
mackintosh
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Yet Another Simple Tool - linspill


Hi everyone,
some time ago I had a set of link titles and wanted to get HTML tags for them. Actually I wanted to get from
Code:
example link
to
Code:
<a href="http://www.example.com/example-link.html">example link</a>
and that's exactly what http://www.linkspill.com tool does.

Looking forward for you thumbs up/down and constructive criticism.

It's PHP based (running on linux of course . I'm sure same thing is possible by some awk/sed magic, but i wanted somehting more visual.

Enjoy!
 
Old 07-09-2010, 01:00 AM   #2
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Hmm, my test-fish
Code:
><(((>
results in this thing:
Code:
<a href="http://www.example.com/><(((>" >><(((></a><br />
Obviously not the correct result. Use urlencode() on the hyperlink part and htmlspecialchars() on the description part to make it robust for such cases.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any tool which can make screenshots and then do a simple annotation/editing? xiawinter Linux - Software 8 08-16-2008 06:30 AM
LXer: Simple Text Transformation Tool LXer Syndicated Linux News 0 05-08-2008 06:20 AM
Simple Video Editting Tool doctorwebbox Linux - Software 5 01-30-2006 04:24 PM
Is there an integrated simple tool for calculation dragomir Linux - Newbie 1 02-26-2004 11:10 AM
Simple LAN admin tool Ryan_Sutton Linux - Networking 2 06-02-2002 10:48 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration