0.0
No commit activity in last 3 years
No release in over 3 years
Extracts title and author from project madurai site and create cover page generator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0

Runtime

 Project Readme

ProjectMadurai

http://projectmadurai.org/pmworks.html

Project madurai takes title and author of above url. it will create cover page image for each title and author.

How it works

It takes all title and author from above url using Nokogiri. For each title and author, it create html file and take screenshot with help of phantomjs

Previously I used RMagick ( or other image processing tool ) to create image. Font was not rendered properly with rmagick. See sample before.

If you faced same issue and you cracked it. Please guide us at sathia2704@gmail.com

Installation

Requires ruby >= 1.9.3

Installing Phantomjs. This is required*

Check how to install from below link http://phantomjs.org/download.html

Install project_madurai gem

$ gem install project_madurai

Usage

$ project_madurai extract

if you have custom image to be shown

$ project_madurai extract --image /path_of_image

Demo

Previous version with RMagick

alt text

Current version with PhantomJs

alt text

Contributing

  1. Fork it ( https://github.com/[my-github-username]/project_madurai/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request