<commit_before>h1. Mockup to HTML conversion routines

h2. What it is

A set of routines built around the file mockup.rb.

Usage: mockup [ options ]
    -p, --pasteboard                 Use pasteboard rather than file
    -n, --name [basename]            Basename for files created by exporter
    -s, --source [filename]          File to use rather than pasteboard
    -h, --help                       You're looking at it

Allows you to convert from Balsamiq Mockup's XML file to HTML, css, and Javascript.

h2. "But, why?" you ask

I needed something fun to do as a general learning project for Ruby, BDD, rspec, autotest, etc.  I think Mockups is awesome, so though parsing the XML files would be a good exercise.  Plus, I can imagine some cases where being able to go straight to HTML would make Mockups even more useful.

This is unlikely to be worked on again, but was fun to write.

h2. License

Copyright (c) 2008-2009 <NAME>

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
<commit_msg>added link to balsamiq<commit_after>h1. Mockup to HTML conversion routines

h2. What it is

A set of routines built around the file mockup.rb.

Usage: mockup [ options ]
    -p, --pasteboard                 Use pasteboard rather than file
    -n, --name [basename]            Basename for files created by exporter
    -s, --source [filename]          File to use rather than pasteboard
    -h, --help                       You're looking at it

Allows you to convert from "Balsamiq Mockup's":http://www.balsamiq.com/products/mockups XML file to HTML, css, and Javascript.

h2. "But, why?" you ask

I needed something fun to do as a general learning project for Ruby, BDD, rspec, autotest, etc.  I think Mockups is awesome, so though parsing the XML files would be a good exercise.  Plus, I can imagine some cases where being able to go straight to HTML would make Mockups even more useful.

This is unlikely to be worked on again, but was fun to write.

h2. License

Copyright (c) 2008-2009 <NAME>

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

{'fraction_non_alphanumeric': 0.057569296375266525, 'fraction_numerical': 0.008528784648187633, 'mean_word_length': 3.2911585365853657, 'pattern_counts': {'":': 1, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7098425', 'n_tokens_mistral': 784, 'n_tokens_neox': 737, 'n_words': 423}