Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prince-ruby

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prince-ruby

  • 0.3.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= PrinceXML Library for Ruby

Simple ruby library to utilise the princexml program. Based on the work done by Subimage Interactive - http://www.subimage.com

== Usage

file = "/tmp/file.pdf"
prince = Prince.new
prince.html2pdf_to_file("<p>hello world</p>", file)    

== PrinceXML

Prince is a computer program that converts XML and HTML into PDF documents. Prince can read many XML formats, including XHTML and SVG. Prince formats documents according to style sheets written in CSS.

http://www.princexml.com

== Notes

There is vast room for improvement. I've only done two methods I'll add to them as I need extra functionality I wanted a gem I could simply include in my sinatra / merb projects

== Copyright

Copyright (c) 2009 Nicholas Orr. See LICENSE for details.

FAQs

Package last updated on 16 Aug 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc