Lines Matching +full:continue +full:- +full:on +full:- +full:error
27 …: https://www.linkedin.com/help/linkedin/answer/a521928/making-your-website-shareable-on-linkedin…
32 * https://github.com/twbs/bootstrap/blob/v4-dev/site/layouts/partials/social.html
33 * https://github.com/mprins/dokuwiki-plugin-socialcards/blob/master/action.php
54 // ie $this->lang
55 $this->setupLocale();
60 …$controller->register_hook('TPL_METAHEADER_OUTPUT', 'BEFORE', $this, 'metaFacebookProcessing', arr…
72 $templateForWebPage = $executionContext->getExecutingPageTemplate();
77 if (!$templateForWebPage->isSocial()) {
87 $requestedPath = $templateForWebPage->getRequestedContextPath();
93 "og:title" => StringUtility::truncateString($page->getTitleOrDefault(), 70)
95 $descriptionOrElseDokuWiki = $page->getDescriptionOrElseDokuWiki();
110 $pageType = $page->getTypeOrDefault();
115 …$facebookMeta["article:published_time"] = $page->getPublishedElseCreationTime()->format(DATE_ISO86…
117 // Internal error, the page should exist
118 …LogUtility::error("Internal Error: We were unable to define the publication date for the page ($pa…
122 $modifiedTime = $page->getModifiedTimeOrDefault();
123 $facebookMeta["article:modified_time"] = $modifiedTime->format(DATE_ISO8601);
125 // Internal error, the page should exist
126 …LogUtility::error("Internal Error: We were unable to define the modification date for the page ($p…
139 …$facebookImages = $page->getImagesForTheFollowingUsages([PageImageUsage::FACEBOOK, PageImageUsage:…
148 …LogUtility::error("We were unable to add the default facebook image ($defaultFacebookImage) becaus…
151 if ($defaultFacebookImage != ":logo-facebook.png") {
152 …LogUtility::error("The default facebook image ($defaultFacebookImage) does not exist", self::CANON…
166 $path = $facebookImage->getSourcePath();
168 … LogUtility::error("The image ($path) does not exist and was not added", self::CANONICAL);
169 continue;
174 LogUtility::internalError($e->getMessage());
175 continue;
177 if (!in_array($mime->toString(), $facebookMimes)) {
178 continue;
186 $intrinsicWidth = $facebookImage->getIntrinsicWidth();
187 $intrinsicHeight = $facebookImage->getIntrinsicHeight();
189 …LogUtility::error("No image was added for facebook. Error while retrieving the dimension of the im…
207 $firstImagePath = $page->getFirstImage()->getSourcePath();
209 … $path->toAbsolutePath()->toAbsoluteId() !== $firstImagePath->toAbsolutePath()->toAbsoluteId()
212 LogUtility::error($message, self::CANONICAL);
219 LogUtility::error($message, self::CANONICAL);
228 $facebookMeta["og:image:type"] = $mime->toString();
230 … $facebookMeta["og:image"] = $facebookImage->getFetchUrl()->toAbsoluteUrlString();
233 …LogUtility::internalError("Og Image could not be added. Error: {$e->getMessage()}", self::CANONICA…
246 $locale = ComboStrap\Locale::createForPage($page, "_")->getValueOrDefault();
254 $event->data['meta'][] = array("property" => $property, "content" => $content);