Keyword

OG:Description not populating correctly

  • Roland
  • Roland's Avatar Topic Author
  • Offline
  • New Member
More
2 years 8 months ago #179359 by Roland
I've got an odd issue. When I create a page using K2, and populate the description section under "Publishing and Metadata:Metadata" it will post that information in every appropriate section (description - twitter:description) except for Open Graph. I can only imagine I have something misconfigured, but it works correctly with my Joomla articles, and only goes sideways with K2. I'd welcome any advice any of you all might have. 

Here's how it pours out the info. I believe this is all generated by Joomla directly. Any ideas?
<meta name="facebook-domain-verification" content="zlawu8bink0qjbs4tk0qpyxvwbd62l" />		<script type="text/javascript">
			function getCookie(cname) {
				var name = cname + '=';
				var decodedCookie = decodeURIComponent(document.cookie);
				var ca = decodedCookie.split(';');
				for (var i = 0; i <ca.length; i++) {
					var c = ca[i];
					while (c.charAt(0) == ' ') {
						c = c.substring(1);
					}
					if (c.indexOf(name) == 0) {
						return c.substring(name.length, c.length);
					}
				}
				return '';
			}
		</script>
				<meta name="viewport" content="width=device-width, initial-scale=1">
		
		<meta charset="utf-8" />
	<base href="[url=view-source:https://www.peoriarescue.org/index.php]https://www.peoriarescue.org/index.php[/url]" />
	<meta name="keywords" content="rescue, mission, men, homeless, donation, donor, ministry, Christian, Christ, Jesus, God" />
	<meta name="rights" content="All Contents Copyright 2020, Peoria Rescue Ministries. All Rights Reserved." />
	<meta name="author" content="Peoria Rescue Ministries" />
	<meta property="og:url" content="https://www.peoriarescue.org/index.php?option=com_k2&amp;view=item&amp;id=71&amp;editor=pagebuilder4" />
	<meta property="og:type" content="article" />
	<meta property="og:title" content="An August Thank You" />
	<meta property="og:description" content="/* PageFly Element Styles */ .kqDkLo { word-break: break-word; } .kqDkLo span { font-weight: inherit; text-decoration: inherit; } .kqDkLo i { margin-r..." />
	<meta property="og:image" content="https://www.peoriarescue.org/media/k2/items/cache/1698b847c2e4fe98c05adcdc9d420590_M.jpg" />
	<meta name="image" content="https://www.peoriarescue.org/media/k2/items/cache/1698b847c2e4fe98c05adcdc9d420590_M.jpg" />
	<meta name="twitter:card" content="summary" />
	<meta name="twitter:title" content="An August Thank You" />
	<meta name="twitter:description" content="It’s humbling to see how you’ve given to help struggling men, women and children this summer at Peoria Rescue Ministries." />
	<meta name="twitter:image" content="https://www.peoriarescue.org/media/k2/items/cache/1698b847c2e4fe98c05adcdc9d420590_M.jpg" />
	<meta name="twitter:image:alt" content="An August Thank You" />
	<meta name="description" content="It’s humbling to see how you’ve given to help struggling men, women and children this summer at Peoria Rescue Ministries." />
	<meta name="generator" content="Joomla! - Open Source Content Management" />

Please Log in or Create an account to join the conversation.

  • Roland
  • Roland's Avatar Topic Author
  • Offline
  • New Member
More
2 years 8 months ago #179375 by Roland
Replied by Roland on topic OG:Description not populating correctly
Well, seeing as the code area was broken, here's how it appears in plain text ...

<base href="- deleted the article link so it would publish this reply -" />
<meta name="rights" content="All Contents Copyright 2020, Peoria Rescue Ministries. All Rights Reserved." />
<meta name="author" content="Jonathan Rocke" />
<meta property="og:url" content="- deleted the link so it would publish this reply -" />
<meta property="og:type" content="article" />
<meta property="og:title" content="A New Look For a New Purpose" />
<meta property="og:description" content="/* PageFly Element Styles */ .kqDkLo { word-break: break-word; } .kqDkLo span { font-weight: inherit; text-decoration: inherit; } .kqDkLo i { margin-r..." />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="A New Look For a New Purpose" />
<meta name="twitter:description" content="/* PageFly Element Styles */ .kqDkLo { word-break: break-word; } .kqDkLo span { font-weight: inherit; text-decoration: inherit; } .kqDkLo i { margin-right: 0.3em; } .fcqzIr { position: relative; } .gs..." />
<meta name="description" content="/* PageFly Element Styles */ .kqDkLo { word-break: break-word; } .kqDkLo span { font-weight: inherit; text-decoration: inherit; } .kqDkLo i { margin-r..." />
<meta name="generator" content="Joomla! - Open Source Content Management" />

 - - - - - - - - - - - - - - - - - - -

Also, it's pulling this content in ...

- - - - - - - - - - - - - - - - - - - -

{
"@context": "schema.org",
"@type": "Article",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": " - deleted the article link so it would publish this reply -"
},
"url": "- deleted the article link so it would publish this reply -",
"headline": "A New Look For a New Purpose",
"datePublished": "2021-08-16 17:25:03",
"dateModified": "2021-08-16 18:44:14",
"author": {
"@type": "Person",
"name": "Jonathan Rocke",
"url": "- deleted the link so it would publish this reply -"
},
"publisher": {
"@type": "Organization",
"name": "Peoria Rescue Ministries",
"url": "www.peoriarescue.org/",
"logo": {
"@type": "ImageObject",
"name": "Peoria Rescue Ministries",
"width": "",
"height": "",
"url": "- deleted the link so it would publish this reply -"
}
},
"articleSection": "- deleted the link so it would publish this reply -",
"keywords": "",
"description": "",
"articleBody": "/* PageFly Element Styles */ .kqDkLo { word-break: break-word; } .kqDkLo span { font-weight: inherit; text-decoration: inherit; } .kqDkLo i { margin-right: 0.3em; } .fcqzIr { position: relative; } .gsdIuB { padding: var(--pf-s-lg); } @media (min-width: 992px) and (max-width: 1199px) { .gsdIuB { padding: var(--pf-s-md); } } @media (min-width: 768px) and (max-width: 991px) { .gsdIuB { padding: var(--pf-s-sm); } } @media (max-width: 767px) { .gsdIuB { padding: var(--pf-s-xs); } } .iDckyw { position: relative; } .jdLQbH { margin: 0 calc(-1 * var(--pf-s-lg)); } @media (min-width: 992px) and (max-width: 1199px) { .jdLQbH { margin: 0 calc(-1 * var(--pf-s-md)); } } @media (min-width: 768px) and (max-width: 991px) { .jdLQbH { margin: 0 calc(-1 * var(--pf-s-sm)); } } @media (max-width: 767px) { .jdLQbH { margin: 0 calc(-1 * var(--pf-s-xs)); } } .mZVAk { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; pointer-events: none; overflow: hidden; } .cBuwhn__parallax { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; overflow: hidden; pointer-events: none; } .cBuwhn { padding: 15px 0px; position: relative; } .kzftmY &gt; span:last-child { line-height: inherit; display: block; margin-right: 0px !important; } #editor-dnd-wrapper .kzftmY span + span[contenteditable] { display: block; } #editor-dnd-wrapper .kzftmY span + span[contenteditable]:empty::after { display: inline; } .kzftmY ol, .kzftmY ul { list-style-position: inside; } .kzftmY blockquote { font-size: inherit; } .aevsi { display: inline-block; } .aevsi[contenteditable=&quot;true&quot;] { user-select: text; } .aevsi { vertical-align: baseline; word-break: break-word; } .aevsi:focus { outline: none; } .aevsi::after { display: inline; } /* PageFly Styles */ @media all { .__pf .pf-98b00650-1f1b42d0 { font-weight: 500; color: rgb(255, 255, 255); } .__pf .pf-98b00650-7d8aaa30 { line-height: 26px; } .__pf .pf-98b00650-42d08b68 { color: rgb(255, 255, 255); } .__pf .pf-98b00650-ae53b622 { text-align: center; } .__pf .pf-98b00650-faa86354 { padding: 100px 0px; background-size: cover; background-repeat: no-repeat; background-image: url(www.peoriarescue.org/"{{base_url}}images/FromTheExecutiveDirector/HopeNewsSummer21/Chapel_2_SMALL.jpg";); } .__pf .pf-98b00650-8403a126 { padding-top: 0px; } } @media only screen and (max-width: 767px) { .__pf .pf-98b00650-7d8aaa30 { line-height: 22px; } .__pf .pf-98b00650-faa86354 { background-image: url(www.peoriarescue.org/"{{base_url}}images/FromTheExecutiveDirector/HopeNewsSummer21/Chapel_2_SMALL.jpg";); } } @media only screen and (min-width: 992px) and (max-width: 1199px) { .__pf .pf-98b00650-faa86354 { background-image: url(www.peoriarescue.org/"{{base_url}}images/FromTheExecutiveDirector/HopeNewsSummer21/Chapel_2_SMALL.jpg";); } } @media only screen and (min-width: 768px) and (max-width: 991px) { .__pf .pf-98b00650-faa86354 { background-image: url(- deleted the link so it would publish this reply -{{base_url}}images/FromTheExecutiveDirector/HopeNewsSummer21/Chapel_2_SMALL.jpg&quot;); } } A New Look for A New PurposeUse this text to share information about your brand with your customers. Describe a product, share announcements, or welcome customers to your store.The photos above show our recently renovated chapel at our Downtown Men’s Facility. And while the pictures do a pretty good job capturing the new look and feel of the chapel, I want to invite you to stop in and see it personally. Our evening Chapel Services (7:30 pm) are open to anyone or feel free to stop in and ask to see it anytime. The renovation includes new flooring, paint, furniture, and new technology, featuring high-quality video and sound capabilities. You might also notice our pallet feature wall and the pallet canvases upon which we have painted our scripture verses. The pallet wood comes from our Victory Acres Enterprise Program, where we partner with Caterpillar to recycle wood waste and rebuild pallets for them. Of course, one thing that hasn’t changed is the centrality of the cross and the gospel. But we didn’t just renovate the chapel because it needed to be updated (which it did, by the way). We renovated and modernized it for a specific purpose. You have heard us talk of wanting to continually move from a “transactional” approach to a more “relational” approach, and the chapel renovation is another step in that direction. A transactional approach might be understood as doing something to or for someone, whereas a relational approach is doing something with someone. Jesus came to be with us. That’s why one of his names is Emmanuel – God with us. It is by being with us, being in relationship with us, that Jesus saves us. The cross at center stage was given to PRM decades ago and is a constant reminder that Jesus is the only way for any of us to move from poverty to flourishing. The photos on the next page show our recently renovated chapel at our Downtown Men’s Facility. And while the pictures do a pretty good job capturing the new look and feel of the chapel, I want to invite you to stop in and see it personally. Our evening Chapel Services (7:30 pm) are open to anyone or feel free to stop in and ask to see it anytime. We wanted our chapel and the gospel-centered services we hold there to be more relational as well, and these changes help us to that. We are now able to invite Churches and groups to come and share not only gospel-centered preaching but also gospel-centered worship and fellowship. The new sound and video technology allow us to have live worship bands leading us in praising and worshipping Jesus together. The new (cleanable) floor will enable us to share dessert or refreshments to spend time together and build relationships that can truly transform lives. If your Church or even your Small Group would like to learn more about how you can join us in sharing gospel-centered worship, preaching, and fellowship WITH us – please give Lee Burnham a call at 309-676-6416. Finally, thank you. Without your gracious gifts of support, this renovation wouldn’t have happened, and we couldn’t continue to invest in a more relational, life on life approach that is “creating pathways out of poverty through Jesus with our neighbors in need."
}

And this as well,
<div class="itemFullText"> <style>/* PageFly Element Styles */


- - - - - - -


I am using JoomlaShine's Pagebuilder 4 for this and many other pages in K2. The use of Pagebuilder in Joomla articles produces correct content, but for the blogging section that I wanted to use K2 for, it keeps injecting the Pagefly section as a description for the page and I cannot figure out why.

Any suggestions (short of not using JoomlaShine's Pagebuilder products, LOL) would be helpful.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #179440 by JoomlaWorks
Replied by JoomlaWorks on topic OG:Description not populating correctly
I see the content is common. My guess is that you use some page builder UI and this adds CSS code in the output.

Am I missing something?

And of course you can always test the demo site, e.g. see the source code of: demo.getk2.org/magazine/96/example-of-a-full-k2-item

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum