sponsor Vim development Vim logo Vim Book Ad

html_emogrifier.vim : Create HTML email from HTML and linked CSS

 script karma  Rating -1/1, Downloaded by 189    Comments, bugs, improvements  Vim wiki

created by
 
script type
ftplugin
 
description
Inserts CSS rules from a stylesheet into a HTML page to create HTML email. Requires cURL and  a PHP-supported webserver.

====================
Usage/Configuration:
====================
1. Copy the emogrifier/ directory to your localhost's or your website's public directory.

2. Define g:emogrifier_interface in your .vimrc with the location of the run.php script.
Example:
let g:emogrifier_interface = 'http://localhost/emogrifier/run.php'

3. Run :Emogrify on any HTML file with linked CSS to get an email-friendly version.

4. The email-friendly version will be saved into the same directory as the original HTML file.
 
install details
1. Extract the archive.
2. Copy the ftplugin/ directory to ~/.vim on Linux/MacOSX or $HOME\vimfiles on Windows.
3. Copy the emogrifier/ directory to your localhost's or your website's public directory.
4. Define g:emogrifier_interface in your .vimrc with the location of the run.php script.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
emogrifier.vim.zip 1.0.1 2011-08-24 7.3 Move script to autoload. Better pattern matching.
ip used for rating: 54.211.0.191

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo