Symbiote\MicroBlog\Service\SocialGraphService
- Author: marcus@symbiote.com.au
- License: BSD License http://silverstripe.org/bsd-license/
Synopsis
class SocialGraphService
{
- // members
- public array $oembedOptions = ;
- public boolean $lookupLinks = false;
- // methods
- public void isWebpage()
- public void isImage()
- public void extractTitle()
- public void convertUrl()
- public type convertPostContent()
Members
public
- $lookupLinks
- $oembedOptions
Methods
public
- convertPostContent() — Analyse a post and see if there's particular content that should be extracted
- convertUrl() — Convert a single URL, assumes $url has been verified to be a real URL
- extractTitle() — Extract a title from a given piece of content
- isImage()
- isWebpage() — Check whether a given URL is actually an html page