Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davecranwell committed Oct 28, 2015
1 parent 4e39c36 commit c2c5ebe
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Inline Styler is the small Django app behind http://inlinestyler.torchbox.com
# Inline Styler makes your CSS compatible with email clients.

Try it here: http://inlinestyler.torchbox.com

It's a service which, when given a block of HTML including CSS, will parse the CSS and convert it to inline `style=""` attributes on each elements matched by the CSS rules found.

Expand All @@ -13,14 +15,11 @@ To use this app, CSS you wish to be "inlined" must be declared in the HTML eithe
- linked absolutely e.g `<link rel="stylesheet" href="http://mysite.com/styles.css" />` or
- provided in a `<style>` block in the `<head>` of the HTML, without `@imports`

## Python requirements:
## Self-hosting requirements:

- lxml: http://lxml.de/
- cssutils: http://pypi.python.org/pypi/cssutils

## Other requirements

`css_compliance.csv`: generated by hand from the "complete guide" Excel spreadsheet from Campaign Monitor http://www.campaignmonitor.com/css/. This requires periodic updates as campaign monitor release updates to their spreadsheet. If you edit the existing css_compliance.csv and compare it to the Excel spreadsheet you download from CM, the essential differences are that the XLS has been stripped of formatting, blank lines or duplicate groups of selector/element information.
- `css_compliance.csv`: generated by hand from the "complete guide" Excel spreadsheet from Campaign Monitor http://www.campaignmonitor.com/css/. This requires periodic updates as campaign monitor release updates to their spreadsheet. If you edit the existing `css_compliance.csv` and compare it to the Excel spreadsheet you download from CM, the essential differences are that the XLS has been stripped of formatting, blank lines or duplicate groups of selector/element information.

## Support

Expand Down

0 comments on commit c2c5ebe

Please sign in to comment.