Adding links to your comments

A Copublisher who made the very common mistake of not formatting a link correctly in a comment recently asked if there was some way around this problem. Rather than get off topic in the forum where the question was asked, I've decided to answer his question here.

The specific problem was that links were added without the 'http://' prefix, and did not link correctly when clicked. Well, the standards the internet is based on require that "http://" at the beginning so that we knows what kind of link you're talking about. There are several different ways a link can start, the most common being "ftp://" to connect to an FTP file server, and "mailto:" to link to an email address.

Those are just the rules; every web browser I've seen follows them strictly. While it's possible to write programs that correct bad HTML entered by users, they're not perfect, as they have to guess at what you were trying to type. Also, they encourage bad coding. For these reasons very few sites use programs that correct bad html.

I'd guess that this - malformed links - is among the most common mistakes made with HTML. I've just added a little guide to including links to the form Copublishers use to post comments, I'll paste it below as well. Note that if you have "autoformat" selected on your comment, any URL (for example, http://www.narconews.com) pasted into your comment will automatically become a clickable link. Once you post your comment, you can't change or delete it, so be sure to hit "preview" first, and try out all the links, before hitting that "Post" button.

Here is the message now attached to the comment form:

To create a link in your text, use the following format:
<a href="http://www.narconews.com">Narco News</a>
(results in text Narco News linked to url http://www.narconews.com)
Note: if you do not start your link with "http://", it will not link correctly.

Comments

Auto-format is easier

If you set your comment option to auto-format, you can simply put the text followed by the link between brackets, i.e. [Narco News http://www.narconews.com] becomes Narco News

I stand corrected

Looks like someone is more of a scoop veteran than I am. I will change the comment message. Thanks!

"We're all in it together, kid" - Archibald Tuttle

(BTW, 'http://' still required in autoformat)

format about format

I tried to jump in here and offer a helpful explanation of how to make italics, bold type, and my favorite...

...italicized blockquotes!

...but each time I try to show the code I use it simply reverts to implementing that code, hiding the commands.

How do we non-techy types explain that?

Turn off auto-format

Al, you have to turn off auto-format and use regular HTML tags to explain auto-format.

Dan, I think you had this problem when you went back to edit the post.

aha!

...so if I turn off autoformat and turn on "plain text" then I can say that...

to make something bold...

<b>bold text</b>

to make something italicized...

<i>italic text</i>

...and to indent text...

<blockquote>indented text</blockquote>

Hmmm.

re: Turn off auto-format

Dan, I think you had this problem when you went back to edit the post.

Well, I'm keeping the post the same, so that this discussion makes sense in context in the future. But on the form used to post a new comment, you should find the correct text.

more autoformat tricks

Check out the autoformat guide that ships with scoop for more shortcuts that can be used in autoformat mode. There are tricks for doing *bold text* and _italic text_ and a few other things as well.

Adding a link to this page to the comment form.

how to make italics, bold, and blockquote in HTML

Make bold by putting <b>around your text</b> and italics by typing <i>around your text</i>.  These can also be combined, as Al does for:
<blockquote><i>italicized blockquote</i></blockquote>

(Hi Al, I hadn't realized replies were already posted when I started this, so this comment isn't really necessary, but this is a different, more complicated way to write characters that HTML uses for the markup code: use special character references that begin with an ampersand and end in a semicolon, in this case &lt; and &gt; ['Less Than' and 'Greater Than'].)
As Dan Feder wrote above, we can skip HTML code entirely by using the simple autoformat syntax.

What about diacritics?

I simply use the control-' keystroke in Word, but can't do that here. Suggestions?

Add comment

Our Policy on Comment Submissions: Co-publishers of Narco News (which includes The Narcosphere and The Field) may post comments without moderation. A ll co-publishers comment under their real name, have contributed resources or volunteer labor to this project, have filled out this application and agreed to some simple guidelines about commenting.

Narco News has recently opened its comments section for submissions to moderated comments (that’s this box, here) by everybody else. More than 95 percent of all submitted comments are typically approved, because they are on-topic, coherent, don’t spread false claims or rumors, don’t gratuitously insult other commenters, and don’t engage in commerce, spam or otherwise hijack the thread. Narco News reserves the right to reject any comment for any reason, so, especially if you choose to comment anonymously, the burden is on you to make your comment interesting and relev ant. That said, as you can see, hundreds of comments are approved each week here. Good luck in your comment submission!

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

User login

Navigation

Reporters' Notebooks

About Dan Feder

Biography
I was a member of the Narco News team in various capacities, from webmaster to Editor-in-Chief, from 2002-2008. Since 2006 I have also been a member of the International Peace Observatory, which performs human rights accompaniment for Colombian campesino organizations in conflict zones. I am now living in Boston and working as a website developer for DigitalAid, Inc.