Projects

Some of our recent projects. Fell free to download and comment.

Readability

Readability

Web content extraction with largest-image detection

Web Content Extraction Utility

A streamlined web scraping utility that extracts clean article content and automatically detects the primary image through dimensional analysis. The tool processes web pages into structured JSON output, making it ideal for content aggregation and analysis pipelines.

How It Works

The utility employs a two-step process to extract and structure web content:

Content Extraction

Analyzes webpage DOM structure to identify and extract the main article content, stripping away navigation elements, sidebars, and other non-essential components. The extraction process preserves the semantic structure of the content while removing clutter.

JavaScript date picker

Different approach to datepicker component

It’s a very simple prototype of alternative approach to date picker. The goal is to provide easiest way to pick date from very wide range of dates (1800-2099).

Written in pure JavaScript – no dependencies.

demo.spidersoft.com.au/dp/

Date Picker

Phalcon cheat sheet

Disable view

$this->view->disable();

Change main view

$this->view->setMainView('public');

Set headears

$this->response->setContentType('text/plain')->sendHeaders();

 

Registering Router instance

404 on Micro application

$app->notFound(
    function () use ($app) {
        $app->response->setStatusCode(404, "Not Found")->sendHeaders();
        echo 'This is crazy, but this page was not found!';
    }
);
CodeIgniter IMG – thumbnails

CodeIgniter IMG – thumbnails

CodeIgniter library to generate high-quality thumbnails

A library is based on excellent * Smarty plugin “Thumb” * created in 2005 by Christoph Erdmann. This version is a little bit different, we are using the core from Thumb, and some modification which gives more flexibility to work with it.

Features

  • thumbnails are generated “on the fly” no additional actions required,
  • cache for generated thumbnails,
  • a clear structure for generated thumbnails,
  • thumbnails sharpening function,
  • cropping function,
  • fill space function

Usage

You need to upload a file img.php into directory: application/libraries In controller, you need to load library: