Formatting Comments on PoC

Regular PoCers might find this useful. Sometimes you might like to refer to part of a previous comment when making your own comment. You might like to emphasise sections of your comment. Also, you might like to link to another page either within PoC or externally in a more sophisticated way other than just pasting the website address into the comment.

I’ll just briefly go over these. The code is highlighted in red but that is just to show you. It does not have to be red when you write it.

Doing these things will not suit most people. That is fine. No obligation. I am just explaining it in case someone might like to do it.

Referring to a part of comment

Use the <blockquote> code. This is how you do it. Copy the text that you want to quote and paste it into the comment box you are using. Before the text write this: <blockquote>. After the text write this: </blockquote>. That is it. The only difference in the two bits of code is a slash just after the “<” and before “blockquote”. It is better to have the code on your computer and just paste it in rather than write it.

This is how the code looks:

<blockquote>This is a quote</blockquote>

This how the quote looks:

This is a quote

In the comments section you also get a line down the left-hand side of the quote.

Entering a link

Say I want to link to my You Tube home page. I might write this:

My YouTube home page has lots of cat videos.

This is how it looks in code:

<a href=”http://www.youtube.com/user/broadsurf?feature=mhum”>My YouTube home page</a> has lots of cat videos.

Before the words that are used for the link you place this code:

<a href=”website address (URL) here”>

After the words you place this code: </a>

The website address is in the long box above the webpage. You can copy that by simply placing your cursor over it and tapping your track pad or left clicking. This will paint in the website address in blue.

Italics

This is in italics

This is how you write the code:

<em>This is in italics</em>

Bold

This is in bold

This is how you write the code:

<strong>This is in bold</strong>

Hope this helps a bit. The comments on PoC are damn good. Sometimes people might like to dress them up a bit. No obligation of course but if you feel like these examples may help.

Try leaving a comment using one of these examples.

12 thoughts on “Formatting Comments on PoC”

  1. The author of the best comment will receive an Amazon gift of their choice at Christmas! Please comment as they can add to the article and pass on your valuable experience.
  2. Michael, this is not funny when an individual has to search “Archives” by date? Am I misunderstanding what you are trying to accomplish by that? Shouldn’t be a –oh, neow I get it! 😉

    Reply
  3. How clever this is! I’m a techno-dinosaur but I’ll have a go lol

    This is in italics

    This is in bold

    What I miss about the old PoC is not being informed every time anyone makes a comment, only when someone replies to one of my comments, so I miss seeing some interesting comments unless I have time to go back to articles and look for new ones.

    Reply
        • Michael things must have changed or something – the site I maintain using typo3 (we are changing to joomla very soon) uses typically older fashion html code like B for bold and I for italics Ive never heard of em and strong – assume they double up so I better close them 🙂 . Do you have a small group of font presets on PoC such as can be invoked according to a small group of numbers i.e.: 1 to 5 or something. I’m having a real problem with setting this up for our new site. I used to just write the html in the past but then when we upgraded typo3 it started letting us paste in rich text but that was very confusing, I preferred the html because things like p for paragraph breaks were much more straight forward. You can paste in rich text with single line paragraph spacing but if you add to it with your keyboard, for example you write and extra little paragraph by hand you have to hit return key twice to get the same single paragraph spacing. I’ve found the rich text behaviour quite frustrating so sometimes I convert it to plaintext html if I have to edit directly on the site.
          I’m having trouble choosing a set of rich text font settings.

          Are the comment boxes limited to a few commands or can you go deeper in with for example “font size= ‘3’ and colour=’2344′ (rgb code I assume) to invoke whatever font presets you have put in there – sometimes I’ve found you can even have “font style = and you can set thw whole font, including bold or italic etc between one set of (in one markup).

          I know this is a constantly changing thing and I notice when I look at page sources things have gotten so complex. But I’m more just commenting on the basic stuff. I sometimes add a little java script to add cookies or manage user logins, simple things, notification windows that come from the browser GUI.

          It’s all gotten so insane in the last few years – it’s impossible not to feel left behind pretty quickly – our move to joomla is largely so that our site can be accessed on mobile devices. We run a magazine as well as organise events through our site and we need to have that ‘responsive etc bla bla’ so our site stacks up properly into easily navigatable lists and menu items. It’s been a really complicated change and we have almost launched using joomla but we’re still fixing some last few things.

          I used to just work using plain text and html, finding code when I needed it, running the page and once it works fine in a few browsers I would just upload the site. I used dreamweaver. But now with these private areas and logins and so on I have come to rely on this software that basically helps you build the site and it’s extremely good in many ways but there are limitations in other ways. I’m hoping joomla will let me add things manually more easily. typo3 seems very long winded and once removed as web building software.

          It’s all so daunting. I only know what I mean but when I read other people’s code I’m often lost these days 🙂

          Reply
          • oh wow the ‘B’ for bold and ‘I’ for italics worked – I didn’t use ’em’ and ‘strong’ – so maybe the old style code fits inside whatever code that is you have ’em’ I have never heard of.

            Reply
          • Red

            Blue

            Yellow background

            These do work.

            the code for these are:

            <span style=”color: #ff0000;”>Red</span>

            <span style=”color: #0000ff;”>Blue</span>

            <span style=”background-color: #ffff00;”>Yellow background</span>

            I am sure you can use font size=”4″ etc. as well or h2 h3 h4 etc. (headings) in comments. Although when you look at the what is allowed it does not specify these.

            Reply
          • I have learnt code over the 6 years but not to a high level. PoC is based on a database and works completely differently to standard html. It is very complicated. Writing pages though is like using a word processor.

            Reply

Leave a Comment

follow it link and logo