The feed import module handler. More...
Public Member Functions | |
setInfo () | |
process (string $do) | |
gui () | |
Public Member Functions inherited from Module | |
__construct () | |
init () | |
getURL (bool $escape=false) | |
process (string $do) | |
gui () | |
Protected Attributes | |
$status = false | |
$feed_url = '' | |
Protected Attributes inherited from Module | |
string | $import_url |
string | $export_url |
string | $url |
Private Member Functions | |
gethostbyname6 (string $host, bool $try_a=false) | |
gethostbynamel6 (string $host, bool $try_a=false) | |
Additional Inherited Members | |
Data Fields inherited from Module | |
string | $type |
string | $id |
string | $name |
string | $description |
Protected Member Functions inherited from Module | |
setInfo () | |
progressBar (float $percent) | |
autoSubmit () | |
congratMessage () | |
The feed import module handler.
|
private |
Get AAAA record for $host.
If $try_a is true, if AAAA fails, it tries for A The first match found is returned otherwise returns false
IPv6 functions (from https://gist.github.com/tbaschak/7866688)
string | $host | The host |
bool | $try_a | The try a |
References ModuleImportFeed\gethostbynamel6().
Referenced by ModuleImportFeed\process().
|
private |
Get AAAA records for $host.
If $try_a is true, if AAAA fails, it tries for A Results are returned in an array of ips found matching type otherwise returns false
string | $host | The host |
bool | $try_a | The try a |
Referenced by ModuleImportFeed\gethostbyname6().
setInfo | ( | ) |
process | ( | string | $do | ) |
References Core\auth(), Core\blog(), Html\clean(), Core\con(), Text\cutString(), ModuleImportFeed\gethostbyname6(), Module\getURL(), Core\meta(), Reader\quickParse(), Http\redirect(), and Date\strftime().
gui | ( | ) |
References Core\blog(), Html\escapeHTML(), Module\getURL(), form\hidden(), Core\nonce(), Notices\success(), and form\url().
|
protected |
Current status.
|
protected |
Feed URL.