Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.75 KB

README.markdown

File metadata and controls

49 lines (37 loc) · 1.75 KB

Symphony Page Crawler

Spiders a local or remote Symphony CMS powered website profiling pages and looking for problems.

Installation

Information about installing and updating extensions can be found in the Symphony documentation.

Requires the Advanced Symphony Database Connector(asdc) extension is installed. See 'http://github.com/pointybeard/asdc/'

Use the following SQL to install. Remember to replace tbl_ with your database prefix.

CREATE TABLE IF NOT EXISTS `tbl_crawler_pages` (
  `id` int(14) unsigned NOT NULL AUTO_INCREMENT,
  `session_id` int(14) unsigned NOT NULL,
  `parent_page_id` int(14) DEFAULT NULL,
  `datestamp` datetime NOT NULL,
  `location` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `http_code` int(4) NOT NULL,
  `content_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `time` float NOT NULL,
  `headers_raw` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `session_id` (`session_id`),
  KEY `parent_page_id` (`parent_page_id`)
);

CREATE TABLE IF NOT EXISTS `tbl_crawler_sessions` (
  `id` int(14) unsigned NOT NULL AUTO_INCREMENT,
  `datestamp` datetime NOT NULL,
  `location` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `time` double DEFAULT NULL,
  `status` enum('complete','in-progress','aborted','failed','unknown') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'unknown',
  PRIMARY KEY (`id`),
  KEY `location` (`location`)
);

Usage

Basics

TO DO