ACE InCurl
Add-On
for Concrete5

 


 

  1. Overview / Features
  2. Requirements
  3. Installation
  4. Help
  5. Purchase / Download
  6. Support
  7. Examples
  8. Screen Shots
  9. License

 


 

 

Overview /  Features

ACE InCurl fetches, parses, rewrites and includes content from any url available via cURL PHP extension. This add-on facilitates easily integrating content, in whole or part, from existing websites or othe CMS'. InCurl has been used succesfully to integrate existing CMS admin pages written in other languages into the C5 framework easily and with little modification.

 

InCurl is a Concrete5 add-on Block type which allows for fetching a URL via cURL, and has the following features:

  • Access remote or local URLs
  • Access and cURL accessible scheme: HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TELNET, LDAP, LDAPS, DICT, FILE, TFTP
  • Access password protected content
  • Rewrite links, image, script and form locations of relative URLs in remote content
  • Access partial content via XPath query string: For example, InCurl can get a whole page or just a div based on id.
  • Cache content based on timed cache interval settings
  • Customize cURL options easily
  •  

     


     

    Requirements

    1. Concrete5 5.3.0+
    2. PHP 5
    3. PHP cURL Support
    4. PHP XPath/DOM Support

    .


     

    Installation

    Installation should be automated via the C5 Add Functionality area, otherwise simply inflate zip into the concrete/packages directory.

     

     


     

    Help

     

    STANDARD SETTINGS

    Source: Whether you are fetching locally (a page on this C5 server) or remotely (any other server). Note: Local URLs are fetched as http://$_SERVER['SERVER_NAME']/[VALUE ENTERED]

    URL: The relative (local) or absolute (remote) url to cURL fetch.

    Rewrite Links: Rewrite all relative links, including scripts, forms, images, areas, inputs to include the scheme and host of the requested URL.

     

     

    ADVANCED SETTINGS

    XPath Parser: To include a div or node use an XPath query expression, e.g. "*/div[@id='gbar']" (no quotes) fetches just the div with id='gbar'

    Cache Interval: Life of the cache, to be renewed every X minutes|hours|days with another request. 0 caches forever after initial request.

    cURL Options: Pass argument pairs as cURL_OPTS, e.g. CURLOPT_REFERER => "http://www.ace4it.com/in_curl",CURLOPT_USERAGENT=> "MyInCurl"

    GENERAL NOTES

    CSS can conflict and kill C5 Admin CSS - be careful what you cURL


    Support

    Free support included for 30 days with purchase by contacting support@ace4it.com

     



    Purchase / Download

    To purchase contact support@ace4it.com or purchase via the Concrete 5 Marketplace.

     

     


     

    Copyright 2009 Adam Stubbs, Advantage Communication Enterprises, Inc. (concrete5@ace4it.com) All rights reserved.