opengraph and meta property rather than name

Phoca Tools: Phoca Server Unzip tool, Phoca Changing Collation tool, ...
dobberchie
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Nov 2013, 00:17

opengraph and meta property rather than name

Post 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.. :?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: opengraph and meta property rather than name

Post by Jan »

Hi, then you need to modify it directly in php code.

Jan
If you find Phoca extensions useful, please support the project
dobberchie
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Nov 2013, 00:17

Re: opengraph and meta property rather than name

Post by dobberchie »

Hi Jan. Please would you give some.pointers to where and what needs changing.

Thanks,
Rob
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: opengraph and meta property rather than name

Post 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
If you find Phoca extensions useful, please support the project
dobberchie
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Nov 2013, 00:17

Re: opengraph and meta property rather than name

Post by dobberchie »

Thanks I will come back with an update when I hit the jackot
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: opengraph and meta property rather than name

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Samilyjones
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Nov 2013, 17:38

Re: opengraph and meta property rather than name

Post by Samilyjones »

Thank you...
Post Reply