Documentation

EasyBlogFeedAdapterMapper extends EasyBlog
in package

Table of Contents

Properties

$app  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$input  : mixed
$jconfig  : mixed
$lang  : mixed
$my  : mixed
$string  : mixed

Methods

__construct()  : mixed
getError()  : mixed
getErrors()  : mixed
hasError()  : mixed
hasErrors()  : mixed
isImage()  : mixed
Given the mime, determine if the mime is an image
isMobile()  : mixed
Determines if this is a mobile layout
isTablet()  : mixed
Determines if this is a tablet layout
loadLanguage()  : mixed
Helper method to load language
map()  : mixed
Maps the feed item with a post item
mapContent()  : mixed
Maps the content
setError()  : mixed
convertRelativeToAbsoluteLinks()  : mixed
Convert relative links to absolute links
downloadImage()  : mixed
Performs image download from the RSS
getFullContent()  : mixed
Perform a connection to the blog post to get full content
getTitleFromLink()  : mixed
Some feed items doesn't have a title. We need to convert the link to the title
tidyContent()  : mixed
Tidy up the html contents

Properties

$app

public mixed $app = \null

$config

public mixed $config = \null

$db

public mixed $db = \null

$doc

public mixed $doc = \null

$input

public mixed $input = \null

$jconfig

public mixed $jconfig = \null

$lang

public mixed $lang = \null

$my

public mixed $my = \null

$string

public mixed $string = \null

Methods

__construct()

public __construct() : mixed

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

isImage()

Given the mime, determine if the mime is an image

public isImage(mixed $mime) : mixed
Parameters
$mime : mixed
Tags
since
5.3.3
access

public

isMobile()

Determines if this is a mobile layout

public isMobile() : mixed
Tags
since
5.1
access

public

isTablet()

Determines if this is a tablet layout

public isTablet() : mixed
Tags
since
5.3
access

public

loadLanguage()

Helper method to load language

public loadLanguage([mixed $admin = false ]) : mixed
Parameters
$admin : mixed = false
Tags
since
5.0
access

public

setError()

public setError(mixed $msg) : mixed
Parameters
$msg : mixed

Convert relative links to absolute links

private convertRelativeToAbsoluteLinks(mixed $content, mixed $absPath) : mixed
Parameters
$content : mixed
$absPath : mixed
Tags
since
4.0
access

public

downloadImage()

Performs image download from the RSS

private downloadImage(mixed $url, mixed $post[, mixed $html = true ]) : mixed
Parameters
$url : mixed
$post : mixed
$html : mixed = true
Tags
since
5.0
access

public

getFullContent()

Perform a connection to the blog post to get full content

private getFullContent(mixed &$url, mixed &$item[, mixed $retry = 0 ]) : mixed
Parameters
$url : mixed
$item : mixed
$retry : mixed = 0
Tags
since
5.2.5
access

public

Some feed items doesn't have a title. We need to convert the link to the title

private getTitleFromLink(mixed $link) : mixed
Parameters
$link : mixed
Tags
since
4.0
access

public

@return

tidyContent()

Tidy up the html contents

private tidyContent(mixed $html) : mixed
Parameters
$html : mixed
Tags
since
4.0
access

public

@return

        
On this page

Search results