Skip to content

ArledgeMike/Meat-Grinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Meat-Grinder

Copy to HTML grinder

Version 1.01 - sausage

Take your copywriter's MS-word files and grind them into HTML

Included in the version is a test MS-Word doc for you to grind into HTML. Meat grinder uses the basic copy tags to help assist copywriters mark up copy docs correctly and give their developers an edge on a very extremely tedious process.

Marking up your MS-Word doc

Open MS-Word and start a new document. You can start a new .docx if you need the complete MS-WORD editing suite.

Add one of the supported tags to the beginning of any of your paragraphs. List of supported tags below.

If you want to add a comment to the document put the comment in brackets "[]". Text in these brackets will not be added to the html markup

How to make ordered/unordered lists

In MS-Word right click on the item you want turned into a bullet and select the bullet normal bullet type

Outputting your MS-Word doc

Save your .docx format to ensure everything is secure. Next go to "File -> Save As" and save this file as ".txt" with the default settings

Open command line and cd to the directory that has the meat grinder

type "ruby generator.rb" and this will start the grinder and follow the command prompts. Your new HTML markup will be ground out to the same folder with the new file name you gave it.

For the future

This little grinder is not perfect and is only limited by your copywriter's knowledge of HTML. One big deal is wrapping the "

  • /" tags in a UL/OL tag(something that must be done by hand for now)

  • About

    Turn your copy into HTML

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages