Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Julio Camarero
Open Graph
30 de enero de 2012 2:54
Respuesta

Julio Camarero

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1659

Fecha de incorporación: 15 de julio de 2008

Mensajes recientes

Hi guys,

I plan to start working on the Open Graph integration.

Initially, what I had in mind is to add a new section called "Open Graph" to the Manage Pages sections which allows you to configure some headers of the open graph protocol (title, type, image, url, description, locale...) per page as documented here: Open Graph Protocol

What do you think?
Jordi Buendia
RE: Open Graph
8 de febrero de 2012 4:51
Respuesta

Jordi Buendia

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 8 de noviembre de 2011

Mensajes recientes

Hi Julio,

In despite of my lack of experiencie in web developping, I give you my opinion, because I am trying too to carry out an integration with Open Graph metatags.

I tried to define custom fields storing in expando tables the "variable" part of the open graph metatags. The idea was to embed the variable part in the rest of the open graph metatag throug a hook, overwriting the top-meta-head.jsp archive (I don't remember just now the exact name of the archive but it was something similar). Then the user has to introduce in custom fields the variable part of the og metatags, avoyding the necessity of knowing the og syntax. The problem with this idea was facebook couldn't connect to the information stored in expando tables, which seem to be the only storage mode for custom field entities.

I think you are talking about something similar, but perhaps you have a solution for this problem.
Julio Camarero
RE: Open Graph
14 de febrero de 2012 4:13
Respuesta

Julio Camarero

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1659

Fecha de incorporación: 15 de julio de 2008

Mensajes recientes

Hi Jordi,

the problem you had was probably because you didn't set the permissions property for those custom fields.

I am using the same approach but using layout settingsProperties instead because it will have better performance.

Do you have any screenshot of your UI? How many open graph tags did you allow the user to change?

thanks a lot!
Karen Castillo Inoa
RE: Open Graph
13 de marzo de 2014 3:22
Respuesta

Karen Castillo Inoa

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 24 de febrero de 2012

Mensajes recientes

Hola Julio,

I see you have an Open Graph Hook on the downloads page. How does this work?
Julio Camarero
RE: Open Graph
13 de marzo de 2014 3:36
Respuesta

Julio Camarero

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1659

Fecha de incorporación: 15 de julio de 2008

Mensajes recientes

Hi Karen,

it adds a new configuration screen for your pages that allows you to convert any page of your site into a "OpenGraph" node. You will see that screen under Control Panel --> Site Pages --> Open Graph

You can use this tool to verify the behavior: https://developers.facebook.com/tools/debug/

cheers!
Karen Castillo Inoa
RE: Open Graph
2 de abril de 2014 9:06
Respuesta

Karen Castillo Inoa

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 24 de febrero de 2012

Mensajes recientes

I missed that. This is awesome, thank you! I forked your project on GitHub.
Julio Camarero
RE: Open Graph
3 de abril de 2014 3:33
Respuesta

Julio Camarero

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1659

Fecha de incorporación: 15 de julio de 2008

Mensajes recientes

Awesome Karen! emoticon

I would love to accept contributions in the project and collaborate with you! Feel free to make me pull requests emoticon
Karen Castillo Inoa
RE: Open Graph
10 de abril de 2014 6:34
Respuesta

Karen Castillo Inoa

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 24 de febrero de 2012

Mensajes recientes

That is good. We have deployed the Open Graph portlet. As soon as we start making use of it, there will probably be development requests!