Announcement

  •  » Themes
  •  » OGP-Integration via Template: some variables (tpl) needed ...

#1 2019-07-01 09:03:12

WuppiGER
Member
Germany
2016-05-31
38

OGP-Integration via Template: some variables (tpl) needed ...

Hello

i need for OGP-Integraton 3 Variables for the header.tpl.

1)
When i am in the category-view (URL like /index/category/19), i need the Category-Picture (this picture what we can see at startpage) for the metatag: og:image (and height, width). Does a variable exist for this?

2)
On the Picture-Page (/picture/349/category/23) we have an canonical ... it's only /picture/349 - this is correct! I don't want change this! For og:url it would be better if i have the full URL /picture/349/category/23. Is there a variable for that? Actual i use the canonical for this - but i think it is better to use pic/cat ...

3)
For published time i use {$INFO_POSTED_DATE|strip_tags:false} ... but this isn't the correct format:
Code:

<meta property="article:published_time" content="Dienstag 7 Februar 2017" />

correct: 2017-02-07T18:22+02:00
How can I do this?

Alternatively I could deal with the topic plugin. I have already inserted a meta tag in this way ... Mhhhh ... I see right now :)

Thanks
Wuppi


PS: i see my post 2x ... bug? If i delete the second, it would be delete the complete topic ....

Last edited by WuppiGER (2019-07-01 09:04:01)

Offline

 
  •  » Themes
  •  » OGP-Integration via Template: some variables (tpl) needed ...

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact