JUNE 17, 2009 5:32PM

Basic tips for posting and commenting on OS (UPDATE/REPOST)

Rate: 38 Flag

This post is an update and reorganization of an earlier post giving tips for posting and commenting on OS. This is my take on the basics: how to put links to other Web pages in your posts and comments, how to add video and audio to posts, and so forth. Many other OSers know as much about OS as I do, and their posts are worth tracking down. To do that, type OS user manual or OS tips into the Search box at the top of any OS page.


body

Preliminaries. (If you already know what HTML is, you can skip to the next section.) I started writing this post by typing into the text edit box you see above. I put the word "Preliminaries" in boldface by selecting it and then clicking on the B icon, added a line above it, and then decided to upload an image, a screen shot, in between. Straightforward, right?

Sort of. As you might expect, something tricky is happening behind the scenes. When I type in text, the OS software is recording what I type. When I click on one of those icons, though, the software inserts little invisible codes, or tags, to tell the Web browser how what I've written should be displayed. For example, one way to say that some text should be italicized is to wrap the appropriate tag around it, so: <i>some text</i>. The result, when displayed in a Web browser, looks like this: some text. These tags are part of a language, called HTML (HyperText Markup Language), that can be used to describe how content (text, pictures, and so forth) is displayed on the Web.

Why should you care about this? In an ideal world, you wouldn't have to. But computer environments are never ideal worlds. Knowing what's going on behind the scenes can help you learn how to do new things and understand how to fix broken things. For example, sometimes when you save a post and look at its preview, you'll see HTML tags sprinkled here and there. Don't panic--you just have to edit the post and save it again; everything should be taken care of.

Ready? Let's go.


About blog posts

How do I include a link to another Web page in a post? Suppose you've copied a link to another Web page, and when you paste it into the post you're composing, it comes out looking like this: http://open.salon.com/. Hmm. You'd really like it to look like this: The OS cover page. Here's what you do: Instead of including just the bare Web address, you make it part of an "anchor" tag that's wrapped around some ordinary text, like this: <a href="http://open.salon.com/">The OS cover page</a>.

How do I put a picture in a post? The simplest way to do this is to upload an image file to the OS servers. (You can do something called hotlinking instead [thanks to Tinkerertink69 for the suggestion], but we'll stick to the basics.) So you use the little tree icon (which you can see in the screen shot above; in fact, to include that screen shot I did just what I'm describing now). If you'd like to know more, for example about resizing your picture once you've uploaded it, check out this post.

Can I make my text cool colors instead of basic black? Indeed you can. This post by lalucas shows how.

What about fancier formatting? If you're not intimidated by TLAs (three letter acronyms), Kent Pitman's gentle CSS tutorial will show you the ropes.

How can I add a video to a post? OS handles videos differently from images, in that you need to have the video "hosted" elsewhere (i.e., stored and accessible on some other site). The easiest way to show a video in an OS post is to use youtube. Here's how: Go to the youtube Web page for a specific video you'd like to show in your OS blog post. On that youtube page you'll see a text box on the side, labeled "Embed", something like this:

embed

Select and copy the contents of the box, the HTML beginning with <object... When you return to the OS post you're composing, just paste all that HTML where you'd like the video to appear. You'll have to save your post, edit it again, and save it again for the video to appear. (And when you're editing the post, you may see nothing more than a blank box where the video should be, but don't worry--it'll resolve itself when you save the post the second time.) Here's what you should see when you're done.

How can I add audio, such as music, to a post? One way is to find a youtube video with the music track you'd like to post, and use that. But you can include audio alone. It's a bit more complicated than adding video, and it hasn't always worked for me with all music files, but we'll give it a shot, using the approach artsfish describes. You'll need to have your music, in the form of an mp3 file, stored somewhere accessible; as with videos, OS doesn't host audio files. For illustration, I'll be using a music file containing a cover of "I Am Ready" by our own Stacey Youdin. Here's the Web address for the file: http://pages.google.com/edit/msyoudin/1_i_am_ready.mp3. Go to this Google blog page and follow the instructions there. You'll end up copying some HTML (though with your own music file where Stacey's file is),

player text which you should paste into the post you're composing. After you run through the save/re-edit/re-save business, you should see this:

You're ready to rock.


About comments

Writing comments is a lot like writing posts, except that you can't do much more than create text with links and a few font changes, and you don't have a preview or edit facility. You might think, "Why bother?" but a lot of OSers follow a convention of putting quoted material in italics in their comments, so that it's clear who wrote what.

How do I include a link to another Web page in a comment? The only way to do this is by typing out the HTML: <a href="http://open.salon.com/">The OS cover page</a>.

Can I do italics and boldface and so forth? Yes, also using HTML. If you want something to appear italicized, type <i>italicized</i>. For bold text, type <b>bold</b>. You can even combine bold and italicized text.

Now, if you write a long, complex comment that contains lots of HTML and want to make sure that you haven't mistyped anything critical, one workaround for the lack of a preview facility is to create a new post, type or paste in your comment, and see how it looks in draft form, following the advice above. If it looks good, use what you've typed for your comment. Not everything will transfer from post to comment, but at least you'll have made sure your HTML isn't broken.


That's it! At least, that's all I can think of. Questions, comments, and corrections are welcome.

Author tags:

os tips, os user manual

Your tags:

TIP:

Enter the amount, and click "Tip" to submit!
Recipient's email address:
Personal message (optional):

Your email address:

Comments

Type your comment below:
thanks for this, Rob. Now I'm going to practice by seeing if the title of a novel is properly italicized: Moby Dick
Hooray, it worked! I always wondered how to do that!
Nice! Most people have to work up to Melville. :-)
Gonna have to go update the linky in my Links section now. :-)
Most of this I already knew, except for the bit about how to embed audio, so thanks for that Rob. You aren't going to delete this now are you?:)
Thanks for reposting, Rob. I recently had a PM from another OSer asking how to do some of these things, and I referred him to your and Kent's previous postings on how to get html into posts and comments
Thanks for the comments, all. This post will stick around; the one it supersedes was last updated in October of last year, and a few more capabilities have come to light.

Oh, and in case anyone wonders--this is a public service post, because I get the same kinds of questions that Rick mentions, via private messages, and it's nice to have a single post to point people to. (Also, it pains me to see a bare Web address in the middle of some nice text... :-)
Thanks for collecting this information. It so nice to have it all in one place.
now people have now excuse for copy and pasting partial URLs in the comments section (or the private messages).

I didn't need this repost, by the way. I've had the original bookmarked for months and I refer to it frequently. Thanks again Rob.
Excellent! Thanks, Rob!
Thanks for this very helpful post.
To this day I open a text file with the info you provided, copy and paste what I need, and then cut and paste corrected text. This was and is very helpful.
Shoot! It happened again. It's that forward slash...before the letter. Start with i, end with i. Now did I just mess up all the comments? I remember that happening when someone didn't close something properly. I'll toss this in and see if it helps:
Rob! I'm really messing this up! I should have previewed it but I thought understood it. Bad student, bad student! It should be better now right?
this is like the olden days, what about point and click.
oops, i mean, thanksrob
You are so groovy when you go all techy on me. I'm still getting the hang of typing. That abacus was pretty hard to give up too.
You're awesome; I'm lazy. I'll just continue to rely on CAPS LOCK to make my point.
I might start uploading images....thanks to your tutorial.
Thanks Rob St. Amant.
nope, still not right. thanks rob
testing

duh

Thanks again, Rob.
Hey, thanks for the comments! It's fine to experiment. And if things go wrong, we usually can blame the software developers rather than the users.
thanks a bunch for this useful info. I haven't had any luck embedding video in my posts for some reason - I know how it works, technically, but it just doesn't work when I try to do it. I will keep on trying and keep this handy guide with me at all times!
So Rob - there is no way to fix an unclosed tag if you already posted a comment? Only the host - aka you - can fix it?
Thanks for the update. I have this bookmarked and use it alot.

But the weirdest thing happened today. You probably can't help me with this, but I'm going to rant about it anyways, because there is nowhere else to rant about this.

Today I wanted to embed a video. The problem is that some U.S. network video is not available to Canadians. To get the embed code, I had to use a program (Hotspot shield) that gives me an anonymous I.P. address. But hotspot is ad supported. Usually this isn't a problem because I only use it when I really need it and don't mind all the pop ups. But it put some kind of PERMANENT Ad space in my HTML box. And somehow this has disabled the update button.

So until I figure this out no videos from me, my American friends.
Bah, if something doesn't look right, either in the article, or comment, I just say, "I meant to do that!! Artistic merit or something!! YEA!!!!" and then run off stage left!! :)
Also, just to add to the picture thingie, you can use the HTML code img src="whatever" but you will have to have a nice place to store them, I use Imagecave they even give you the code to cut and paste into the HTML but there are other hosts out there for image storage.
So Rob - there is no way to fix an unclosed tag if you already posted a comment? Only the host - aka you - can fix it?

That's a good question. I can't actually fix anything either; all I can do (that others can't) is delete comments. Most mature software systems like OS arrange for them to be bullet-proof with respect to broken HTML, but occasionally there are bugs. It's not something for us lowly users to worry about, though. :-)

But the weirdest thing happened today. You probably can't help me with this,

Nope, but ranting is therapeutic for me, too. :-)

Also, just to add to the picture thingie, you can use the HTML code img src="whatever" but you will have to have a nice place to store them...

Holy crap, you're right, Tink! Thanks--either I didn't know that was possible or they've changed things around since I last tried it. I'll have to update my post.
For the longest time, I thought they wouldn't let me include links inside comments. I even have a, perhaps manufactured, memory that the OS posting app was stripping my links out of comments. That's cool to know.
Thanks, Rob! This is added to my collection of html goodies. Rated, too!
Oh, thanks for the reminder, Rich. Kent Pitman discovered, if I remember correctly, that there's a limit (5 perhaps?) on the number of links that can be included in a comment. My understanding is that this is a quick and dirty way of limiting the damage spam comments can do to a discussion.
Looks like Beth forgot to close off her italics. There. Did that balance things out?
Someone on here once had the HTML for the links on their page, but I could never remember who it was to find it! Thanks for this, Rob.
Thanks!! I think one note (if someone hasn't said it already) is that if someone uses italics in their Comment but fails to "turn it off" with the appropriate command, the italics appear to continue in subsequent Comments by others. At least, that's what I've observed...
heh!! I wrote that before scanning the comments, obviously!!
Yup. That's something Thomas or other OS technical staff might look at...
a one-stop page i can refer to when making posts! this is awesome, and it's going right in my links. thanks rob.
Thanks, Rob. I know html but am mystified by why I can code a post beautifully, it will come up in the preview, but once I push the publish button, all but the simplest code (e.g., an tag) will disappear. Thinking specifically of tags within the image source tag such as vspace, etc... argghhhhh!
Glad to be of assistance. (Especially to such a sultry young lady, nanatehay--that's a new look for you.)
OK, that was a weird blip... a that wasn't closed still ended up working when it wasn't supposed to do so... arghhhh!!! again
One last question, is there anyway to attach a css file to a post?
I haven't tried it, Shivaun, but I'd suspect not, given what little I know about CSS and what I've seen around OS.
you exist! Yay!

good to see you updating & reposting for the new OS-ers. and I'll try to fix those open italics


hmmm....
I'm one of those guys is only too happy to let someone else do the technical lifting. But in the face of such clear & concise direction, I'm running out of excuses. Many thanks.
Please explain for Tinkertink's benefit how to add online order forms for those movies he has, you know, the ones he stars in? Encryption would be good, but not strictly necessary.
I'm with Cartouche on this one. You lost me right after"This post is an update....."
Actually, I've come a long way since joining OS and most of it is to patient and caring individuals like you, Rob.
I get an awful lot of very funny things in my regular email that I'd love to post here just for giggles, but I copy them and add them to my desktop but OS refuses to print the images. If it's okay with you I'll PM you with the exact issue next time it happens. Maybe you can help me out?
Rob, you forgot to include info on how to snag other OSers' avatars. Find the one you like (WE ARE PROMOTING FREAKY AS THE AVATAR OF THE MONTH RIGHT NOW), and right click on it. Save it to your desktop. Then go into that cute little "More" button on the top right and choose "edit account." Choose the second tab, "profile." Where it says "replace profile" hit browse, and find your Freaky on the desktop. Click on "apply changes" at the bottom, and Bob's your uncle!!!
bold. Hmmm. It's not working!!! Clearly I'm going to have to practice. Thank you for this.
Candy Nose, give me back my avatar
Rob:

Lots of good advice and tips here for those who want to use these various tools.

I have two problems. First I am lazy and don't want to learn too much about this.

Second, and actually true, I come out of a newspaper background and spent a lot of time in some heavy writing seminars where we were taught that if you could not entice your readers without exclamation points, dashes, dots, upper case words, etc. then you couldn't write. That was long before we could use different fonts, colors, embed, etc.

That neanderthal attitude has stayed with me all my life and I am forever trying to unclutter what I write.

This is not to say that what you did here is not important. It is very important. It is to say that there are different standards about proper writing and I am pretty old school.

Monte
Rob, welcome on the image embed update. When I first got on here, I knew about the img src but thought, will it work? So then some fellow OSers were like, YOU CAN DO IT, IT WILL MAKE YOUR PHOTOS YOU SHARE MUCH NICER AND LARGER!! And well, now, I still use the OS image uploader just because, well, I'm lazy!! :)

Also, I have noticed that OS does strip out some HTML that is posted, mostly for the safety of the group from spammers, form stuff, some formatting, nothing big that doesn't really add to the Open experience!!! :)

"Please explain for Tinkertink's benefit how to add online order forms for those movies he has, you know, the ones he stars in? Encryption would be good, but not strictly necessary."

Yes please!! ;)
Thanks Rob! I have been looking for a better, smaller tune player.
Thanks for the comments! I just have a couple of things to add.

Monte, I think you're fine with your old-school priorities; it's fine not to worry about anything but the writing. And, really, computer applications still make it too hard to do simple things.

Tinkerertink69, I wish I could help you start up your very own vanity movie studio, but I have my own reputation to think about... :-)
Thank you, Rob, this is sohelpful--hope for the technically-challenged!
I'm appreciate many of Monte's points. I like the helpful ways to make a post better but sometimes I like being forced to contend with letters and basic punctuation.

With that said, I'm the loser who made the rest of the comments italicized and just so you know, I tried to close them repeatedly and alas, everything is still all jacked up. Look - I'll try to close it again! (I tried to fix it by italicizing the last sentence and closing it properly. Is there another way? What's the code for "back to the normal way?")
Hey, no big deal. And here's an unexpected thing--these breakdowns are browser specific (and possibly platform specific, but I haven't checked). That is, on my Mac, I see the problem in Firefox but not in Safari. Oh, well. It's a bug in the OS software.

I'll try deleting a couple of earlier comments (so much for deathless prose) to see if it resolves the problem.
I guess I should have mentioned a general rule (I think it might have been in my earlier post, but even there it wasn't explicit) for dealing with HTML tags. The most common tags, such as for italicizing, come in pairs: there's the open tag <i> and then some text and then the close tag </i>. The close tag for a given HTML effect is the same as the open tag, except that immediately after the left angle bracket (less-than sign) comes a forward slash; after that comes the tag name. (This is a bit of an oversimplification, but it's good enough for government work, as they say.) So when we see some run-on italic or bold text, it's probably the case that the close tag is somehow malformed. I hope this helps.
This is excellent! Very useful.
I just found this post and want to try to use italics. Did it work?