QED Reddo

Preview:

Citation preview

QED reddō- Purushotam Kumar Rai

Agenda

‣ Introduction

‣ Inspiration

‣ Solutions

‣ Questions if any

Introduction

‣ Recovery Password

‣ Wget Static

‣ Quora - Related Questions/Posts

‣ Republish

‣ XPath - Content Importer

Recovery Password - Email New password

‣ Why this module?

Requirement in :-> Password Reset Mail should contain New Password

‣ Module in brief:-> Alters default Drupal password reset process -> Sends new password (randomly generated) in recovery mail itself

Workflow - Recovery Password

Alter user_pass formAlter user_pass form

Store the old password Store the old password

Alter User Login ValidatorsAlter User Login Validators

Validate Input Password

Validate Input Password

Generate & Mail New Password

Generate & Mail New Password

Recovery Password

‣ Important Features :-> Configurable Mail-> Supports HTML Mail-> Configurable Redirect Path-> Old Password Warning - Configurable

‣ Disadvantage and so disclaimer:-> Less Secured-> Immediate Password Change

‣ Future Enhancements:-> Limit Password Reset Trials

Wget Static‣ Why this module ?

-> Generate Static HTML using Wget application-> Save to Remote Server

‣ Module Brief:-> Integrates Wget Application with Drupal -> Generate HTML & download/save to FTP

‣ Module Requirements:-> Shell Execution Access for Drupal-> Wget Application installed on server

‣ Use case:When static html of node/internal url or whole website is needed

‣ Wget Workflow:

Content Selection - Supports Query Parameters

Content Selection - Supports Query Parameters

Wget Advanced Options- how to run wget?

Wget Advanced Options- how to run wget?

Download Zip / Save files to Remote server

(Compressed/Decompressed)

Download Zip / Save files to Remote server

(Compressed/Decompressed)

Wget Debug Mode - For Troubleshooting

Wget Debug Mode - For Troubleshooting

1. Directory2. HTTP/HTTPS3. Recursive Retrieval4. Accept/Reject

Wget static screenshot

Quora - Related Posts/Questions

‣ Inspiration:Curiosity

‣ Module Brief:-> Uses Google's Custom Search Engine (CSE) API -> Fetch Quora questions/posts related to content -> Display them in a block or Ctools plugin

‣ Features:-> Supports Ctools-> Flexibility through various configurations

‣ Quora Module - Workflow

Collect terms from contentCollect terms from content

Preprocess terms and build Query

Preprocess terms and build Query

Use google CSE Api to fetch Results

Use google CSE Api to fetch Results

Display them in block/widgetDisplay them in block/widget

Quora - Screenshot

Future Enhancements - Quora

‣ Caching Per Node

‣ D8 Port

Republish - Node Content in an overlay

‣ Why This Module ?-> Republish Article Posts as HTML -> Knowledge Sharing and Branding of Cactus Insights

‣ Module in Brief:-> Republish button for end user -> Republish the content of a node in an overlay

‣ Use Case:-> Simple version of embed feature for branding/sharing content

‣ Important Points:-> Can be used in two ways: -> Using Block -> Using CTOOLS Plugin

‣ Workflow:

Detect Node - URL ContextDetect Node - URL Context

Parse ConfigurationsParse Configurations

Build content using tokensBuild content using tokens

Load content in the blockLoad content in the block

Handle using js and cssHandle using js and css

XPath - Content Importer

‣ Module Brief:The module focuses on importing or extraction of data from external URL based on XPath query

‣ Business Use Case:Creating content using other websites dataSimple scenario: Sites using other websites data can use this module for scrabbling

Module is in development

stage.

Module is in development

stage.

‣ Basic Workflow - XPath Content Importer

Mapping of fieldsMapping of fields

Verification of XPath’s on sample URL

Verification of XPath’s on sample URL

Provide all URL’s to extract data & create nodes

Provide all URL’s to extract data & create nodes

Thank You ! Questions?

Code Sprint

-at QED42on

Dec 5Dec 5Dec 5