Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

EZ links

by jest (Pilgrim)
on Aug 03, 2004 at 13:43 UTC ( [id://379634]=perlquestion: print w/replies, xml ) Need Help??

jest has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I'm working on a Web-based bibliography, and I'd like to give users the ability to add links to other items within the database, so that someone could enter, "This is a revised edition of Smith 1998," and end up with "This is a revised edition of Smith 1998", with "Smith 1998" hyperlinked to that database record.

I thought that there would be some obvious way of doing this, so I looked at a few different Wiki engines on the assumption that this was the best model, and was surprised to find that each one I looked at had a totally different way of handling this.

revised edition of [[343|Smith 1998]]
was one,
revised edition of [Smith http://www.mysite.com/biblio/?id=343 1998]
is another, Perlmonks itself has yet another system, with
revised edition of [id://343|Smith 1998].

Are there any discussions of the pros and cons of different systems, or is there anything that's becoming a standard in Perl? Naturally the more I think about it the more I imagine the need for extremely complex things that will annoy uers. I'm using the Template Toolkit for my output engine, if that matters.

Thank you.

Replies are listed 'Best First'.
Re: EZ links
by Jaap (Curate) on Aug 03, 2004 at 14:41 UTC
    These are all "freelinks" you talk about. There's also the CamelCase way of linking, but it doesn't allow spaces n your linkname. Personally, i like the
    [Link text|nodename] [nodename]
    way of working.
Re: EZ links
by valdez (Monsignor) on Aug 04, 2004 at 11:37 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://379634]
Approved by sweetblood
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found