aboutsummaryrefslogtreecommitdiff
path: root/src/phinde/LinkInfo.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-02-10 14:56:20 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-02-10 14:56:20 +0100
commitcd02bac646f42a0cb402ff2dc8240aa01f1f0fb8 (patch)
tree8cc7ee5d841f868e38ccc0b54d8cc6d33a852ed7 /src/phinde/LinkInfo.php
parentf67e8f0bc3f51f2d280a86a8c7cffa68d812efe1 (diff)
downloadphinde-cd02bac646f42a0cb402ff2dc8240aa01f1f0fb8.tar.gz
phinde-cd02bac646f42a0cb402ff2dc8240aa01f1f0fb8.zip
rework crawler; add atom link extraction
Diffstat (limited to 'src/phinde/LinkInfo.php')
-rw-r--r--src/phinde/LinkInfo.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/phinde/LinkInfo.php b/src/phinde/LinkInfo.php
new file mode 100644
index 0000000..4e3980c
--- /dev/null
+++ b/src/phinde/LinkInfo.php
@@ -0,0 +1,17 @@
+<?php
+namespace phinde;
+
+class LinkInfo
+{
+ public $url;
+ public $title;
+ public $source;
+
+ public function __construct($url, $title = null, $source = null)
+ {
+ $this->url = $url;
+ $this->title = $title;
+ $this->source = $source;
+ }
+}
+?>