Implemented og:description is not generated when article is a direct menu link

Lees meer
1 jaar 3 weken geleden - 1 jaar 3 weken geleden #2932 door Dirk
Hi,

I use the latest ochOpenGraph with J 5.1.1

I created 2 competely identical arcticles with the content:
Code:
<div>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</div> <div>{ochopengraph description="This is the description for the test-article (äöüÄÖÜ߀)" image="images/dokumente/hausnummernfinder.jpg"}</div>

as you can see I want to use the {ochopengraph} tags "description" and "image"

the first article can be accessed via its category -> hilgermissen.eu/joomla/unzugeordnet/2174-test-article
as you can see in the html-source everything is generated properly as intended og:image and og:description

the second article is directly associated with a menu item -> hilgermissen.eu/joomla/unsere-gemeinde/service/test-article-2
as you can see in the html-source:
- og:image is again generated correctly
- og:description is not generated instead the default (fallback) og:description is taken (from the global site's <meta name="description" ...)

why is that ?
how can I avoid that ?

I think the {ochopengraph} tags "description" and "image" should be generated the same way,
no matter if an article is called though its direct link or via a menu-item (?)
(especially when the "ochOpenGraph-Integration" -fields of the menu-item are completely empty)
Laatst bewerkt 1 jaar 3 weken geleden doorDirk.
Discussie gesloten.
Lees meer
1 jaar 3 weken geleden #2933 door Ruud van Lent
Hi Dirk,

Thanks for reporting this.
I'll try to reproduce this on my own site to see what is happening and why.
The tag should get precedence (so the description should be the one from the tag).

Will work on this after the weekend and follow up here.

regards,
Ruud.
Discussie gesloten.
Lees meer
1 jaar 2 weken geleden #2935 door Ruud van Lent
Hi Dirk,

currently have a new version in test that actually also fixes this issue (at least for me).
I have added a downloading in the Private Message tab.
If you could test if this fixes the issue that would be great!

Thanks in advance,
Ruud.
Discussie gesloten.
Lees meer
1 jaar 2 weken geleden #2937 door Dirk
yes, that works
Discussie gesloten.
Lees meer
1 jaar 2 weken geleden #2945 door Ruud van Lent
Thanks for reporting back and confirming that this version works correct (for this issue).
Discussie gesloten.