Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGraph - tags não usadas #63

Open
edbizarro opened this issue Jun 4, 2016 · 0 comments
Open

OpenGraph - tags não usadas #63

edbizarro opened this issue Jun 4, 2016 · 0 comments

Comments

@edbizarro
Copy link
Contributor

edbizarro commented Jun 4, 2016

Reparei que existe um array de config no método generate que configura quais tags serão geradas, por default somente image, video e audio estão habilitados, porém não existe uma forma de ativar as outras tags.

$props = [
 'images'                      => ['image',   true],
 'articleProperties'           => ['article', false],
 'profileProperties'           => ['profile', false],
 'bookProperties'              => ['book',    false],
 'musicSongProperties'         => ['music',   false],
 'musicAlbumProperties'        => ['music',   false],
 'musicPlaylistProperties'     => ['music',   false],
 'musicRadioStationProperties' => ['music',   false],
 'videoMovieProperties'        => ['video',   false],
 'videoEpisodeProperties'      => ['video',   false],
 'videoTVShowProperties'       => ['video',   false],
 'videoOtherProperties'        => ['video',   false],
 'videoProperties'             => ['video',   true],
 'audioProperties'             => ['audio',   true],
];

Mesmo colocando true em todas os itens do array não afeta em nada na geração, e alguns métodos continuam não tendo nenhum efeito na geração das tags, exemplo setProfile, setArticle, setBook e etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants