19
QED reddō - Purushotam Kumar Rai

QED Reddo

Embed Size (px)

Citation preview

Page 1: QED Reddo

QED reddō- Purushotam Kumar Rai

Page 2: QED Reddo

Agenda

‣ Introduction

‣ Inspiration

‣ Solutions

‣ Questions if any

Page 3: QED Reddo

Introduction

‣ Recovery Password

‣ Wget Static

‣ Quora - Related Questions/Posts

‣ Republish

‣ XPath - Content Importer

Page 4: QED Reddo

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

Page 5: QED Reddo

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

Page 6: QED Reddo

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

Page 7: QED Reddo

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

Page 8: QED Reddo

‣ 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

Page 9: QED Reddo

Wget static screenshot

Page 10: QED Reddo

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

Page 11: QED Reddo

‣ 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

Page 12: QED Reddo

Quora - Screenshot

Page 13: QED Reddo

Future Enhancements - Quora

‣ Caching Per Node

‣ D8 Port

Page 14: QED Reddo

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

Page 15: QED Reddo

‣ 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

Page 16: QED Reddo

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.

Page 17: QED Reddo

‣ 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

Page 18: QED Reddo

Thank You ! Questions?

Page 19: QED Reddo

Code Sprint

-at QED42on

Dec 5Dec 5Dec 5