News:

Wondering if this will always be free?  See why free is better.

Main Menu

BBC Quote tag options?

Started by Garou, March 09, 2007, 01:36:45 PM

Previous topic - Next topic

Garou

I originaly posted this in the support section but it was sugested that I post it here instead.

Im Trying to link a quote from an outside source on my website but the bbc code doent really support that as far as I know but is there a work around for say something like this...

Quote from: CNN link=http://www.cnn.com/2007/SHOWBIZ/TV/03/09/tv.americanidol.ap/index.htmlAntonella Barba, Sabrina Sloan, Jared Cotter and Jason "Sundance" Head were cast off by the viewer voting, which drew about 37 million calls and text messages.

It would be nice if there was a way for the quote to link to the original source like it would normaly do when you quote someones message. Either I dont know how to do it or it isnt possible, Im hoping that its just my lack of knowlege.  ;D

Peter Duggan

You're nearly there already, but you need to type 'author=' to get the 'from:'...

[quote author=yourURLhere]Blah, blah, blah...[/quote]

So this:

[quote author=http://news.bbc.co.uk/1/hi/entertainment/6434607.stm]Sixteen US cities named Springfield have been asked to compete to host the premiere of The Simpsons Movie in July.[/quote]

Produces this:

Quote from: http://news.bbc.co.uk/1/hi/entertainment/6434607.stmSixteen US cities named Springfield have been asked to compete to host the premiere of The Simpsons Movie in July.

:)

Garou

Quote from: Peter Duggan on March 09, 2007, 04:58:05 PM
You're nearly there already, but you need to type 'author=' to get the 'from:'...

Actually I was going for
[quote author=author name/ site name link= actuall link to the website]

The Link I made earlier would read more like...
Quote from: CNN

Garou

I did some reasearch and found the answer in Blizzard Quote BBC by yutt.

array(
'tag' => 'a-quote',
'parameters' => array(
'author' => array('match' => '(\w+)'),
'link' => array(),
),
'before' => '<div class="quoteheader">Quote from: <a href="{link}">{author}</a></div><div class="quote">',
'after' => '</div>',
'block_level' => true,
),


I chose the name a-quote (alternative quote) because I cant get it to work as an extention of the normal quote function. It conflicts with the quote author function that is normaly used to quote another persons post. I can make one or the other work depending on placement but not both simultainously.  :-\

As is a-quote will do what I was looking for.
[a-quote author=insert_name link=http://your_site.com]Quote text.[/a-quote]
will show
Quote from:insert name
Quote text. (in a quote box though ;))

Peter Duggan

Quote from: Garou on March 09, 2007, 06:33:21 PM
Actually I was going for
[quote author=author name/ site name link= actuall link to the website]

The Link I made earlier would read more like...
Quote from: CNN

OK, sorry I missed that! But I've always done it my way because no-one's going to mistake CNN or the BBC (for example) for another forum member...

Garou

Quote from: Peter Duggan on March 10, 2007, 03:53:56 AM
OK, sorry I missed that! But I've always done it my way because no-one's going to mistake CNN or the BBC (for example) for another forum member...

Its not so much that but its always been my feeling that long links like that clutter up a message board and take away from what you are actually trying to say. I have always used the url= tag when I make a reference to another site just be cause it looks that much cleaner.

For instance I could say
I read an interesting article on Yahoo about the the RIAA's new attack on piracy.

or

I read an interesting article at http://tech.yahoo.com/blogs/devlin/8441/riaa-demands-payments-from-college-students about the the RIAA's new attack on piracy.

The former is much easier to read and more visually appealing then the later. IMHO

I think you should also be able to do the same thing when quoting. In anycase I found a fix for it even if it isn't exactly what I was looking for, it will do the job.

Thanks for the help anyway. :)

Peter Duggan

Quote from: Garou on March 11, 2007, 08:39:14 AM
Its not so much that but its always been my feeling that long links like that clutter up a message board and take away from what you are actually trying to say. I have always used the url= tag when I make a reference to another site just be cause it looks that much cleaner.

FWIW I do both. So I shorten really long links but like to leave some shorter ones to show exactly where they're going.

Advertisement: