Page 1 of 1

opengraph and meta property rather than name

Posted: 13 Nov 2013, 00:27
by dobberchie
I have installed the opengraph plugin. Great plugin and the only one so far that has added the correct content including images.
Only one issue that I cannot get my head around.

I want to replace the currently produced meta name with meta property as shown below. Any ideas?

<meta name="">. For example, you'd want to replace this:
<meta name="og:image" content="

With this:
<meta property="og:image" content=
I am using Joomla 2.5.16 with the latest version of the plugin. Any other information you require please do ask.

Thanks.. :?

Re: opengraph and meta property rather than name

Posted: 13 Nov 2013, 02:50
by Jan
Hi, then you need to modify it directly in php code.

Jan

Re: opengraph and meta property rather than name

Posted: 13 Nov 2013, 06:49
by dobberchie
Hi Jan. Please would you give some.pointers to where and what needs changing.

Thanks,
Rob

Re: opengraph and meta property rather than name

Posted: 13 Nov 2013, 17:21
by Jan
Hi, I think, you need to ask on joomla.org as Joomla! method:

$document->setMetadata

add the name attribute there, so I think then the method needs to be changed or maybe there is some other method in Joomla! which addes the property instead name :idea:

Jan

Re: opengraph and meta property rather than name

Posted: 13 Nov 2013, 21:09
by dobberchie
Thanks I will come back with an update when I hit the jackot

Re: opengraph and meta property rather than name

Posted: 14 Nov 2013, 18:42
by Jan
Ok

Re: opengraph and meta property rather than name

Posted: 16 Nov 2013, 17:47
by Samilyjones
Thank you...