{"action":"created","issue":{"url":"https://api.github.com/repos/RexDude/seo42/issues/218","repository_url":"https://api.github.com/repos/RexDude/seo42","labels_url":"https://api.github.com/repos/RexDude/seo42/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/RexDude/seo42/issues/218/comments","events_url":"https://api.github.com/repos/RexDude/seo42/issues/218/events","html_url":"https://github.com/RexDude/seo42/issues/218","id":137245344,"number":218,"title":"seo42::getMediaFile gibt Pfad zum Files-Ordner aus wenn leer","user":{"login":"alexplusde","id":3855487,"avatar_url":"https://avatars.githubusercontent.com/u/3855487?v=3","gravatar_id":"","url":"https://api.github.com/users/alexplusde","html_url":"https://github.com/alexplusde","followers_url":"https://api.github.com/users/alexplusde/followers","following_url":"https://api.github.com/users/alexplusde/following{/other_user}","gists_url":"https://api.github.com/users/alexplusde/gists{/gist_id}","starred_url":"https://api.github.com/users/alexplusde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexplusde/subscriptions","organizations_url":"https://api.github.com/users/alexplusde/orgs","repos_url":"https://api.github.com/users/alexplusde/repos","events_url":"https://api.github.com/users/alexplusde/events{/privacy}","received_events_url":"https://api.github.com/users/alexplusde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-29T12:52:09Z","updated_at":"2016-02-29T20:05:18Z","closed_at":null,"body":"seo42::getMediaFile() sollte \"\" ausgeben, wenn leer, stattdessen wird nur der Pfad zum files-Ordner ausgegeben.\r\n\r\nAnwendungsfall bspw. hier, wenn kein art_file beim Artikel ausgefüllt ist.\r\n\r\n```\r\n\t\t<!-- OpenGraph --> \r\n\t\t<!-- https://developers.facebook.com/docs/technical-guides/opengraph/built-in-objects/ -->\r\n\t\t<meta property=\"og:site_name\" content=\"<?php echo $REX['SERVERNAME']; ?>\" />\r\n\t\t<meta property=\"og:type\" content=\"website\">\r\n\t\t<meta property=\"og:title\" content=\"<?php echo $this->getValue(\"name\") ?>\" />\r\n\t\t<meta property=\"og:image\" content=\"<?php echo seo42::getMediaFile($this->getValue(\"art_file\")) ?>\" />\r\n\t\t<meta property=\"og:description\" content=\"<?php echo seo42::getDescription(); ?>\" />\r\n\t\t<!-- /OpenGraph -->\r\n\r\n´´´"},"comment":{"url":"https://api.github.com/repos/RexDude/seo42/issues/comments/190359616","html_url":"https://github.com/RexDude/seo42/issues/218#issuecomment-190359616","issue_url":"https://api.github.com/repos/RexDude/seo42/issues/218","id":190359616,"user":{"login":"alexplusde","id":3855487,"avatar_url":"https://avatars.githubusercontent.com/u/3855487?v=3","gravatar_id":"","url":"https://api.github.com/users/alexplusde","html_url":"https://github.com/alexplusde","followers_url":"https://api.github.com/users/alexplusde/followers","following_url":"https://api.github.com/users/alexplusde/following{/other_user}","gists_url":"https://api.github.com/users/alexplusde/gists{/gist_id}","starred_url":"https://api.github.com/users/alexplusde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexplusde/subscriptions","organizations_url":"https://api.github.com/users/alexplusde/orgs","repos_url":"https://api.github.com/users/alexplusde/repos","events_url":"https://api.github.com/users/alexplusde/events{/privacy}","received_events_url":"https://api.github.com/users/alexplusde/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T20:05:18Z","updated_at":"2016-02-29T20:05:18Z","body":"ich hab's befürchtet ;)"}}